aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-08-04 16:09:08 +0100
committerDavid S. Miller <davem@davemloft.net>2019-08-06 14:24:21 -0700
commitf5c977eed725a000dd4efa6d56e86d88085d0b1b (patch)
treece554efedb1159dc7e2527562c2b1eaa2ff83d8f /drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c
parentnfp: flower: push vlan after tunnel in merge (diff)
downloadlinux-dev-f5c977eed725a000dd4efa6d56e86d88085d0b1b.tar.xz
linux-dev-f5c977eed725a000dd4efa6d56e86d88085d0b1b.zip
nfp: flower: detect potential pre-tunnel rules
Pre-tunnel rules are used when the tunnel end-point is on an 'internal port'. These rules are used to direct the tunnelled packets (based on outer header fields) to the internal port where they can be detunnelled. The rule must send the packet to ingress the internal port at the TC layer. Currently FW does not support an action to send to ingress so cannot offload such rules. However, in preparation for populating the pre-tunnel table to represent such rules, check for rules that send to the ingress of an internal port and mark them as such. Further validation of such rules is left to subsequent patches. Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c')
0 files changed, 0 insertions, 0 deletions