diff options
author | John Hurley <[email protected]> | 2019-04-15 16:56:00 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-04-15 15:45:36 -0700 |
commit | 107e37bb4f887a2078b9d484f1508c1e44d64985 (patch) | |
tree | 641452bd016e943256f59589600c701445f50afa /tools/perf/scripts/python/syscall-counts.py | |
parent | dbc2d68edc987cd9941428c0845641c64737c3ee (diff) |
nfp: flower: validate merge hint flows
Two flows can be merged if the second flow (after recirculation) matches
on bits that are either matched on or explicitly set by the first flow.
This means that if a packet hits flow 1 and recirculates then it is
guaranteed to hit flow 2.
Add a 'can_merge' function that determines if 2 sub_flows in a merge hint
can be validly merged to a single flow.
Signed-off-by: John Hurley <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions