1. SmartNIC/ConnectX-6/Crypto devices

SmartNIC/ConnectX-6/Crypto devices

Home Forums FABRIC General Questions and Discussion SmartNIC/ConnectX-6/Crypto devices

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4588
    Praveen Rao
    Participant

      Would you know how to use the crypto feature in the SmartNICs? We are using DPDK to accelerate packet processing. However, we are unable to load the crypto driver to run the DPDK test. Any help is much appreciated.

      ubuntu@a229923e-9c45-45a2-bbb3-883585907175-vm1:~/dpdk-23.03/build$ sudo app/test/dpdk-test -c 1 -n 1 -a 0000:00:08.0,class=crypto

      EAL: Detected CPU lcores: 20

      EAL: Detected NUMA nodes: 1

      EAL: Detected static linkage of DPDK

      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

      EAL: Selected IOVA mode ‘PA’

      EAL: VFIO support initialized

      EAL: Probe PCI driver: mlx5_pci (15b3:101b) device: 0000:00:08.0 (socket -1)

      mlx5_crypto: Not enough capabilities to support crypto operations, maybe old FW/OFED version?

      mlx5_common: Failed to load driver crypto_mlx5

      EAL: Requested device 0000:00:08.0 cannot be used

      EAL: Bus (pci) probe failed.

      TELEMETRY: No legacy callbacks, legacy socket not created

      APP: HPET is not enabled, using TSC as default timer

      RTE>>cryptodev_mlx5_autotest

      + ——————————————————- +

      + Test Suite : Cryptodev Unit Test Suite

      USER1: No crypto devices found?

      + ——————————————————- +

      + Test Suite Summary : Cryptodev Unit Test Suite

      + ——————————————————- +

      + AES Chain : 0/74 passed, 74/74 skipped, 0/74 failed, 0/74 unsupported

      + AES Cipher Only : 0/75 passed, 75/75 skipped, 0/75 failed, 0/75 unsupported

      + AES Docsis : 0/24 passed, 24/24 skipped, 0/24 failed, 0/24 unsupported

      + 3DES Chain : 0/20 passed, 20/20 skipped, 0/20 failed, 0/20 unsupported

      + 3DES Cipher Only : 0/10 passed, 10/10 skipped, 0/10 failed, 0/10 unsupported

      + DES Cipher Only : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported

      + DES Docsis : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported

      + Auth Only : 0/56 passed, 56/56 skipped, 0/56 failed, 0/56 unsupported

      + Multi Session Unit Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported

      + NULL Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported

      + AES CCM Authenticated Test Suite : 0/18 passed, 18/18 skipped, 0/18 failed, 0/18 unsupported

      + AES GCM Authenticated Test Suite : 0/58 passed, 58/58 skipped, 0/58 failed, 0/58 unsupported

      + AES GMAC Authentication Test Suite : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported

      + SNOW 3G Test Suite : 0/57 passed, 57/57 skipped, 0/57 failed, 0/57 unsupported

      + Chacha20-Poly1305 Test Suite : 0/3 passed, 3/3 skipped, 0/3 failed, 0/3 unsupported

      + ZUC Test Suite : 0/68 passed, 68/68 skipped, 0/68 failed, 0/68 unsupported

      + HMAC_MD5 Authentication Test Suite : 0/4 passed, 4/4 skipped, 0/4 failed, 0/4 unsupported

      + Kasumi Test Suite : 0/36 passed, 36/36 skipped, 0/36 failed, 0/36 unsupported

      + ESN Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported

      + Negative AES GCM Test Suite : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported

      + Negative AES GMAC Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported

      + Mixed CIPHER + HASH algorithms Test Suite : 0/50 passed, 50/50 skipped, 0/50 failed, 0/50 unsupported

      + Negative HMAC SHA1 Unit Test Suite : 0/4 passed, 4/4 skipped, 0/4 failed, 0/4 unsupported

      + Crypto General Unit Test Suite : 0/6 passed, 6/6 skipped, 0/6 failed, 0/6 unsupported

      + IPsec Proto Unit Test Suite : 0/89 passed, 89/89 skipped, 0/89 failed, 0/89 unsupported

      + PDCP Proto Unit Test Suite : 0/1 passed, 1/1 skipped, 0/1 failed, 0/1 unsupported

      + DOCSIS Proto Unit Test Suite : 0/52 passed, 52/52 skipped, 0/52 failed, 0/52 unsupported

      + ——————————————————- +

      + Sub Testsuites Total :     27

      + Sub Testsuites Skipped :   27

      + Sub Testsuites Passed :     0

      + Sub Testsuites Failed :     0

      + ——————————————————- +

      + Tests Total :       751

      + Tests Skipped :     751

      + Tests Executed :     0

      + Tests Unsupported:   0

      + Tests Passed :       0

      + Tests Failed :       0

      + ——————————————————- +

      Test Skipped

      RTE>>

      #4595
      Praveen Rao
      Participant

        It works now.

        The intel-ipsec-mb library was needed to build DPDK. Now the crypto features in DPDK are working in the software mode.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘SmartNIC/ConnectX-6/Crypto devices’ is closed to new replies.