RDMA/hns: Add new PCI device ID matching for HIP09
authorLang Cheng <chenglang@huawei.com>
Thu, 12 Nov 2020 13:19:44 +0000 (21:19 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 16 Nov 2020 20:46:59 +0000 (16:46 -0400)
The 200G device has a new device ID 0xA228, add it to the PCI table.

Link: https://lore.kernel.org/r/1605187184-26079-1-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c

index 4d697e4..4b82912 100644 (file)
@@ -6327,6 +6327,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, }
 };