Skip to contentSkip to conversation

common/mlx5: add ConnectX-10 NVLink-C2C device ID

PATCH In review Raslan Darawsheh 1 participant 2 messages Jun 22 – Jun 24

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

PATCH 1/1 common/mlx5: add ConnectX-10 NVLink-C2C device ID

This adds the ConnectX-10 NVLink-C2C 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 3e66c9e6c8..3767020823 100644
@@ -157,6 +157,7 @@ enum {
 	PCI_DEVICE_ID_MELLANOX_CONNECTX9 = 0x1025,
 	PCI_DEVICE_ID_MELLANOX_BLUEFIELD4 = 0xa2df,
 	PCI_DEVICE_ID_MELLANOX_CONNECTX10 = 0x1027,
+	PCI_DEVICE_ID_MELLANOX_CONNECTX10C2C = 0x2101,
 };
 
 /* Maximum number of simultaneous unicast MAC addresses. */
drivers/crypto/mlx5/mlx5_crypto.c +4 -0
index dd0aabb6d7..c9aa858a54 100644
@@ -499,6 +499,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
 			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 					PCI_DEVICE_ID_MELLANOX_CONNECTX10)
 		},
+		{
+			RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+					PCI_DEVICE_ID_MELLANOX_CONNECTX10C2C)
+		},
 		{
 			.vendor_id = 0
 		}
drivers/net/mlx5/mlx5.c +4 -0
index 61c26d1206..3fa38694e5 100644
@@ -3936,6 +3936,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
 				PCI_DEVICE_ID_MELLANOX_CONNECTX10)
 	},
+	{
+		RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+				PCI_DEVICE_ID_MELLANOX_CONNECTX10C2C)
+	},
 	{
 		.vendor_id = 0
 	}
Signature · 1 line
2.53.0
#1 lore raw

Hi,

Quoted 5 lines · Raslan Darawsheh

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

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh