From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sg2apc01on0084.outbound.protection.outlook.com [104.47.125.84]) by dpdk.org (Postfix) with ESMTP id AA44C6A16 for ; Sun, 26 Jun 2016 14:59:08 +0200 (CEST) Received: from PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) by PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) with Microsoft SMTP Server (TLS) id 15.1.528.16; Sun, 26 Jun 2016 12:59:04 +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; Sun, 26 Jun 2016 12:59:04 +0000 From: To: Thread-Topic: [Crypto API use error] Thread-Index: AdHPqoGoe4VCpmOcTKONskHZkYZDjw== Date: Sun, 26 Jun 2016 12:59:04 +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: 92ff7986-ec12-4819-6383-08d39dc1a703 x-microsoft-exchange-diagnostics: 1; PS1PR03MB1883; 6:KC81rYLGGiCPUdi5HW5dbJT70cPrfGoIT4Z/nhbY1yqDoSZKhhLIpdFjZul0U8vgeb+C/F+yjeBb7qVua1+QWW7Op9IP/xEzAE0JmprHpmerIdIgo/T8ieksK6DwlfIleGHnUO8pGh3C/u4Sfmkz5hOqbZQt4T3cncLCo8A7XXRc+gVmCHUdactzVHdF4GKKUR/mmIa32tC9Iohgb4mvR8UsweMEe4m3sgNbzWvaywFAgfR1QF7nue96wirpMwKpEdJhlgAbRKMC+DuMbPeKVLHZD+3r0eRvTLV1e6zG3jCbmfnxlL2y+B7+fzErboaqQCe+r4LooHla0A+j15u7Vw==; 5:ppgmUyK1kqixjQR1rkEFRdseh+AjhSkr9Lqn6BDqhU3zjU8N1pwUoM80XBcR8usfOh7Iz+xK+Gl0O3uhi7QBQ9PGV4FnGdJ7pG2uvzK0yTTpa/pQ3QT56msq5Oab20VsVbXN33rOlErEYs0vDI2LJA==; 24:lXXvyZC+rOZI5WUi4vKYNSu0GlWLGkTV3oy6ONBzCRZsxzNQ+/qzHs+HxEggQ26CFatBTH/7UjxmsKziifkUT3KuzvhrxzrJSlzS3vMiaOQ=; 7:BlWwmGZdYoa2NyXYjrIooPpNzqkIdEk0rTbkxyHVCk1bJHfKsT3DQTI9xf4ead7rMox20L64m1KBazqE5O4a3MqzOv6vLej7b3h8OX6AOAaDm6zqkuRoejkx1lu45AcvPp8XAl4bAg/SGGDQQW1x0OlfQRXpoFkhICjnr4lsAmajkvZoLWsIKJE+S3IMnw5EopjWDaM5pnPCMFhlkSwys4HeEV/a4wiArErNTxVGP2Z9tWB0CQ5wi8jsN51QQRrt x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR03MB1883; 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:PS1PR03MB1883; BCL:0; PCL:0; RULEID:; SRVR:PS1PR03MB1883; x-forefront-prvs: 0985DA2459 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(189002)(2906002)(97736004)(3660700001)(19300405004)(11100500001)(87936001)(229853001)(10400500002)(3280700002)(2351001)(33656002)(5002640100001)(50986999)(1730700003)(86362001)(575784001)(106356001)(76576001)(66066001)(74316001)(105586002)(15975445007)(77096005)(19580395003)(16236675004)(189998001)(2900100001)(3846002)(122556002)(7846002)(92566002)(9686002)(5003600100003)(7736002)(7696003)(450100001)(5890100001)(9326002)(19625215002)(81166006)(81156014)(68736007)(54356999)(8676002)(2501003)(5640700001)(5630700001)(6116002)(15974865002)(586003)(8936002)(102836003)(790700001)(101416001)(110136002)(107886002); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR03MB1883; 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: 26 Jun 2016 12:59:04.4176 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR03MB1883 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: PS1PR03MB1883.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: Sun, 26 Jun 2016 12:59:10 -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 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