Skip to contentSkip to conversation

bnxt: Add new device ids

PATCH Applied Ajit Khaparde 2 participants 3 messages Apr 26, 2017 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 bnxt: Add new device ids

Add support for new device ids.

v2:
Send an updated doc/guides/nics/bnxt.rst along with this.

---
 drivers/net/bnxt/bnxt_ethdev.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/bnxt/bnxt_ethdev.c +4 -0
index 5dc3ff0..7805221 100644
@@ -60,6 +60,8 @@ static const char bnxt_version[] =
 
 #define PCI_VENDOR_ID_BROADCOM 0x14E4
 
+#define BROADCOM_DEV_ID_STRATUS_NIC 0x1614
+#define BROADCOM_DEV_ID_57414_VF 0x16c1
 #define BROADCOM_DEV_ID_57301 0x16c8
 #define BROADCOM_DEV_ID_57302 0x16c9
 #define BROADCOM_DEV_ID_57304_PF 0x16ca
@@ -94,6 +96,8 @@ static const char bnxt_version[] =
 #define BROADCOM_DEV_ID_57416_MF 0x16ee
 
 static const struct rte_pci_id bnxt_pci_id_map[] = {
+	{ RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_STRATUS_NIC) },
+	{ RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57414_VF) },
 	{ RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57301) },
 	{ RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57302) },
 	{ RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, BROADCOM_DEV_ID_57304_PF) },
Signature · 1 line
2.10.1 (Apple Git-78)
#1 lore raw

PATCH v2 2/2 doc: update bnxt.rst

Update the product family and supported speeds in bnxt.rst

---
 doc/guides/nics/bnxt.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/guides/nics/bnxt.rst +2 -2
index ad33cd5..9826b35 100644
@@ -32,10 +32,10 @@ BNXT Poll Mode Driver
 
 The bnxt poll mode library (**librte_pmd_bnxt**) implements support for:
 
-  * **Broadcom NetXtreme-C®/NetXtreme-E® BCM5730X and BCM5740X family of
+  * **Broadcom NetXtreme-C®/NetXtreme-E® BCM5730X and BCM574XX family of
     Ethernet Network Controllers**
 
-    These adapters support Standards compliant 10/25/50Gbps 30MPPS
+    These adapters support Standards compliant 10/25/50/100Gbps 30MPPS
     full-duplex throughput.
 
     Information about the NetXtreme family of adapters can be found in the
Signature · 1 line
2.10.1 (Apple Git-78)