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)
commit6749d59016981bca6d7000e40bdb08eed78dfa6f
tree40e240d9a48ded4875ddad2cdc8a3c931f9b14b4
parent658688ce6c936254c34ea1f31549ec62439574aa
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