]> 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)
commitef0ce4ea9f7aad1c078a0bd7348ac1174e407f9b
tree40e240d9a48ded4875ddad2cdc8a3c931f9b14b4
parent48605014cc9429543f879d9c5b37931bef82bacb
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