summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2019-04-15 17:56:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-16 01:45:36 +0300
commit107e37bb4f887a2078b9d484f1508c1e44d64985 (patch)
tree641452bd016e943256f59589600c701445f50afa /tools/perf/scripts/python/exported-sql-viewer.py
parentdbc2d68edc987cd9941428c0845641c64737c3ee (diff)
downloadlinux-107e37bb4f887a2078b9d484f1508c1e44d64985.tar.xz
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 <john.hurley@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions