The module act_mpls has recently been added to the kernel. This allows the manipulation of MPLS headers on packets including push, pop and modify. Add these new actions and parameters to the intermediate representation API for hardware offload. Follow this by implementing the offload of these MPLS actions in the NFP driver.
John Hurley (4): net: sched: include mpls actions in hardware intermediate representation nfp: flower: offload MPLS push action nfp: flower: offload MPLS pop action nfp: flower: offload MPLS set action drivers/net/ethernet/netronome/nfp/flower/action.c | 120 +++++++++++++++++++++ drivers/net/ethernet/netronome/nfp/flower/cmsg.h | 21 ++++ include/net/flow_offload.h | 19 ++++ include/net/tc_act/tc_mpls.h | 75 +++++++++++++ net/sched/cls_api.c | 25 +++++ 5 files changed, 260 insertions(+) -- 2.7.4