> -----Original Message-----
> From: Avi Cohen (A) [mailto:[email protected]]
> Sent: Monday, November 6, 2017 4:42 PM
> To: De Lara Guarch, Pablo <[email protected]>; Thomas
> Monjalon <[email protected]>
> Cc: [email protected]; [email protected]
> 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="crypto_aesni_gcm0" /
-- -p 0x1 -P --config="(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:[email protected]]
> > Sent: Monday, 06 November, 2017 6:37 PM
> > To: Avi Cohen (A); Thomas Monjalon
> > Cc: [email protected]; [email protected]
> > Subject: RE: [dpdk-users] IPsec offload
> >
> > Hi Avi,
> >
> >
> > > -----Original Message-----
> > > From: users [mailto:[email protected]] On Behalf Of Avi Cohen
> > > (A)
> > > Sent: Monday, November 6, 2017 3:53 PM
> > > To: Thomas Monjalon <[email protected]>
> > > Cc: [email protected]; [email protected]
> > > 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

Reply via email to