aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-08-04 16:09:09 +0100
committerDavid S. Miller <davem@davemloft.net>2019-08-06 14:24:22 -0700
commit120ffd84a9ec2430faba83db274a6946374f4631 (patch)
tree21139364f5b96d5330d476c11c211c9d11d150df /LICENSES
parentnfp: flower: detect potential pre-tunnel rules (diff)
downloadlinux-dev-120ffd84a9ec2430faba83db274a6946374f4631.tar.xz
linux-dev-120ffd84a9ec2430faba83db274a6946374f4631.zip
nfp: flower: verify pre-tunnel rules
Pre-tunnel rules must direct packets to an internal port based on L2 information. Rules that egress to an internal port are already indicated by a non-NULL device in its nfp_fl_payload struct. Verfiy the rest of the match fields indicate that the rule is a pre-tunnel rule. This requires a full match on the destination MAC address, an option VLAN field, and no specific matches on other lower layer fields (with the exception of L4 proto and flags). If a rule is identified as a pre-tunnel rule then mark it for offload to the pre-tunnel table. Similarly, remove it from the pre-tunnel table on rule deletion. The actual offloading of these commands is left to a following patch. 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 'LICENSES')
0 files changed, 0 insertions, 0 deletions