DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] building l2fwd-crypto example from Makefile
@ 2021-02-07  9:16 mirzaei.reza
  2021-02-07 10:26 ` David Marchand
  2021-02-08 16:37 ` Bruce Richardson
  0 siblings, 2 replies; 3+ messages in thread
From: mirzaei.reza @ 2021-02-07  9:16 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-08 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07  9:16 [dpdk-dev] building l2fwd-crypto example from Makefile mirzaei.reza
2021-02-07 10:26 ` David Marchand
2021-02-08 16:37 ` Bruce Richardson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).