DPDK patches and discussions
 help / color / mirror / Atom feed
From: "mirzaei.reza" <mirzaei.reza@ut.ac.ir>
To: dev@dpdk.org
Subject: [dpdk-dev] building l2fwd-crypto example from Makefile
Date: Sun, 07 Feb 2021 12:46:50 +0330	[thread overview]
Message-ID: <85f763d093a3d6e5a7a73f8eee9aa0c1@ut.ac.ir> (raw)

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

             reply	other threads:[~2021-02-07  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07  9:16 mirzaei.reza [this message]
2021-02-07 10:26 ` David Marchand
2021-02-08 16:37 ` Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85f763d093a3d6e5a7a73f8eee9aa0c1@ut.ac.ir \
    --to=mirzaei.reza@ut.ac.ir \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).