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 51CD11B2D1 for ; Wed, 8 Nov 2017 10:20:47 +0100 (CET) Received: from 172.18.7.190 (EHLO lhreml705-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DZJ88640; Wed, 08 Nov 2017 09:20:46 +0000 (GMT) Received: from FRAEML702-CAH.china.huawei.com (10.206.14.33) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 8 Nov 2017 09:20:45 +0000 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.209]) by fraeml702-cah.china.huawei.com ([10.206.14.33]) with mapi id 14.03.0361.001; Wed, 8 Nov 2017 10:20:42 +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 Date: Wed, 8 Nov 2017 09:20:41 +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.0A020206.5A02CC6E.015C, 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: a375d8f16170297ab738195d38eb714e 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 09:20:47 -0000 Hi Pablo, > 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 encryption = in HW. What did you mean "a crypto device (SW or HW)" ? 2. I also I enable the IESNI_GCM_PMD according the http://dpdk.org/doc/gui= des/cryptodevs/aesni_gcm.html , but still receive this error in init (: = unrecognized input "sa") ./ipsec-secgw -l 20,21 -n 4 --vdev "crypto_aesni_gcm" -- -p 0xf -P -u 0x3 = --config=3D"(0,0,20),(1,0,20),(2,0,21),(3,0,21)" -f ep-sample.cfg EAL: Detected 24 lcore(s) EAL: 16 hugepages of size 1073741824 reserved, but no mounted hugetlbfs fou= nd 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 CRYPTODEV: [crypto_aesni_gcm] - Initialisation parameters - name: crypto_ae= sni_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