From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 51AEF1B281 for ; Wed, 8 Nov 2017 12:17:14 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2017 03:17:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,364,1505804400"; d="scan'208";a="173142792" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga005.fm.intel.com with ESMTP; 08 Nov 2017 03:17:12 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX153.ger.corp.intel.com ([169.254.9.34]) with mapi id 14.03.0319.002; Wed, 8 Nov 2017 11:17:11 +0000 From: "De Lara Guarch, Pablo" To: "Avi Cohen (A)" , 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//eQRoD/7xE5sA== Date: Wed, 8 Nov 2017 11:17:10 +0000 Message-ID: References: <4048707.fcLJULAWd5@xps> <7246948.uKqDaxhOvY@xps> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTc1YWY2YjgtNzE1Yy00YTRlLThkNmUtNjA2ZTI0Y2Q1ZDE0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdOUjlSRWk0Umd4RDBHRzRFeVEzMUZGd1ZcL0Z3U1FwUG5CZFMyTnpzTWFZPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 11:17:14 -0000 Hi Avi, > -----Original Message----- > From: Avi Cohen (A) [mailto:avi.cohen@huawei.com] > Sent: Wednesday, November 8, 2017 10:22 AM > To: De Lara Guarch, Pablo ; Thomas > Monjalon > Cc: users@dpdk.org; olgas@mellanox.com > Subject: RE: [dpdk-users] IPsec offload >=20 > Pablo > I fixed all issues, now the app. Is running Just to clarify one issue: > 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)" ? You are talking about inline crypto there then, which I am not very familia= rized. With crypto device, I mean a lookaside crypto device, such as QAT PMD (exam= ple of HW device) or AESNI MB PMD (examples of SW device). Regards, Pablo > Regards, > Avi >=20 > > -----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 > > > > 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/guides/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 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 > > > > 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]] > > > > Regards > > Avi > >