crypto/mlx5: support BF2 and ConnectX6-DX devices
Checks
Commit Message
Starting from MLNX_OFED 5.5. version, the BlueField2 and ConnextX6-DX adapters support crypto operations.
Add them to the supported PCI devices list.
Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
---
dependant on https://patchwork.dpdk.org/project/dpdk/cover/20211104124929.24899-1-rzidane@nvidia.com/
doc/guides/cryptodevs/mlx5.rst | 6 +++++-
doc/guides/rel_notes/release_21_11.rst | 4 ++++
drivers/crypto/mlx5/mlx5_crypto.c | 8 ++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
@@ -88,6 +88,7 @@ The mlxreg dedicated tool should be used as follows:
should not be specified.
All the device ports should set it in order to move to operational mode.
+ For BlueField2, also the internal ports in the ARMs system should be set.
- Query CRYPTO_OPERATIONAL register to make sure the device is in Operational
mode.
@@ -141,6 +142,8 @@ Supported NICs
--------------
* Mellanox\ |reg| ConnectX\ |reg|-6 200G MCX654106A-HCAT (2x200G)
+* Mellanox\ |reg| BlueField 2 SmartNIC
+* Mellanox\ |reg| ConnectX\ |reg|-6DX
Limitations
@@ -158,7 +161,8 @@ Prerequisites
Linux Prerequisites
~~~~~~~~~~~~~~~~~~~
-- Mellanox OFED version: **5.3**
+- Mellanox OFED version: starts at 5.3 for ConnectX6.
+ Mellanox OFED version: 5.5 for ConnectX6DX and BF2.
see :doc:`../../nics/mlx5` guide for more Mellanox OFED details.
- Compilation can be done also with rdma-core v15+.
@@ -401,6 +401,10 @@ New Features
overruns in C/C++ programs, and other similar errors, as well as
printing out detailed debug information whenever an error is detected.
+* **Updated mlx5 crypto driver.**
+
+ * Added support for BF2.
+ * Added support for CX6DX.
Removed Items
-------------
@@ -1034,6 +1034,14 @@ static const struct rte_pci_id mlx5_crypto_pci_id_map[] = {
RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
PCI_DEVICE_ID_MELLANOX_CONNECTX6)
},
+ {
+ RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+ PCI_DEVICE_ID_MELLANOX_CONNECTX6DX)
+ },
+ {
+ RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX,
+ PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF)
+ },
{
.vendor_id = 0
}