diff mbox series

[for-next] RDMA/hns: Add new PCI device ID matching for HIP09

Message ID 1605187184-26079-1-git-send-email-liweihang@huawei.com (mailing list archive)
State Accepted
Commit 31e2daa17ed9684e73a1e8e5080b70b0230bf59a
Headers show
Series [for-next] RDMA/hns: Add new PCI device ID matching for HIP09 | expand

Commit Message

Weihang Li Nov. 12, 2020, 1:19 p.m. UTC
From: Lang Cheng <chenglang@huawei.com>

The 200G device has a new device ID 0xA228, add it to the PCI table.

Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
---
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
index 83842cd..dfb7bb7 100644
--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
+++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
@@ -6325,6 +6325,7 @@  static const struct pci_device_id hns_roce_hw_v2_pci_tbl[] = {
 	{PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_50GE_RDMA), 0},
 	{PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_50GE_RDMA_MACSEC), 0},
 	{PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_100G_RDMA_MACSEC), 0},
+	{PCI_VDEVICE(HUAWEI, HNAE3_DEV_ID_200G_RDMA), 0},
 	/* required last entry */
 	{0, }
 };