From: Rastislav Cernay <cer...@netcope.com> Add support for Silicom FB2CGG3 smart NIC
Signed-off-by: Rastislav Cernay <cer...@netcope.com> --- drivers/net/nfb/nfb.h | 3 +++ drivers/net/nfb/nfb_ethdev.c | 2 ++ 2 files changed, 5 insertions(+) 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 fdd0e70..7782195 100644 --- a/drivers/net/nfb/nfb_ethdev.c +++ b/drivers/net/nfb/nfb_ethdev.c @@ -527,6 +527,8 @@ { 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, } }; -- 1.8.3.1