DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/szedata2: add Silicom Mango support
@ 2019-06-13 13:01 Rastislav Cernay
  2019-06-27 17:49 ` Ferruh Yigit
  0 siblings, 1 reply; 5+ messages in thread
From: Rastislav Cernay @ 2019-06-13 13:01 UTC (permalink / raw)
  To: dev; +Cc: cernay, remes

From: Rastislav Cernay <cernay@netcope.com>

Add support for Silicom FB2CGG3 smart NIC

Signed-off-by: Rastislav Cernay <cernay@netcope.com>
---
 drivers/net/szedata2/rte_eth_szedata2.c | 8 ++++++++
 drivers/net/szedata2/rte_eth_szedata2.h | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_szedata2.c
index 99de9f4..0e9da47 100644
--- a/drivers/net/szedata2/rte_eth_szedata2.c
+++ b/drivers/net/szedata2/rte_eth_szedata2.c
@@ -1569,6 +1569,14 @@ struct szedata2_tx_queue {
 				PCI_DEVICE_ID_NETCOPE_NFB200G2QL)
 	},
 	{
+		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,
 	}
 };
diff --git a/drivers/net/szedata2/rte_eth_szedata2.h b/drivers/net/szedata2/rte_eth_szedata2.h
index 26a82b3..6453ea0 100644
--- a/drivers/net/szedata2/rte_eth_szedata2.h
+++ b/drivers/net/szedata2/rte_eth_szedata2.h
@@ -13,12 +13,15 @@
 
 /* PCI Vendor ID */
 #define PCI_VENDOR_ID_NETCOPE 0x1b26
+#define PCI_VENDOR_ID_SILICOM 0x1c2c
 
 /* PCI Device IDs */
 #define PCI_DEVICE_ID_NETCOPE_COMBO80G 0xcb80
 #define PCI_DEVICE_ID_NETCOPE_COMBO100G 0xc1c1
 #define PCI_DEVICE_ID_NETCOPE_COMBO100G2 0xc2c1
 #define PCI_DEVICE_ID_NETCOPE_NFB200G2QL 0xc250
+#define PCI_DEVICE_ID_FB2CGG3 0x00d0
+#define PCI_DEVICE_ID_FB2CGG3D 0xc240
 
 /* szedata2_packet header length == 4 bytes == 2B segment size + 2B hw size */
 #define RTE_SZE2_PACKET_HEADER_SIZE 4
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-01 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 13:01 [dpdk-dev] [PATCH] net/szedata2: add Silicom Mango support Rastislav Cernay
2019-06-27 17:49 ` Ferruh Yigit
2019-06-28 14:08   ` Jan Remeš
2019-06-28 15:35     ` Ferruh Yigit
2019-07-01 13:12       ` Rastislav Černay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).