From: David Miller <davem@davemloft.net>
To: lucien.xin@gmail.com
Cc: netdev@vger.kernel.org, simon.horman@netronome.com
Subject: Re: [PATCH net-next] lwtunnel: add support for multiple geneve opts
Date: Wed, 20 Nov 2019 10:15:53 -0800 (PST) [thread overview]
Message-ID: <20191120.101553.1725688714844743661.davem@davemloft.net> (raw)
In-Reply-To: <9c4231b54baf60619c110c818ca7a6eb37a2e52e.1574156351.git.lucien.xin@gmail.com>
From: Xin Long <lucien.xin@gmail.com>
Date: Tue, 19 Nov 2019 17:39:11 +0800
> geneve RFC (draft-ietf-nvo3-geneve-14) allows a geneve packet to carry
> multiple geneve opts, so it's necessary for lwtunnel to support adding
> multiple geneve opts in one lwtunnel route. But vxlan and erspan opts
> are still only allowed to add one option.
>
> With this patch, iproute2 could make it like:
>
> # ip r a 1.1.1.0/24 encap ip id 1 geneve_opts 0:0:12121212,1:2:12121212 \
> dst 10.1.0.2 dev geneve1
>
> # ip r a 1.1.1.0/24 encap ip id 1 vxlan_opts 456 \
> dst 10.1.0.2 dev erspan1
>
> # ip r a 1.1.1.0/24 encap ip id 1 erspan_opts 1:123:0:0 \
> dst 10.1.0.2 dev erspan1
>
> Which are pretty much like cls_flower and act_tunnel_key.
>
> Signed-off-by: Xin Long <lucien.xin@gmail.com>
Applied, thanks Xin.
prev parent reply other threads:[~2019-11-20 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 9:39 [PATCH net-next] lwtunnel: add support for multiple geneve opts Xin Long
2019-11-20 18:15 ` David Miller [this message]
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=20191120.101553.1725688714844743661.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=lucien.xin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=simon.horman@netronome.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).