From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sg2apc01on0069.outbound.protection.outlook.com [104.47.125.69]) by dpdk.org (Postfix) with ESMTP id 836AF5937 for ; Mon, 27 Jun 2016 14:22:10 +0200 (CEST) Received: from PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) by PS1PR03MB1881.apcprd03.prod.outlook.com (10.167.49.151) with Microsoft SMTP Server (TLS) id 15.1.528.16; Mon, 27 Jun 2016 12:22:08 +0000 Received: from PS1PR03MB1883.apcprd03.prod.outlook.com ([10.167.49.153]) by PS1PR03MB1883.apcprd03.prod.outlook.com ([10.167.49.153]) with mapi id 15.01.0528.014; Mon, 27 Jun 2016 12:22:08 +0000 From: To: Thread-Topic: Crypto API use error Thread-Index: AdHQboCTqvwnnkmrREqG5JFzlBKgig== Date: Mon, 27 Jun 2016 12:22:08 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=amartya.das@wipro.com; x-originating-ip: [125.16.242.7] x-ms-office365-filtering-correlation-id: 443cf97d-89fb-4445-e077-08d39e85a854 x-microsoft-exchange-diagnostics: 1; PS1PR03MB1881; 6:BnjcX+3kixOaXJEnlqj/RcuaC41h8r+aSDZkFdH5UhacmjQ7/1I9rzIgYpZRgchoH+xY5e8T32QGs6/Hy+f9BQ/d8kMRV5FGE0duMwSnPrHENWwVK87XHxip99NU7sr/FGsiIFaTu93AXVDPwzOzJhjvRI++Hm8VYTrhInhRHQx6jDSqxi3tR0aSape4mKFsh+Jt8u7e19q9gHTI4Cp/JDuEqeBhWT6A4OTNmapEHoZ2QSyA21HwennhOO1e6n58f99iRvHVwJx9vkB9T3vwTbsjbOeeIpKJWFUz7jtQr5dWgpOQWVMgO5tlGTtgTS8seI9PPRQgmgeUfIUVyE0nOQ==; 5:J3ggJH5ZW3cIQStxeLHSigLeh1b925Hcy8exvhWwDAZ6oh6IzHOIbK0GIX63qQOHQfJPMVlHmucuSOhPN4JqMTxkh1GSYOJiA5F4dIHy5s4/GxspTYwdvhTRN0/QM+BTkOVIfnbzIaFi+3zHYTkzQQ==; 24:qkXBn3Eyww5GFfRcYI1fQ2JCIOkd/cFtG25w5yjEFa1JAr/RRPCjSCY9coyUs5q2f+4MCdrCFQ170/LSrwkEHyY3JxmmgYOGzSKEmmwonlc=; 7:fASYrGruCkOWjXav2DEjWgY+XcFyT7lxqd5if7PtdFX1ymPGAoIR4bjR5MTuyAOHekaeVU7j8QZzxZW8XvbNWPFDTbT/de7l1jGTd6N+ofKuhpg0vcPCcZ9CGIyQ7D4ApFLcBpsoiatojP63k46xrBBraZGFjgIQPaae0bYOW2lVdl3Iz8sOayEHfWxMoabHTyR63PkHh8sWqRYZ4zPaBSypggscW7uSmn5wsSAy6e0KQcaHRGyoOVjR7lAUqJ34 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR03MB1881; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(267259832677123)(62627912741753)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:PS1PR03MB1881; BCL:0; PCL:0; RULEID:; SRVR:PS1PR03MB1881; x-forefront-prvs: 09860C2161 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(189002)(19300405004)(97736004)(3660700001)(2906002)(74316001)(10400500002)(92566002)(5890100001)(68736007)(9326002)(15974865002)(7846002)(50986999)(77096005)(15975445007)(586003)(3480700004)(76576001)(54356999)(2501003)(575784001)(16236675004)(15395725005)(5002640100001)(11100500001)(1730700003)(81166006)(122556002)(229853001)(2351001)(2900100001)(790700001)(3846002)(102836003)(6116002)(8676002)(9686002)(33656002)(450100001)(19625215002)(19580395003)(106356001)(105586002)(66066001)(101416001)(7696003)(81156014)(110136002)(8936002)(5630700001)(107886002)(5640700001)(3280700002)(87936001)(86362001)(7736002)(5003600100003)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR03MB1881; H:PS1PR03MB1883.apcprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: wipro.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wipro.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2016 12:22:08.0945 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR03MB1881 X-MS-Exchange-CrossPremises-AuthAs: Internal X-MS-Exchange-CrossPremises-AuthMechanism: 04 X-MS-Exchange-CrossPremises-AuthSource: PS1PR03MB1883.apcprd03.prod.outlook.com X-MS-Exchange-CrossPremises-SCL: 1 X-MS-Exchange-CrossPremises-messagesource: StoreDriver X-MS-Exchange-CrossPremises-BCC: X-MS-Exchange-CrossPremises-originalclientipaddress: 125.16.242.7 X-MS-Exchange-CrossPremises-avstamp-service: 1.0 X-MS-Exchange-CrossPremises-disclaimer-hash: ef6ed6a830673538406bd527e716551fd2daba1e446b50e7f1f30c79ce70f874 X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0; X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent X-OrganizationHeadersPreserved: PS1PR03MB1881.apcprd03.prod.outlook.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 12:22:11 -0000 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 I have followed below link: http://dpdk.org/doc/guides-16.04/cryptodevs/aesni_mb.html Command use: ./build/l2fwd-crypto -c 0x1 -n 4 --vdev "cryptodev_aesni_mb_pmd" --vdev "cr= yptodev_aesni_mb_pmd" -- -p 0x1 --chain CIPHER_HASH --cipher_op ENCRYPT --c= ipher_algo AES_CBC --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0= e: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 direct= ory) 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 =3D 0x1e00000) EAL: Ask a virtual area of 0x3e200000 bytes EAL: Virtual area found at 0x7fa67ee00000 (size =3D 0x3e200000) EAL: Ask a virtual area of 0x3fc00000 bytes EAL: Virtual area found at 0x7fa63f000000 (size =3D 0x3fc00000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa63ec00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fa63e800000 (size =3D 0x200000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: TSC frequency is ~1995189 KHz EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using unreli= able clock cycles ! EAL: Master lcore 0 is ready (tid=3Dc11ca8c0;cpuset=3D[0]) EAL: no driver found for cryptodev_aesni_mb_pmd 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 ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments. WARNING: Computer viruses can be transmit= ted via email. The recipient should check this email and any attachments fo= r the presence of viruses. The company accepts no liability for any damage = caused by any virus transmitted by this email. www.wipro.com