aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorJohn Hurley <[email protected]>2019-08-04 16:09:09 +0100
committerDavid S. Miller <[email protected]>2019-08-06 14:24:22 -0700
commit120ffd84a9ec2430faba83db274a6946374f4631 (patch)
tree21139364f5b96d5330d476c11c211c9d11d150df /tools/perf/scripts/python/powerpc-hcalls.py
parentf5c977eed725a000dd4efa6d56e86d88085d0b1b (diff)
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions