[dpdk-dev] building l2fwd-crypto example from Makefile

mirzaei.reza mirzaei.reza at ut.ac.ir
Sun Feb 7 10:16:50 CET 2021


Hello, 

I have a problem to build l2fwd-crypto example using its Makefile. I
build it using Makefile according to this [1] tutorial, when i run the
compiled file using the following command: 

./l2fwd-crypto -l 1 -n 4
--vdev="crypto_aesni_mb,socket_id=0,max_nb_sessions=128" \
-- -p 1 --cdev SW --chain CIPHER_HASH --cipher_algo "aes-cbc"
--auth_algo "sha1-hmac" 

I get the follwing error: 

EAL: Detected 16 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: FAILED TO PARSE DEVICE "CRYPTO_AESNI_GCM"
EAL: UNABLE TO PARSE DEVICE
'CRYPTO_AESNI_GCM,SOCKET_ID=0,MAX_NB_SESSIONS=128'
EAL: ERROR - EXITING WITH CODE: 1
  CAUSE: INVALID EAL ARGUMENTS 

Could anyone help me to solve this problem? 

It's worth to noting that when i build it using meson and ninja as the
following, it works successfuly. 

meson -Dexamples=l2fwd-crypto build 

Thanks in advance 

Links:
------
[1] https://doc.dpdk.org/guides-20.11/cryptodevs/aesni_gcm.html


More information about the dev mailing list