DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ori Kam <orika@mellanox.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "Xueming(Steven) Li" <xuemingl@mellanox.com>,
	Dekel Peled <dekelp@mellanox.com>,
	Shahaf Shuler <shahafs@mellanox.com>,
	Adrien Mazarguil <adrien.mazarguil@6wind.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	Yongseok Koh <yskoh@mellanox.com>,
	"ferruh.yigit@intel.com" <ferruh.yigit@intel.com>,
	"arybchenko@solarflare.com" <arybchenko@solarflare.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [RFC] ethdev: add generic L2/L3 tunnel encapsulation actions
Date: Mon, 30 Jul 2018 18:02:46 +0000	[thread overview]
Message-ID: <AM4PR05MB34253D6B66EA5F29ECD78999DB2F0@AM4PR05MB3425.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180730102836.00605a3e@xeon-e3>



> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> Sent: Monday, July 30, 2018 8:29 PM
> To: Ori Kam <orika@mellanox.com>
> Cc: Xueming(Steven) Li <xuemingl@mellanox.com>; Dekel Peled
> <dekelp@mellanox.com>; Shahaf Shuler <shahafs@mellanox.com>; Adrien
> Mazarguil <adrien.mazarguil@6wind.com>; Thomas Monjalon
> <thomas@monjalon.net>; Yongseok Koh <yskoh@mellanox.com>;
> ferruh.yigit@intel.com; arybchenko@solarflare.com; dev@dpdk.org
> Subject: Re: [dpdk-dev] [RFC] ethdev: add generic L2/L3 tunnel
> encapsulation actions
> 
> On Mon, 30 Jul 2018 19:19:25 +0300
> Ori Kam <orika@mellanox.com> wrote:
> 
> > Currenlty the encap/decap actions only support encapsulation
> > of VXLAN and NVGRE L2 packets.
> > There is a need to add more L2 tunnels and also L3 tunnels.
> >
> > One issue with the current approch is the duplication of code.
> > For example the code for handling NVGRE and VXLAN are exactly the
> same,
> > and each new tunnel will have the same exact structure.
> >
> > Last issue with the current approach is the use of rte_items.
> > The most significant issue with that is that the PMD needs to convert
> > the items and this hurts the insertion rate. Other issue is that
> > the rte_item has 3 members while we only need the spec (last and mask
> > are useless). I know that the extra member have only small memory
> > impact but considering that we can have millions of rules, this became
> > more important consideration, and it is bad practice to add a variable
> > that is never used.
> >
> > My suggestion is to create 2 commands, one for encapsulation of L2
> > packets and one for encapsulation of L3 tunnels.
> > The parameters for those functions will be a uint8_t buffer with
> > a length parameter.
> >
> > The current approach is not implemented yet in drivers yet, and
> > is marked as experimental, so it should be removed.
> >
> > Any comments will be hugely appreciated.
> >
> > Signed-off-by: Ori Kam <orika@mellanox.com>
> 
> What about binary and source compatibilities with older release?

I'm not sure what you mean, currently this feature is not implemented 
In any PMD (as far as I can see) so no one uses it, and it is marked as
experimental. In any case if this is an issue we can keep the old one and just 
add the new one. 

Best,
Ori

  reply	other threads:[~2018-07-30 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 16:19 Ori Kam
2018-07-30 17:28 ` Stephen Hemminger
2018-07-30 18:02   ` Ori Kam [this message]
2018-08-22  5:57   ` Ori Kam
2018-08-23 12:12 ` Ferruh Yigit

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=AM4PR05MB34253D6B66EA5F29ECD78999DB2F0@AM4PR05MB3425.eurprd05.prod.outlook.com \
    --to=orika@mellanox.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=arybchenko@solarflare.com \
    --cc=dekelp@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=shahafs@mellanox.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    --cc=xuemingl@mellanox.com \
    --cc=yskoh@mellanox.com \
    /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).