Skip to contentSkip to conversation

common/mlx5: add ConnectX-10 SmartNIC

PATCH Superseded Raslan Darawsheh 1 participant 3 messages Apr 19 – May 10

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/mlx5: add ConnectX-10 SmartNIC

This adds the ConnectX-10 SmartNIC device ID to the list of NVIDIA devices that run the mlx5 drivers. The device is still in development stage.

---
 drivers/common/mlx5/mlx5_common.h | 1 +
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 drivers/net/mlx5/mlx5.c           | 4 ++++
 3 files changed, 9 insertions(+)
drivers/common/mlx5/mlx5_common.h +1 -0
index 47fcc3fb06..b8f0235f47 100644
@@ -155,6 +155,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD3 = 0Xa2dc,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX8 = 0x1023,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX9 = 0x1025,
+	PCI_DEVICE_ID_MELLANOX_CONNECTX10 = 0x1027,
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD4 = 0xa2df,
 };
 
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 240e8bb858..e974297961 100644
@@ -491,6 +491,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_CONNECTX9)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_CONNECTX10)
+		},
 		{
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_BLUEFIELD4)
drivers/net/mlx5/mlx5.c +4 -0
index c24c9b306d..bf19364a07 100644
@@ -3921,6 +3921,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_CONNECTX9)
 	},
+	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX10)
+	},
 	{
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_BLUEFIELD4)
Signature · 1 line
2.53.0
#1 lore raw

PATCH v2 1/1 common/mlx5: add ConnectX-10 SmartNIC

This adds the ConnectX-10 SmartNIC device ID to the list of NVIDIA devices that run the mlx5 drivers. The device is still in development stage.

--
v2: changing order of devices
--

---
 drivers/common/mlx5/mlx5_common.h | 1 +
 drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++
 drivers/net/mlx5/mlx5.c           | 4 ++++
 3 files changed, 9 insertions(+)
drivers/common/mlx5/mlx5_common.h +1 -0
index 47fcc3fb06..3e66c9e6c8 100644
@@ -156,6 +156,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX8 = 0x1023,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX9 = 0x1025,
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD4 = 0xa2df,
+	PCI_DEVICE_ID_MELLANOX_CONNECTX10 = 0x1027,
 };
 
 /* Maximum number of simultaneous unicast MAC addresses. */
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index 240e8bb858..dd0aabb6d7 100644
@@ -495,6 +495,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_BLUEFIELD4)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_CONNECTX10)
+		},
 		{
 			.vendor_id = 0
 		}
drivers/net/mlx5/mlx5.c +4 -0
index c24c9b306d..f190654756 100644
@@ -3925,6 +3925,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_BLUEFIELD4)
 	},
+	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX10)
+	},
 	{
 		.vendor_id = 0
 	}
Signature · 1 line
2.53.0
#2 lore raw

Hi,

Quoted 7 lines · Raslan Darawsheh

This adds the ConnectX-10 SmartNIC device ID to the list of NVIDIA devices that run the mlx5 drivers. The device is still in development stage.

--
v2: changing order of devices

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh