Comment
Author: Admin | 2025-04-27
Hello,I’m trying to use Mellanox ConnectX-6 NICs along with DPDK. I’m unable to execute the sample applications as specified in this docs: [15. NVIDIA MLX5 Crypto Driver — Data Plane Development Kit 23.03.0-rc1 documentation (dpdk.org)](https://doc.dpdk.org/guides/cryptodevs/mlx5.html). DPDK is not able to detect the mellanox crypto driver at all.I’m using MLNX_OFED_LINUX-5.9-0.5.6.0 (OFED-5.9-0.5.6) driver along with ConnectX-6 Dx NIC.Moreover, I’m unable to get/set registers on the crypto device for wrapped/plaintext configuration. Here is a sample error:node-0:~> sudo mlxreg -d /dev/mst/mt4119_pciconf0.1 --reg_name CRYPTO_OPERATIONAL --getSending access register…-E- Failed to send access register: ME_ICMD_OPERATIONAL_ERRORHere are the logs from execution of the DPDK application:node-0:~> sudo ./dpdk/build/app/test/dpdk-test -c 1 -n 1 -a ca:00.0,class=crypto cryptodev_mlx5_autotest – --driver-name mlx5EAL: PCI device 0000:ca:00.0 on NUMA socket 1mlx5_pciEAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:ca:00.0 (socket 1)EAL: Detected CPU lcores: 128EAL: Detected NUMA nodes: 2EAL: Detected static linkage of DPDKEAL: Multi-process socket /var/run/dpdk/rte/mp_socketEAL: Selected IOVA mode ‘PA’EAL: VFIO support initializedEAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:ca:00.0 (socket 1)mlx5_crypto: Not enough capabilities to support crypto operations, maybe old FW/OFED version?mlx5_common: Failed to load driver crypto_mlx5EAL: Requested device 0000:ca:00.0 cannot be usedEAL: Bus (pci) probe failed.TELEMETRY: No legacy callbacks, legacy socket not createdAPP: HPET is not enabled, using TSC as default timerAPP: Invalid test requested: ‘–driver-name’APP: Invalid test requested: ‘mlx5EAL:’APP: Invalid test requested: ‘PCI’APP: Invalid test requested: ‘device’APP: Invalid test requested: ‘0000:ca:00.0’APP: Invalid test requested: ‘on’APP: Invalid test requested: ‘NUMA’APP: Invalid test requested: ‘socket’APP: Invalid test requested: ‘1’RTE>>cryptodev_mlx5_autotest------------------------------------------------------- +Test Suite : Cryptodev Unit Test SuiteUSER1: No crypto devices found?------------------------------------------------------- +Test Suite Summary : Cryptodev Unit Test Suite------------------------------------------------------- +AES Chain : 0/57 passed, 57/57 skipped, 0/57 failed, 0/57 unsupportedAES Cipher Only : 0/65 passed, 65/65 skipped, 0/65 failed, 0/65 unsupportedAES Docsis : 0/24 passed, 24/24 skipped, 0/24 failed, 0/24 unsupported3DES Chain : 0/20 passed, 20/20 skipped, 0/20 failed, 0/20 unsupported3DES Cipher Only : 0/10 passed, 10/10 skipped, 0/10 failed, 0/10 unsupportedDES Cipher Only : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupportedDES Docsis : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupportedAuth Only : 0/36 passed, 36/36 skipped, 0/36 failed, 0/36 unsupportedMulti Session Unit Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupportedNULL Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupportedAES CCM Authenticated Test Suite : 0/18 passed, 18/18 skipped, 0/18 failed, 0/18 unsupportedAES GCM Authenticated Test Suite : 0/58 passed, 58/58 skipped, 0/58 failed, 0/58 unsupportedAES GMAC Authentication Test Suite : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupportedSNOW 3G Test Suite : 0/47 passed, 47/47 skipped, 0/47 failed, 0/47 unsupportedChacha20-Poly1305 Test Suite : 0/3 passed, 3/3 skipped, 0/3 failed, 0/3 unsupportedZUC Test Suite : 0/31 passed, 31/31 skipped, 0/31 failed, 0/31 unsupportedHMAC_MD5 Authentication Test Suite : 0/4 passed, 4/4 skipped, 0/4 failed, 0/4 unsupportedKasumi Test Suite :
Add Comment