]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: include mpls actions in hardware intermediate representation
authorJohn Hurley <john.hurley@netronome.com>
Tue, 23 Jul 2019 14:33:59 +0000 (15:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 20:52:50 +0000 (13:52 -0700)
commitd3789448d5dff52ec5e1a2e620e3a5b978cc1c67
tree40e240d9a48ded4875ddad2cdc8a3c931f9b14b4
parente72737742ac25934ae55fcb896d2e16d19b59354
net: sched: include mpls actions in hardware intermediate representation

A recent addition to TC actions is the ability to manipulate the MPLS
headers on packets.

In preparation to offload such actions to hardware, update the IR code to
accept and prepare the new actions.

Note that no driver currently impliments the MPLS dec_ttl action so this
is not included.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h
include/net/tc_act/tc_mpls.h
net/sched/cls_api.c