summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRastislav Cernay <cernay@netcope.com>2019-06-13 14:33:41 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-03 12:57:30 +0200
commitf37c57a1a33027e8e3a686107f3b8feb13c132ba (patch)
tree88f7b39f39f06a454fddc3e40af929003ccb2fc5
parent6595e2f72e263a4741a6e5d854baedd440f9bd4b (diff)
downloaddpdk-f37c57a1a33027e8e3a686107f3b8feb13c132ba.zip
dpdk-f37c57a1a33027e8e3a686107f3b8feb13c132ba.tar.gz
dpdk-f37c57a1a33027e8e3a686107f3b8feb13c132ba.tar.xz
net/nfb: support Silicom Mango card
Add support for Silicom FB2CGG3 smart NIC Signed-off-by: Rastislav Cernay <cernay@netcope.com>
-rw-r--r--doc/guides/nics/nfb.rst6
-rw-r--r--drivers/net/nfb/nfb.h3
-rw-r--r--drivers/net/nfb/nfb_ethdev.c2
3 files changed, 8 insertions, 3 deletions
diff --git a/doc/guides/nics/nfb.rst b/doc/guides/nics/nfb.rst
index 8df76c0..3d93904 100644
--- a/doc/guides/nics/nfb.rst
+++ b/doc/guides/nics/nfb.rst
@@ -6,9 +6,9 @@ NFB poll mode driver library
=================================
The NFB poll mode driver library implements support for the Netcope
-FPGA Boards (**NFB-***), FPGA-based programmable NICs.
-The NFB PMD uses interface provided by the libnfb library to communicate
-with the NFB cards over the nfb layer.
+FPGA Boards (**NFB-40G2, NFB-100G2, NFB-200G2QL**) and Silicom **FB2CGG3** card,
+FPGA-based programmable NICs. The NFB PMD uses interface provided by the libnfb
+library to communicate with these cards over the nfb layer.
More information about the
`NFB cards <http://www.netcope.com/en/products/fpga-boards>`_
diff --git a/drivers/net/nfb/nfb.h b/drivers/net/nfb/nfb.h
index fe9fb96..9d477ba 100644
--- a/drivers/net/nfb/nfb.h
+++ b/drivers/net/nfb/nfb.h
@@ -17,11 +17,14 @@
/* PCI Vendor ID */
#define PCI_VENDOR_ID_NETCOPE 0x1b26
+#define PCI_VENDOR_ID_SILICOM 0x1c2c
/* PCI Device IDs */
#define PCI_DEVICE_ID_NFB_40G2 0xcb80
#define PCI_DEVICE_ID_NFB_100G2 0xc2c1
#define PCI_DEVICE_ID_NFB_200G2QL 0xc250
+#define PCI_DEVICE_ID_FB2CGG3 0x00d0
+#define PCI_DEVICE_ID_FB2CGG3D 0xc240
/* Max index of ndp rx/tx queues */
#define RTE_ETH_NDP_MAX_RX_QUEUES 32
diff --git a/drivers/net/nfb/nfb_ethdev.c b/drivers/net/nfb/nfb_ethdev.c
index 6f77864..3472a8d 100644
--- a/drivers/net/nfb/nfb_ethdev.c
+++ b/drivers/net/nfb/nfb_ethdev.c
@@ -525,6 +525,8 @@ static const struct rte_pci_id nfb_pci_id_table[] = {
{ RTE_PCI_DEVICE(PCI_VENDOR_ID_NETCOPE, PCI_DEVICE_ID_NFB_40G2) },
{ RTE_PCI_DEVICE(PCI_VENDOR_ID_NETCOPE, PCI_DEVICE_ID_NFB_100G2) },
{ RTE_PCI_DEVICE(PCI_VENDOR_ID_NETCOPE, PCI_DEVICE_ID_NFB_200G2QL) },
+ { RTE_PCI_DEVICE(PCI_VENDOR_ID_SILICOM, PCI_DEVICE_ID_FB2CGG3) },
+ { RTE_PCI_DEVICE(PCI_VENDOR_ID_SILICOM, PCI_DEVICE_ID_FB2CGG3D) },
{ .vendor_id = 0, }
};