net/nfb: support Silicom Mango card

Add support for Silicom FB2CGG3 smart NIC

Signed-off-by: Rastislav Cernay <cernay@netcope.com>
This commit is contained in:
Rastislav Cernay 2019-06-13 14:33:41 +02:00 committed by Ferruh Yigit
parent 6595e2f72e
commit f37c57a1a3
3 changed files with 8 additions and 3 deletions

View File

@ -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>`_

View File

@ -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

View File

@ -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, }
};