From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0088.outbound.protection.outlook.com [104.47.124.88]) by dpdk.org (Postfix) with ESMTP id 3ED425593 for ; Tue, 28 Jun 2016 09:01:06 +0200 (CEST) Received: from PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) by PS1PR03MB1882.apcprd03.prod.outlook.com (10.167.49.152) with Microsoft SMTP Server (TLS) id 15.1.528.16; Tue, 28 Jun 2016 07:01:02 +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.017; Tue, 28 Jun 2016 07:01:02 +0000 From: To: CC: Thread-Topic: [dpdk-dev] [Crypto-API query] Thread-Index: AQHR0QFXZ0+DW3iz3Ua1IVMB6OF3C5/+ZFKggAACq4CAAApIAA== Date: Tue, 28 Jun 2016 07:01:02 +0000 Message-ID: References: <87h9cdoo8r.fsf@fatcat.parallelwireless> <87furxon3k.fsf@fatcat.parallelwireless> In-Reply-To: <87furxon3k.fsf@fatcat.parallelwireless> 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: a6436df0-0743-4217-c1a4-08d39f21f799 x-microsoft-exchange-diagnostics: 1; PS1PR03MB1882; 6:373QBWP8HxJDawZdp4rE2GVI2QBTUHi1lbHn/qlmd1Xf3SNPt2VSHvChqrnDpF7SCmne/oQ4r3RmKtvxFXYAVEA6yW96FqtZiU/aud49vCGqxeG5NV7xePmsafKpVYXyoukooA0V+SP3E45m3WpY2ygY58B7/RKADUnRQo2N3Inn4fiyfnB5QTkajyKke4v2fVOMsDcQjVhG9kXaDu1gWaZGcCpQdaoCWmzdhMg3vmpl8KFmosYykiUlWi5E0mBp7ingQwiFKVDAc5EI8eIZzFitVvdlAv8oA1oDhcUukLxIGbs6hxfuynTjVO72ZROxQhdv95MTpp5nQ8ODxQVLuA==; 5:PLooH0hgdVDdYMQSAIlJ585I9tp6RE7AyzqavD6DEBXHveivr/I5ieNtopwfsqCsUnQBqN+mOOrismWRQ82gOBFhThAWC+sEyo6hHn4AzQBxYo8Qq87MGyditHgoULQnMmIc4eJ40arY1+DE3TvNng==; 24:KvF2uLIhl56+4xHE7IVxiMr8aDPxEzPQdpII83A608vmV89D5c6X9mDCmDAxAeZcQxtHMwtWnn54SzR5R3Q5bmtPkY0oGCVunqwtgq5axlU=; 7:ygSXDW5jQJEmMgBJ47PNX6T/nIJwgKhHbMGXuUwWZaVOy62pQfkku2YqCfNrGm7k0ra3SJsHP5r6UppvdcpW6LecJjbruiCDSdkcMcQmxO7lRAzlEg5s7udZOg7J7e41ztcyWkFOMguPPhSy09chal0+orIichqx+AdSOxB03tyBzUa6Yv3ZKKsXN1bbCeeEC1MA3Cd2cBoRMUDlVwgXDTzHpegtgS/rdZd7TUYrzrVFfPoJbsWrmdDPs7JUIGI6 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR03MB1882; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(267259832677123)(62627912741753); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:PS1PR03MB1882; BCL:0; PCL:0; RULEID:; SRVR:PS1PR03MB1882; x-forefront-prvs: 0987ACA2E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(13464003)(199003)(189002)(377454003)(7696003)(19580405001)(19580395003)(15974865002)(66066001)(81166006)(110136002)(5890100001)(81156014)(189998001)(8676002)(5003600100003)(8936002)(3660700001)(105586002)(106116001)(3280700002)(7846002)(7736002)(9686002)(31430400001)(68736007)(305945005)(106356001)(102836003)(6116002)(50986999)(97736004)(77096005)(10400500002)(3846002)(92566002)(54356999)(76176999)(2906002)(4326007)(586003)(122556002)(15975445007)(2950100001)(2900100001)(87936001)(5002640100001)(11100500001)(33656002)(101416001)(74316001)(93886004)(86362001)(575784001)(76576001)(18886075002); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR03MB1882; 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wipro.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2016 07:01:02.4916 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR03MB1882 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: PS1PR03MB1882.apcprd03.prod.outlook.com Subject: Re: [dpdk-dev] [Crypto-API query] 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: Tue, 28 Jun 2016 07:01:07 -0000 It did compiled by make YASM=3D/usr/bin/yasm for in /home/test/ipsec_043/co= de: Making object file obj/gcm_avx_gen4.o /usr/bin/yasm -f x64 -f elf64 -X gnu -g dwarf2 -D LINUX -D __linux__ -I inc= lude -I . avx2/gcm_avx_gen4.asm -o obj/gcm_avx_gen4.o -------------------------------------------------------------- ar -qcs libIPSec_MB.a obj/aes128_cbc_dec_by4_sse.o obj/aes128_cbc_dec_by8_a= vx.o obj/aes128_cntr_by4_sse.o obj/aes128_cntr_by8_avx.o obj/aes128_ecbenc_= x3.o obj/aes192_cbc_dec_by4_sse.o obj/aes192_cbc_dec_by8_avx.o obj/aes192_c= ntr_by4_sse.o obj/aes192_cntr_by8_avx.o obj/aes256_cbc_dec_by4_sse.o obj/ae= s256_cbc_dec_by8_avx.o obj/aes256_cntr_by4_sse.o obj/aes256_cntr_by8_avx.o = obj/aes_cbc_enc_128_x4.o obj/aes_cbc_enc_128_x8.o obj/aes_cbc_enc_192_x4.o = obj/aes_cbc_enc_192_x8.o obj/aes_cbc_enc_256_x4.o obj/aes_cbc_enc_256_x8.o = obj/aes_keyexp_128.o obj/aes_keyexp_192.o obj/aes_keyexp_256.o obj/aes_xcbc= _mac_128_x4.o obj/aes_xcbc_mac_128_x8.o obj/mb_mgr_aes192_flush_avx.o obj/m= b_mgr_aes192_flush_sse.o obj/mb_mgr_aes192_submit_avx.o obj/mb_mgr_aes192_s= ubmit_sse.o obj/mb_mgr_aes256_flush_avx.o obj/mb_mgr_aes256_flush_sse.o obj= /mb_mgr_aes256_submit_avx.o obj/mb_mgr_aes256_submit_sse.o obj/mb_mgr_aes_f= lush_avx.o obj/mb_mgr_aes_flush_sse.o obj/mb_mgr_aes_submit_avx.o obj/mb_mg= r_aes_submit_sse.o obj/mb_mgr_aes_xcbc_flush_avx.o obj/mb_mgr_aes_xcbc_flus= h_sse.o obj/mb_mgr_aes_xcbc_submit_avx.o obj/mb_mgr_aes_xcbc_submit_sse.o o= bj/mb_mgr_hmac_flush_avx.o obj/mb_mgr_hmac_flush_avx2.o obj/mb_mgr_hmac_flu= sh_sse.o obj/mb_mgr_hmac_md5_flush_avx.o obj/mb_mgr_hmac_md5_flush_avx2.o o= bj/mb_mgr_hmac_md5_flush_sse.o obj/mb_mgr_hmac_md5_submit_avx.o obj/mb_mgr_= hmac_md5_submit_avx2.o obj/mb_mgr_hmac_md5_submit_sse.o obj/mb_mgr_hmac_sha= _224_flush_avx.o obj/mb_mgr_hmac_sha_224_flush_avx2.o obj/mb_mgr_hmac_sha_2= 24_flush_sse.o obj/mb_mgr_hmac_sha_224_submit_avx.o obj/mb_mgr_hmac_sha_224= _submit_avx2.o obj/mb_mgr_hmac_sha_224_submit_sse.o obj/mb_mgr_hmac_sha_256= _flush_avx.o obj/mb_mgr_hmac_sha_256_flush_avx2.o obj/mb_mgr_hmac_sha_256_f= lush_sse.o obj/mb_mgr_hmac_sha_256_submit_avx.o obj/mb_mgr_hmac_sha_256_sub= mit_avx2.o obj/mb_mgr_hmac_sha_256_submit_sse.o obj/mb_mgr_hmac_sha_384_flu= sh_avx.o obj/mb_mgr_hmac_sha_384_flush_avx2.o obj/mb_mgr_hmac_sha_384_flush= _sse.o obj/mb_mgr_hmac_sha_384_submit_avx.o obj/mb_mgr_hmac_sha_384_submit_= avx2.o obj/mb_mgr_hmac_sha_384_submit_sse.o obj/mb_mgr_hmac_sha_512_flush_a= vx.o obj/mb_mgr_hmac_sha_512_flush_avx2.o obj/mb_mgr_hmac_sha_512_flush_sse= .o obj/mb_mgr_hmac_sha_512_submit_avx.o obj/mb_mgr_hmac_sha_512_submit_avx2= .o obj/mb_mgr_hmac_sha_512_submit_sse.o obj/mb_mgr_hmac_submit_avx.o obj/mb= _mgr_hmac_submit_avx2.o obj/mb_mgr_hmac_submit_sse.o obj/md5_x4x2_avx.o obj= /md5_x4x2_sse.o obj/md5_x8x2_avx2.o obj/save_xmms.o obj/sha1_mult_avx.o obj= /sha1_mult_sse.o obj/sha1_one_block_avx.o obj/sha1_one_block_sse.o obj/sha1= _x8_avx2.o obj/sha224_one_block_avx.o obj/sha224_one_block_sse.o obj/sha256= _oct_avx2.o obj/sha256_one_block_avx.o obj/sha256_one_block_sse.o obj/sha38= 4_one_block_avx.o obj/sha384_one_block_sse.o obj/sha512_one_block_avx.o obj= /sha512_one_block_sse.o obj/sha512_x2_avx.o obj/sha512_x2_sse.o obj/sha512_= x4_avx2.o obj/sha_256_mult_avx.o obj/sha_256_mult_sse.o obj/aes_xcbc_expand= _key.o obj/mb_mgr_avx.o obj/mb_mgr_avx2.o obj/mb_mgr_sse.o obj/md5_one_bloc= k.o obj/gcm_sse.o obj/gcm_avx_gen2.o obj/gcm_avx_gen4.o Next, export AESNI_MULTI_BUFFER_LIB_PATH=3D/home/test/ipsec_043/code and CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dy in config/common_base done. Then I was trying to run from by ./l2fwd-crypto -c 40 -n 4 --vdev=3D"crypto= dev_aesni_mb_pmd,socket_id=3D1,max_nb_sessions=3D128" from below path: /home/test/dpdk-16.04/examples/l2fwd-crypto/build But getting same 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 0x7f944a800000 (size =3D 0x1e00000) EAL: Ask a virtual area of 0x3e200000 bytes EAL: Virtual area found at 0x7f940c400000 (size =3D 0x3e200000) EAL: Ask a virtual area of 0x3fc00000 bytes EAL: Virtual area found at 0x7f93cc600000 (size =3D 0x3fc00000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f93cc200000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f93cbe00000 (size =3D 0x200000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: TSC frequency is ~1995194 KHz EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using unreli= able clock cycles ! EAL: Master lcore 0 is ready (tid=3D4e8d18c0;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: [./l2fwd-crypto() [0x42e0a3]] 5: [/lib64/libc.so.6(__libc_start_main+0xf0) [0x7f944d9f2fe0]] 4: [./l2fwd-crypto(main+0x2f) [0x42b2cf]] 3: [./l2fwd-crypto(rte_eal_init+0xdc0) [0x49f920]] 2: [./l2fwd-crypto(__rte_panic+0xc9) [0x425008]] 1: [./l2fwd-crypto(rte_dump_stack+0x18) [0x4a6748]] Aborted (core dumped) Not sure about the problem, any path setting wrong so that it is not fetchi= ng? Thanks, Amartya -----Original Message----- From: Anupam Kapoor [mailto:anupam.kapoor@gmail.com] Sent: Tuesday, June 28, 2016 11:46 AM To: Amartya Kumar Das (MFG & Tech) Cc: anupam.kapoor@gmail.com; dev@dpdk.org Subject: Re: [dpdk-dev] [Crypto-API query] ** This mail has been sent from an external source ** >>>>> [2016-06-28T11:39:08+0530]: "amartya.das" (amartya.das): ,----[ amartya.das ] | EAL: no driver found for cryptodev_aesni_mb_pmd | EAL: failed to initialize cryptodev_aesni_mb_pmd device `---- i have a _hunch_ that you have might have missed building the multi-buffer-= crypto-pmd... for more information take a look here: http://dpdk.readthedocs.io/en/v16.04/cryptodevs/index.html -- thanks anupam 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