nfp: flower: offload MPLS push action
authorJohn Hurley <john.hurley@netronome.com>
Tue, 23 Jul 2019 14:34:00 +0000 (15:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 20:52:50 +0000 (13:52 -0700)
commita6eb1817fb9860cbd630ceb05dae0491993bfd85
tree81776c27c89261f56f35e3f607373c08d7e1dd43
parent6749d59016981bca6d7000e40bdb08eed78dfa6f
nfp: flower: offload MPLS push action

Recent additions to the kernel include a TC action module to manipulate
MPLS headers on packets. Such actions are available to offload via the
flow_offload intermediate representation API.

Modify the NFP driver to allow the offload of MPLS push actions to
firmware.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/action.c
drivers/net/ethernet/netronome/nfp/flower/cmsg.h