From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by dpdk.org (Postfix) with ESMTP id 33D711B2E0 for ; Wed, 8 Nov 2017 11:22:39 +0100 (CET) Received: from 172.18.7.190 (EHLO lhreml703-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DSF10742; Wed, 08 Nov 2017 10:22:17 +0000 (GMT) Received: from FRAEML704-CAH.china.huawei.com (10.206.14.35) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 8 Nov 2017 10:22:15 +0000 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.209]) by FRAEML704-CAH.china.huawei.com ([10.206.14.35]) with mapi id 14.03.0361.001; Wed, 8 Nov 2017 11:22:14 +0100 From: "Avi Cohen (A)" To: "De Lara Guarch, Pablo" , Thomas Monjalon CC: "users@dpdk.org" , "olgas@mellanox.com" Thread-Topic: [dpdk-users] IPsec offload Thread-Index: AdNWEJZww10MSYRtTmqj3ER7vsBW+wAgf84AABWgwGD///12AP//of+ggAC4lAD//+5ZQIAAFKCA//7iG6AASrfkAP//y4NQ//+SQQD//fLfkP/70PxQ//eQRoA= Date: Wed, 8 Nov 2017 10:22:13 +0000 Message-ID: References: <4048707.fcLJULAWd5@xps> <7246948.uKqDaxhOvY@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.200.202.145] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.5A02DAEE.008C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.209, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 49c02e895fcedd6271fad424c17d48d4 Subject: Re: [dpdk-users] IPsec offload X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 10:22:39 -0000 Pablo I fixed all issues, now the app. Is running=20 Just to clarify one issue: I meant that my Ethernet device x540 is capable to do IPsec encryption in H= W. What did you mean "a crypto device (SW or HW)" ? Regards, Avi > -----Original Message----- > From: Avi Cohen (A) > Sent: Wednesday, 08 November, 2017 11:21 AM > To: 'De Lara Guarch, Pablo'; 'Thomas Monjalon' > Cc: 'users@dpdk.org'; 'olgas@mellanox.com' > Subject: RE: [dpdk-users] IPsec offload >=20 > Hi Pablo, >=20 > > 1 - Double check you are using the latest IPSec library (0.47) and > = that you > are linking against it (just follow the documentation). > > 2 - That's a network device, not a crypto device. > [Avi Cohen (A)] > 1. I meant that my Ethernet device x540 is capable to do IPsec encryptio= n in > HW. > What did you mean "a crypto device (SW or HW)" ? >=20 > 2. I also I enable the IESNI_GCM_PMD according the > http://dpdk.org/doc/guides/cryptodevs/aesni_gcm.html , but still receiv= e this > error in init (: unrecognized input "sa") >=20 >=20 > ./ipsec-secgw -l 20,21 -n 4 --vdev "crypto_aesni_gcm" -- -p 0xf -P -u 0x= 3 -- > config=3D"(0,0,20),(1,0,20),(2,0,21),(3,0,21)" -f ep-sample.cfg >=20 > EAL: Detected 24 lcore(s) > EAL: 16 hugepages of size 1073741824 reserved, but no mounted hugetlbfs > found for that size > EAL: Probing VFIO support... > EAL: PCI device 0000:01:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:01:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:04:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:04:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:08:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > EAL: PCI device 0000:08:00.1 on NUMA socket 0 > EAL: probe driver: 8086:1521 net_e1000_igb > CRYPTODEV: [crypto_aesni_gcm] - Creating cryptodev crypto_aesni_gcm >=20 > CRYPTODEV: [crypto_aesni_gcm] - Initialisation parameters - name: > crypto_aesni_gcm,socket id: 0, max queue pairs: 8, max sessions: 2048 > Promiscuous mode selected PANIC in parse_cfg_file(): > ep-sample.cfg:1: error: unrecognized input "sa" > 6: [./ipsec-secgw(_start+0x29) [0x44a0f9]] > 5: [/lib64/libc.so.6(__libc_start_main+0xf1) [0x7fe3cd492731]] > 4: [./ipsec-secgw(main+0xdd) [0x445d2d]] > 3: [./ipsec-secgw(parse_cfg_file+0x3d0) [0x44b180]] > 2: [./ipsec-secgw(__rte_panic+0xb8) [0x440d83]] > 1: [./ipsec-secgw(rte_dump_stack+0x16) [0x4b5876]] >=20 > Regards > Avi >=20