DPDK usage discussions
 help / color / mirror / Atom feed
From: "Avi Cohen (A)" <avi.cohen@huawei.com>
To: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>,
	Thomas Monjalon <thomas@monjalon.net>
Cc: "users@dpdk.org" <users@dpdk.org>,
	"olgas@mellanox.com" <olgas@mellanox.com>
Subject: Re: [dpdk-users] IPsec offload
Date: Tue, 7 Nov 2017 09:49:14 +0000	[thread overview]
Message-ID: <B84047ECBD981D4B93EAE5A6245AA361013F10A8@FRAEML521-MBX.china.huawei.com> (raw)
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8976CC458BF@IRSMSX108.ger.corp.intel.com>

Hi Pablo
When running - I get "Unable to parse device 'crypto_aesni_gcm0' (then the app. Exit) 
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
> 
> Hi Avi,
> 
> > -----Original Message-----
> > From: Avi Cohen (A) [mailto:avi.cohen@huawei.com]
> > Sent: Monday, November 6, 2017 5:16 PM
> > To: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Thomas
> > Monjalon <thomas@monjalon.net>
> > 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
> 
> 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).
> 
> Pablo
> 
> >
> > > -----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 <pablo.de.lara.guarch@intel.com>; Thomas
> > > > Monjalon <thomas@monjalon.net>
> > > > 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="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: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 <thomas@monjalon.net>
> > > > > > 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

  reply	other threads:[~2017-11-07  9:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-05  8:32 Avi Cohen (A)
2017-11-06  1:02 ` Thomas Monjalon
2017-11-06 10:25   ` Avi Cohen (A)
2017-11-06 11:13     ` Thomas Monjalon
2017-11-06 15:53       ` Avi Cohen (A)
2017-11-06 16:37         ` De Lara Guarch, Pablo
2017-11-06 16:42           ` Avi Cohen (A)
2017-11-06 16:47             ` De Lara Guarch, Pablo
2017-11-06 17:16               ` Avi Cohen (A)
2017-11-07  9:42                 ` De Lara Guarch, Pablo
2017-11-07  9:49                   ` Avi Cohen (A) [this message]
2017-11-07  9:51                     ` De Lara Guarch, Pablo
2017-11-07  8:54               ` Avi Cohen (A)
2017-11-07 11:24                 ` De Lara Guarch, Pablo
2017-11-07 13:36                   ` Avi Cohen (A)
2017-11-07 14:48                     ` De Lara Guarch, Pablo
2017-11-08  8:05                       ` Avi Cohen (A)
2017-11-08  9:20                       ` Avi Cohen (A)
2017-11-08 10:22                       ` Avi Cohen (A)
2017-11-08 11:17                         ` De Lara Guarch, Pablo
2017-11-08 11:39                           ` Avi Cohen (A)
2017-11-08 11:53                             ` De Lara Guarch, Pablo
2017-11-08 11:50       ` Avi Cohen (A)
2017-11-08 12:20         ` De Lara Guarch, Pablo
2017-11-08 12:39           ` Avi Cohen (A)
2017-11-08 13:26             ` De Lara Guarch, Pablo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B84047ECBD981D4B93EAE5A6245AA361013F10A8@FRAEML521-MBX.china.huawei.com \
    --to=avi.cohen@huawei.com \
    --cc=olgas@mellanox.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=thomas@monjalon.net \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).