]> git.proxmox.com Git - mirror_ovs.git/commit - lib/tc.c
ovs-tc: offload MPLS pop actions to TC datapath
authorJohn Hurley <john.hurley@netronome.com>
Tue, 30 Jul 2019 11:05:15 +0000 (12:05 +0100)
committerSimon Horman <simon.horman@netronome.com>
Thu, 1 Aug 2019 16:09:42 +0000 (18:09 +0200)
commit55412eac6937174252827b630226199d95b196f4
treec658cd6e84b5d07f601c01747f646e3b6c2b266a
parentabef79598cc6c2e33d6219f032a86fb864443c5c
ovs-tc: offload MPLS pop actions to TC datapath

TC now supports an action to pop the outer MPLS header from a packet. The
next protocol after the header is required alongside this. Currently, OvS
datapath rules also supply this information.

Offload OvS MPLS pop actions to TC along with the next protocol.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-offload-tc.c
lib/tc.c
lib/tc.h