net/bnxt: add PCI IDs for 57500 series NPAR devices
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 24 Oct 2019 07:44:29 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:23 +0000 (19:23 +0200)
Add PCI IDs for 57500 series NPAR devices

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c

index ffc37ea..9901ba9 100644 (file)
 #define BROADCOM_DEV_ID_57508          0x1750
 #define BROADCOM_DEV_ID_57504          0x1751
 #define BROADCOM_DEV_ID_57502          0x1752
+#define BROADCOM_DEV_ID_57508_MF1      0x1800
+#define BROADCOM_DEV_ID_57504_MF1      0x1801
+#define BROADCOM_DEV_ID_57502_MF1      0x1802
+#define BROADCOM_DEV_ID_57508_MF2      0x1803
+#define BROADCOM_DEV_ID_57504_MF2      0x1804
+#define BROADCOM_DEV_ID_57502_MF2      0x1805
 #define BROADCOM_DEV_ID_57500_VF1      0x1806
 #define BROADCOM_DEV_ID_57500_VF2      0x1807
 #define BROADCOM_DEV_ID_58802          0xd802
index 4187247..0bed4a2 100644 (file)
@@ -83,6 +83,12 @@ static const struct rte_pci_id bnxt_pci_id_map[] = {
        { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57502) },
        { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57500_VF1) },
        { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57500_VF2) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57508_MF1) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57504_MF1) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57502_MF1) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57508_MF2) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57504_MF2) },
+       { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57502_MF2) },
        { .vendor_id = 0, /* sentinel */ },
 };