Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E92B9C433E0 for ; Sun, 7 Feb 2021 09:16:57 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 5350664E42 for ; Sun, 7 Feb 2021 09:16:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5350664E42 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ut.ac.ir Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57A6240147; Sun, 7 Feb 2021 10:16:55 +0100 (CET) Received: from mail.ut.ac.ir (mail.ut.ac.ir [80.66.177.10]) by mails.dpdk.org (Postfix) with ESMTP id 1807740146 for ; Sun, 7 Feb 2021 10:16:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.ut.ac.ir (Postfix) with ESMTP id 149C41DB888 for ; Sun, 7 Feb 2021 12:46:51 +0330 (+0330) Received: from mail.ut.ac.ir ([127.0.0.1]) by localhost (mail.ut.ac.ir [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l5dDnnYt_1q8 for ; Sun, 7 Feb 2021 12:46:50 +0330 (+0330) Received: from mail.ut.ac.ir (mail.ut.ac.ir [194.225.0.10]) by mail.ut.ac.ir (Postfix) with ESMTP id 6753C1DB881 for ; Sun, 7 Feb 2021 12:46:50 +0330 (+0330) MIME-Version: 1.0 Date: Sun, 07 Feb 2021 12:46:50 +0330 From: "mirzaei.reza" To: dev@dpdk.org Message-ID: <85f763d093a3d6e5a7a73f8eee9aa0c1@ut.ac.ir> X-Sender: mirzaei.reza@ut.ac.ir User-Agent: Roundcube Webmail/1.3.6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] building l2fwd-crypto example from Makefile X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "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