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 3A1D81B339 for ; Tue, 7 Nov 2017 10:49:19 +0100 (CET) Received: from 172.18.7.190 (EHLO lhreml705-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DSD55217; Tue, 07 Nov 2017 09:49:18 +0000 (GMT) Received: from FRAEML701-CAH.china.huawei.com (10.206.14.32) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 7 Nov 2017 09:49:18 +0000 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.209]) by FRAEML701-CAH.china.huawei.com ([10.206.14.32]) with mapi id 14.03.0361.001; Tue, 7 Nov 2017 10:49:15 +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///n5bAAJnZKgP//7gbA Date: Tue, 7 Nov 2017 09:49:14 +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-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.0A020201.5A01819E.01B5, 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: Tue, 07 Nov 2017 09:49:19 -0000 Hi Pablo When running - I get "Unable to parse device 'crypto_aesni_gcm0' (then the = app. Exit)=20 Regards, Avi > -----Original Message----- > From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@intel.com] > Sent: Tuesday, 07 November, 2017 11:43 AM > To: Avi Cohen (A); Thomas Monjalon > Cc: users@dpdk.org; olgas@mellanox.com > Subject: RE: [dpdk-users] IPsec offload >=20 > Hi Avi, >=20 > > -----Original Message----- > > From: Avi Cohen (A) [mailto:avi.cohen@huawei.com] > > Sent: Monday, November 6, 2017 5:16 PM > > To: De Lara Guarch, Pablo ; Thomas > > Monjalon > > Cc: users@dpdk.org; olgas@mellanox.com > > Subject: RE: [dpdk-users] IPsec offload > > > > Pablo > > This cmd-line is for a crypto-device - correct ? > > What is the cmd-line for Ethernet device ? (I already bound this > > Ethernet device to dpdk) Regards Avi >=20 > That command line is initializing a software-based crypto device. > It assumes that you have one physical Ethernet device (it will use it due= to the - > p and --config options). >=20 > Pablo >=20 > > > > > -----Original Message----- > > > From: De Lara Guarch, Pablo [mailto:pablo.de.lara.guarch@intel.com] > > > Sent: Monday, 06 November, 2017 6:48 PM > > > To: Avi Cohen (A); Thomas Monjalon > > > Cc: users@dpdk.org; olgas@mellanox.com > > > Subject: RE: [dpdk-users] IPsec offload > > > > > > > > > > > > > -----Original Message----- > > > > From: Avi Cohen (A) [mailto:avi.cohen@huawei.com] > > > > Sent: Monday, November 6, 2017 4:42 PM > > > > To: De Lara Guarch, Pablo ; Thomas > > > > Monjalon > > > > Cc: users@dpdk.org; olgas@mellanox.com > > > > Subject: RE: [dpdk-users] IPsec offload > > > > > > > > Thank you Pablo > > > > Can you supply an example command line to run the ipsec-secgw ? > > > > > > ./examples/ipsec-secgw/build/ipsec-secgw -l 10,11 -n 4 -- > > > vdev=3D"crypto_aesni_gcm0" / > > > -- -p 0x1 -P --config=3D"(0,0,10)" -f ep-sample.cfg > > > > > > Where ep-sample.cfg contains: > > > > > > sp ipv4 out esp protect 0010 pri 1 dst 001.0.0.0/24 sport 0:65535 > > > dport 0:65535 sa out 0010 aead_algo aes-128-gcm aead_key > > de:ad:be:ef:de:ad:be:ef:de:ad:be: > > > ef:de:ad:be:ef:de:ad:be:ef mode ipv4-tunnel src 20.0.0.0 dst > > > 21.0.0.0 rt ipv4 dst > > > 21.0.0.0/8 port 0 > > > > > > > > > > Regards > > > > Avi > > > > > > > > > -----Original Message----- > > > > > From: De Lara Guarch, Pablo > > > > > [mailto:pablo.de.lara.guarch@intel.com] > > > > > Sent: Monday, 06 November, 2017 6:37 PM > > > > > To: Avi Cohen (A); Thomas Monjalon > > > > > Cc: users@dpdk.org; olgas@mellanox.com > > > > > Subject: RE: [dpdk-users] IPsec offload > > > > > > > > > > Hi Avi, > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Avi > > > > > > Cohen > > > > > > (A) > > > > > > Sent: Monday, November 6, 2017 3:53 PM > > > > > > To: Thomas Monjalon > > > > > > Cc: users@dpdk.org; olgas@mellanox.com > > > > > > Subject: Re: [dpdk-users] IPsec offload > > > > > > > > > > > > Thank you Thomas > > > > > > When I run the ipsec-secgw sample app. The program is exiting > > > > > > with error 'Mandatory option "-f" not present' > > > > > > What is this option ? config file ? > > > > > > > > > > Yes, that's a configuration file, like the one that you can find > > > > > in ep0.cfg or ep1.cfg. > > > > > > > > > > Pablo