Skip to contentSkip to conversation

net/szedata2: add Silicom Mango support

PATCH Applied Rastislav Cernay 3 participants 5 messages Jun 13, 2019 – Jul 1, 2019 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/szedata2: add Silicom Mango support

From: Rastislav Cernay <[email protected]>

Add support for Silicom FB2CGG3 smart NIC

---
 drivers/net/szedata2/rte_eth_szedata2.c | 8 ++++++++
 drivers/net/szedata2/rte_eth_szedata2.h | 3 +++
 2 files changed, 11 insertions(+)
drivers/net/szedata2/rte_eth_szedata2.c +8 -0
index 99de9f4..0e9da47 100644
@@ -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,
 	}
 };
drivers/net/szedata2/rte_eth_szedata2.h +3 -0
index 26a82b3..6453ea0 100644
@@ -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
Signature · 1 line
1.8.3.1
Applied
#1 lore raw
Quoted 5 lines · Rastislav Cernay

From: Rastislav Cernay <[email protected]>

Add support for Silicom FB2CGG3 smart NIC

Applied to dpdk-next-net/master, thanks.

(But this requires Ack from maintainer, Jan if you agree please ack the patch, or I will drop from the tree)

Similar to nfb, is this requires any release notes or web update, because of the new device support? If so please send the them. I can squash doc path later.

Acked-by
#2 lore raw
Quoted 8 lines · Ferruh Yigit
Quoted 5 lines · Rastislav Cernay

From: Rastislav Cernay <[email protected]>

Add support for Silicom FB2CGG3 smart NIC

Quoted 9 lines

Applied to dpdk-next-net/master, thanks.

(But this requires Ack from maintainer, Jan if you agree please ack the patch, or I will drop from the tree)

Similar to nfb, is this requires any release notes or web update, because of the new device support? If so please send the them. I can squash doc path later.

We should cover in the documentation, which cards are supported. I have talked to Rasto and he will send a subsequent patch for the documentation, addressing both our PMDs.

Also, he and I will co-maintain both "szedata2" and "nfb" PMDs - I will send a patch for the MAINTAINERS file.

BR,
Jan

#3 lore raw
Quoted 15 lines · Jan Remeš
Quoted 14 lines · Ferruh Yigit
Quoted 5 lines · Rastislav Cernay

From: Rastislav Cernay <[email protected]>

Add support for Silicom FB2CGG3 smart NIC

Applied to dpdk-next-net/master, thanks.

(But this requires Ack from maintainer, Jan if you agree please ack the patch, or I will drop from the tree)

Quoted 5 lines
Quoted 3 lines

Similar to nfb, is this requires any release notes or web update, because of the new device support? If so please send the them. I can squash doc path later.

I will add the ack to the commit in next-net

Quoted 4 lines

We should cover in the documentation, which cards are supported. I have talked to Rasto and he will send a subsequent patch for the documentation, addressing both our PMDs.

I will wait for this patch to squash into existing one, thanks.

Quoted 7 lines

Also, he and I will co-maintain both "szedata2" and "nfb" PMDs - I will send a patch for the MAINTAINERS file.

BR,
Jan

#4 lore raw

Hi, I sent patches for both nfb and szedata2 with the documentation update.

Patches:
https://patches.dpdk.org/patch/55764/
https://patches.dpdk.org/patch/55763/

*Rastislav Černay I Software DeveloperNetcope Technologies, a.s.T: +420 530 510 680 <+420%20530%20510%20680>A: Sochorova 3232/34, Brno, 616 00, Czech Republic
<https://maps.google.com/?q=Sochorova+3232/34,+Brno,+616+00,%C2%A0Czech+Republic&entry=gmail&source=g>W:
www.netcope.com
<https://www.netcope.com/> <https://www.netcope.com/>*

Quoted 44 lines · Ferruh Yigit
Quoted 1 line · Jan Remeš

On Thu, Jun 27, 2019 at 7:49 PM Ferruh Yigit <[email protected]>

Quoted 11 lines · wrote:
Quoted 11 lines · Rastislav Cernay
Quoted 5 lines

From: Rastislav Cernay <[email protected]>

Add support for Silicom FB2CGG3 smart NIC

Applied to dpdk-next-net/master, thanks.

(But this requires Ack from maintainer, Jan if you agree please ack the

patch,

Quoted 4 lines
Quoted 4 lines

or I will drop from the tree)

Similar to nfb, is this requires any release notes or web update,

because of the

Quoted 1 line
Quoted 1 line

new device support? If so please send the them. I can squash doc path

later.

Quoted 3 lines
Quoted 1 line

I will add the ack to the commit in next-net

Quoted 4 lines

We should cover in the documentation, which cards are supported. I have talked to Rasto and he will send a subsequent patch for the documentation, addressing both our PMDs.

I will wait for this patch to squash into existing one, thanks.

Quoted 7 lines

Also, he and I will co-maintain both "szedata2" and "nfb" PMDs - I will send a patch for the MAINTAINERS file.

BR,
Jan