From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 360CA5A5C for ; Mon, 27 Jun 2016 10:03:59 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 27 Jun 2016 01:03:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,536,1459839600"; d="scan'208";a="835787699" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.43]) ([10.237.220.43]) by orsmga003.jf.intel.com with ESMTP; 27 Jun 2016 01:03:37 -0700 To: amartya.das@wipro.com, dev@dpdk.org References: From: Sergio Gonzalez Monroy Message-ID: Date: Mon, 27 Jun 2016 09:03:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [Crypto API use error] X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 08:04:00 -0000 Hi, Please send this kind of questions to users@dpdk.org next time. On 26/06/2016 13:59, amartya.das@wipro.com wrote: > Hi, > > I am trying to run one sample application with crypto library with DPDK 16.04 from below path in VM: > dpdk-16.04/examples/l2fwd-crypto > > Command use: > ./build/l2fwd-crypto -c 0x1 -n 4 --vdev "cryptodev_aesni_mb_pmd" --vdev "cryptodev_aesni_mb_pmd" -- -p 0x1 --chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo AES_CBC --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f --auth_op GENERATE --auth_algo SHA1_HMAC --auth_key 10:11:12:13:14:15:16:17:18:19:1a:1b:1c:1d:1e:1f > > I am getting below error: > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 1 lcore(s) > EAL: Probing VFIO support... > EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) > EAL: VFIO modules not loaded, skipping VFIO support... > EAL: Setting up physically contiguous memory... > EAL: Ask a virtual area of 0x1e00000 bytes > EAL: Virtual area found at 0x7fa6bd200000 (size = 0x1e00000) > EAL: Ask a virtual area of 0x3e200000 bytes > EAL: Virtual area found at 0x7fa67ee00000 (size = 0x3e200000) > EAL: Ask a virtual area of 0x3fc00000 bytes > EAL: Virtual area found at 0x7fa63f000000 (size = 0x3fc00000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fa63ec00000 (size = 0x200000) > EAL: Ask a virtual area of 0x200000 bytes > EAL: Virtual area found at 0x7fa63e800000 (size = 0x200000) > EAL: Requesting 1024 pages of size 2MB from socket 0 > EAL: TSC frequency is ~1995189 KHz > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! > EAL: Master lcore 0 is ready (tid=c11ca8c0;cpuset=[0]) > EAL: no driver found for cryptodev_aesni_mb_pmd There is no driver for the PMD, have you enabled it in the config? it is disabled by default. You can read more info: http://dpdk.readthedocs.io/en/v16.04/cryptodevs/index.html > EAL: failed to initialize cryptodev_aesni_mb_pmd device > PANIC in rte_eal_init(): > Cannot init pmd devices > 6: [./build/l2fwd-crypto() [0x42e0a3]] > 5: [/lib64/libc.so.6(__libc_start_main+0xf0) [0x7fa6c02ebfe0]] > 4: [./build/l2fwd-crypto(main+0x2f) [0x42b2cf]] > 3: [./build/l2fwd-crypto(rte_eal_init+0xdc0) [0x49f920]] > 2: [./build/l2fwd-crypto(__rte_panic+0xc9) [0x425008]] > 1: [./build/l2fwd-crypto(rte_dump_stack+0x18) [0x4a6748]] > Aborted (core dumped) > > What could be the cause for it and how to resolve this problem? > > Thanks, > Amartya > > > > > The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com Please remove the disclaimer when sending public emails. Sergio