From: Guillaume Nault <gnault@redhat.com>
To: David Ahern <dsahern@gmail.com>
Cc: netdev@vger.kernel.org, martin.varghese@nokia.com
Subject: [PATCH iproute2-next 0/2] tc: support for new MPLS L2 VPN actions
Date: Tue, 13 Oct 2020 16:32:06 +0200 [thread overview]
Message-ID: <cover.1602598178.git.gnault@redhat.com> (raw)
This patch series adds the possibility for TC to tunnel Ethernet frames
over MPLS.
Patch 1 allows adding or removing the Ethernet header.
Patch 2 allows pushing an MPLS LSE before the MAC header.
By combining these actions, it becomes possible to encapsulate an
entire Ethernet frame into MPLS, then add an outer Ethernet header
and send the resulting frame to the next hop.
Guillaume Nault (2):
m_vlan: add pop_eth and push_eth actions
m_mpls: add mac_push action
lib/ll_proto.c | 1 +
man/man8/tc-mpls.8 | 44 ++++++++++++++++++--
man/man8/tc-vlan.8 | 44 ++++++++++++++++++--
tc/m_mpls.c | 41 +++++++++++++------
tc/m_vlan.c | 69 +++++++++++++++++++++++++++++++
testsuite/tests/tc/mpls.t | 69 +++++++++++++++++++++++++++++++
testsuite/tests/tc/vlan.t | 86 +++++++++++++++++++++++++++++++++++++++
7 files changed, 335 insertions(+), 19 deletions(-)
create mode 100755 testsuite/tests/tc/mpls.t
create mode 100755 testsuite/tests/tc/vlan.t
--
2.21.3
next reply other threads:[~2020-10-13 14:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-13 14:32 Guillaume Nault [this message]
2020-10-13 14:32 ` [PATCH iproute2-next 1/2] m_vlan: add pop_eth and push_eth actions Guillaume Nault
2020-10-13 14:32 ` [PATCH iproute2-next 2/2] m_mpls: add mac_push action Guillaume Nault
2020-10-17 15:23 ` David Ahern
2020-10-19 13:39 ` Guillaume Nault
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=cover.1602598178.git.gnault@redhat.com \
--to=gnault@redhat.com \
--cc=dsahern@gmail.com \
--cc=martin.varghese@nokia.com \
--cc=netdev@vger.kernel.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).