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 6E5731B209 for ; Mon, 6 Nov 2017 18:16:31 +0100 (CET) Received: from 172.18.7.190 (EHLO lhreml709-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DSC70558; Mon, 06 Nov 2017 17:16:30 +0000 (GMT) Received: from FRAEML702-CAH.china.huawei.com (10.206.14.33) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 6 Nov 2017 17:16:29 +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; Mon, 6 Nov 2017 18:16:27 +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///n5bA= Date: Mon, 6 Nov 2017 17:16:27 +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.0A020204.5A0098EE.0212, 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: Mon, 06 Nov 2017 17:16:31 -0000 Pablo This cmd-line is for a crypto-device - correct ?=20 What is the cmd-line for Ethernet device ? (I already bound this Ethernet = device to dpdk) Regards Avi > -----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 >=20 >=20 >=20 > > -----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 ? >=20 > ./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 >=20 > Where ep-sample.cfg contains: >=20 > 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 >=20 >=20 > > 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