This adds the ConnectX-9 device id to the list of supported Nvidia devices that run the MLX5 PMDs. The device is still in development stage.
Signed-off-by: Raslan Darawsheh <[email protected]> --- doc/guides/cryptodevs/mlx5.rst | 4 +++- doc/guides/nics/mlx5.rst | 9 +++++---- doc/guides/rel_notes/release_25_11.rst | 3 +++ drivers/common/mlx5/mlx5_common.h | 1 + drivers/crypto/mlx5/mlx5_crypto.c | 4 ++++ drivers/net/mlx5/mlx5.c | 5 ++++- 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/guides/cryptodevs/mlx5.rst b/doc/guides/cryptodevs/mlx5.rst index 8a2ec20e74..dc9977f5e0 100644 --- a/doc/guides/cryptodevs/mlx5.rst +++ b/doc/guides/cryptodevs/mlx5.rst @@ -9,7 +9,8 @@ NVIDIA MLX5 Crypto Driver The MLX5 crypto driver library (**librte_crypto_mlx5**) provides support for **NVIDIA ConnectX-6**, **NVIDIA ConnectX-6 Dx**, **NVIDIA ConnectX-7**, **NVIDIA ConnectX-8**, -**NVIDIA BlueField-2**, and **NVIDIA BlueField-3** family adapters. +**NVIDIA ConnectX-9**, **NVIDIA BlueField-2**, and **NVIDIA BlueField-3** +family adapters. Overview -------- @@ -235,6 +236,7 @@ FW Prerequisites - xx.32.0108 for ConnectX-6 Dx and BlueField-2. - xx.36.xxxx for ConnectX-7 and BlueField-3. - 40.44.1036 for ConnectX-8. +- 82.47.xxxx for ConnectX-9. - xx.37.3010 for BlueField-3 and newer for AES-GCM. Linux Prerequisites diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index fde98ae993..37495359d4 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -39,6 +39,7 @@ NIC / DPU total bandwidth max ports PCIe embedded CPU **BlueField-2** 200 Gb/s 2 Gen4 A72 x8 **ConnectX-7** 400 Gb/s 4 Gen5 -- **ConnectX-8** 400 Gb/s 4 Gen6 -- +**ConnectX-9** 800 Gb/s 4 Gen6 -- **BlueField-3** 400 Gb/s 2 Gen5 A78 x16 ================== =============== ========= =========== ============ @@ -232,9 +233,9 @@ for an additional list of options shared with other mlx5 drivers. Supported on: - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, - ConnectX-6 Lx, ConnectX-7, ConnectX-8, BlueField-2, and BlueField-3. + ConnectX-6 Lx, ConnectX-7, ConnectX-8, ConnectX-9, BlueField-2, and BlueField-3. - POWER9 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, - ConnectX-6 Lx, ConnectX-7, ConnectX-8, BlueField-2, and BlueField-3. + ConnectX-6 Lx, ConnectX-7, ConnectX-8, ConnectX-9, BlueField-2, and BlueField-3. - ``rxq_pkt_pad_en`` parameter [int] @@ -247,9 +248,9 @@ for an additional list of options shared with other mlx5 drivers. Supported on: - x86_64 with ConnectX-4, ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, - ConnectX-6 Lx, ConnectX-7, ConnectX-8, BlueField-2, and BlueField-3. + ConnectX-6 Lx, ConnectX-7, ConnectX-8, ConnectX-9, BlueField-2, and BlueField-3. - POWER8 and ARMv8 with ConnectX-4 Lx, ConnectX-5, ConnectX-6, ConnectX-6 Dx, - ConnectX-6 Lx, ConnectX-7, ConnectX-8, BlueField-2, and BlueField-3. + ConnectX-6 Lx, ConnectX-7, ConnectX-8, ConnectX-9, BlueField-2, and BlueField-3. .. _mlx5_delay_drop_param: diff --git a/doc/guides/rel_notes/release_25_11.rst b/doc/guides/rel_notes/release_25_11.rst index c5ba335cfc..a33dbd3e3e 100644 --- a/doc/guides/rel_notes/release_25_11.rst +++ b/doc/guides/rel_notes/release_25_11.rst @@ -167,6 +167,9 @@ New Features The built-in help text function is available as a public function which can be reused by custom functions, if so desired. +* **Updated NVIDIA mlx5 driver.** + + * Added support for NVIDIA ConnectX-9 adapters. Removed Items ------------- diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h index b49f0c850e..b524ba9ab7 100644 --- a/drivers/common/mlx5/mlx5_common.h +++ b/drivers/common/mlx5/mlx5_common.h @@ -154,6 +154,7 @@ enum { PCI_DEVICE_ID_MELLANOX_CONNECTX7 = 0x1021, PCI_DEVICE_ID_MELLANOX_BLUEFIELD3 = 0Xa2dc, PCI_DEVICE_ID_MELLANOX_CONNECTX8 = 0x1023, + PCI_DEVICE_ID_MELLANOX_CONNECTX9 = 0x1025, }; /* Maximum number of simultaneous unicast MAC addresses. */ diff --git a/drivers/crypto/mlx5/mlx5_crypto.c b/drivers/crypto/mlx5/mlx5_crypto.c index 78a9e3d0fe..938a119c7f 100644 --- a/drivers/crypto/mlx5/mlx5_crypto.c +++ b/drivers/crypto/mlx5/mlx5_crypto.c @@ -489,6 +489,10 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = { RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, PCI_DEVICE_ID_MELLANOX_CONNECTX8) }, + { + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, + PCI_DEVICE_ID_MELLANOX_CONNECTX9) + }, { .vendor_id = 0 } diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 6686dd7587..ea235cf36b 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -3818,7 +3818,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = { RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, PCI_DEVICE_ID_MELLANOX_CONNECTX8) }, - + { + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, + PCI_DEVICE_ID_MELLANOX_CONNECTX9) + }, { .vendor_id = 0 } -- 2.50.1 (Apple Git-155)

