]> git.droids-corp.org - dpdk.git/commitdiff
crypto/mlx5: support BlueField 2 and ConnectX-6 Dx devices
authorRaja Zidane <rzidane@nvidia.com>
Thu, 11 Nov 2021 13:51:33 +0000 (13:51 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 16 Nov 2021 06:38:07 +0000 (07:38 +0100)
Starting from FW version xx.32.0108. version, the BlueField 2 and
ConnectX-6 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>
Acked-by: Tal Shnaiderman <talshn@nvidia.com>
doc/guides/cryptodevs/mlx5.rst
doc/guides/rel_notes/release_21_11.rst
drivers/crypto/mlx5/mlx5_crypto.c

index 9bd8c6fe858b6d04368d311169887f9ffc142604..e86a6205e8f000b87ae0c5b0f974641e10d92961 100644 (file)
@@ -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 BlueField 2, the internal ports in the ARM system should also 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|-6 Dx
 
 
 Limitations
@@ -155,10 +158,16 @@ Limitations
 Prerequisites
 -------------
 
+FW Prerequisites
+~~~~~~~~~~~~~~~~
+
+- xx.31.0328 for ConnectX-6.
+- xx.32.0108 for ConnectX-6 Dx and BlueField 2.
+
 Linux Prerequisites
 ~~~~~~~~~~~~~~~~~~~
 
-- Mellanox OFED version: **5.3**
+- Mellanox OFED version: **5.3**.
   see :doc:`../../nics/mlx5` guide for more Mellanox OFED details.
 
 - Compilation can be done also with rdma-core v15+.
index cd4dcd00771ffd75bc648944cb07a8c3bc738d20..677353f2d2833e2e3336f35bf8e97a1d6d3c5699 100644 (file)
@@ -300,6 +300,7 @@ New Features
 * **Updated Mellanox mlx5 crypto driver.**
 
   * Added Windows support.
+  * Added support for BlueField 2 and ConnectX-6 Dx.
 
 * **Updated NXP dpaa_sec crypto PMD.**
 
index 3caa22f35f87837f7a6c2ab327d64c7a628f3364..47da3d115b62f2af0c74fc2731d607b13630fcdc 100644 (file)
@@ -994,6 +994,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
                }