From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4009A0547; Mon, 8 Feb 2021 17:37:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10E171606F7; Mon, 8 Feb 2021 17:37:11 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 97CBE1606F3 for ; Mon, 8 Feb 2021 17:37:09 +0100 (CET) IronPort-SDR: hoxnm8ei71vNLvaY96F8vSAgfkuxa8RMjXGnNRMgpazbmW2vDNTkyfAyM6Siyfx9wKOrM2KIAl mdGwDH9Mdavg== X-IronPort-AV: E=McAfee;i="6000,8403,9889"; a="181806512" X-IronPort-AV: E=Sophos;i="5.81,162,1610438400"; d="scan'208";a="181806512" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2021 08:37:08 -0800 IronPort-SDR: AS8wIDcr6o/aP30KrnUBJJfT7BCGIAbHeYkBKqxic6BAaI7Xxq6yX9We/H82pJGE73lDbEECOn cAEJu+KogV2A== X-IronPort-AV: E=Sophos;i="5.81,162,1610438400"; d="scan'208";a="487480324" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.0.47]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 08 Feb 2021 08:37:06 -0800 Date: Mon, 8 Feb 2021 16:37:02 +0000 From: Bruce Richardson To: "mirzaei.reza" Cc: dev@dpdk.org Message-ID: <20210208163702.GD2020@bricha3-MOBL.ger.corp.intel.com> References: <85f763d093a3d6e5a7a73f8eee9aa0c1@ut.ac.ir> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85f763d093a3d6e5a7a73f8eee9aa0c1@ut.ac.ir> Subject: Re: [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" On Sun, Feb 07, 2021 at 12:46:50PM +0330, mirzaei.reza wrote: > 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 > As well as the response David provided which is pretty comprehensive, I have just today hit some similar issues when trying to run a shared-linked DPDK app, even when DPDK was installed system-wide. If you install DPDK in e.g. /usr/local on your system and still see issues, can you perhaps test out patch http://patches.dpdk.org/patch/87823/ and see if it helps. Regards, /Bruce