mlx5_crypto: failed to switch to crypto operational mode

Maayan Kashani mkashani at nvidia.com
Thu Sep 7 12:29:47 CEST 2023


Hi, 
Sorry for the late response,
This NIC does not support crypto.

Regards,
Maayan Kashani

> -----Original Message-----
> From: Artemii Morozov <Artemii.Morozov at arknetworks.am>
> Sent: Monday, 10 July 2023 10:37
> To: users at dpdk.org
> Subject: mlx5_crypto: failed to switch to crypto operational mode
> 
> External email: Use caution opening links or attachments
> 
> 
> Hi,
> 
> I have ConnectX-6 (MCX653106A-HDAT) NIC and try to use DPDK mlx5_crypto
> driver for crypto offload. I've followed the instructions provided in the
> documentation (https://doc.dpdk.org/guides/cryptodevs/mlx5.html),
> but unfortunately, I've encountered some problems along the way.
> 
> The main issue I am experiencing is the inability to switch the NIC to crypto
> operational mode. I am facing a failure in the first step:
> 
> ```
> mlxreg -d /dev/mst/mt4123_pciconf0 --reg_name CRYPTO_OPERATIONAL --
> get Sending access register...
> -E- Failed to send access register: ME_ICMD_OPERATIONAL_ERROR ```
> 
> I use:
> - MLX_OFED 5.8-2.0.3.0
> - fw 20.35.2000
> - I set the CRYPTO_POLICY configuration value to 2 (it also does not work with 1
> value)
> 
> lsmod | grep mlx output:
> 
> ```
> mlx5_ib               450560  0
> mlx5_core            2039808  1 mlx5_ib
> mlxdevm               176128  1 mlx5_core
> ib_uverbs             143360  2 rdma_ucm,mlx5_ib
> psample                20480  1 mlx5_core
> mlxfw                  32768  1 mlx5_core
> tls                   114688  1 mlx5_core
> pci_hyperv_intf        16384  1 mlx5_core
> ib_core               434176  8
> rdma_cm,ib_ipoib,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm
> mlx_compat             69632  11
> rdma_cm,ib_ipoib,mlxdevm,iw_cm,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx
> 5_ib,ib_cm,mlx5_core
> 
> ```
> 
> Could you please advise me how to solve the problem and what steps to take to
> successfully use this driver?
> 
> Thank you.



More information about the users mailing list