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:01 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-16 01:45:36 +0300
commit1c6952ca587d54512f79ba78cb20092c598a7385 (patch)
tree83f8d0087ddd468113f2068e69dcb24f1a489586 /tools/perf/scripts/python/exported-sql-viewer.py
parent107e37bb4f887a2078b9d484f1508c1e44d64985 (diff)
downloadlinux-1c6952ca587d54512f79ba78cb20092c598a7385.tar.xz
nfp: flower: generate merge flow rule
When combining 2 sub_flows to a single 'merge flow' (assuming the merge is valid), the merge flow should contain the same match fields as sub_flow 1 with actions derived from a combination of sub_flows 1 and 2. This action list should have all actions from sub_flow 1 with the exception of the output action that triggered the 'implicit recirculation' by sending to an internal port, followed by all actions of sub_flow 2. Any pre-actions in either sub_flow should feature at the start of the action list. Add code to generate a new merge flow and populate the match and actions fields based on the sub_flows. The offloading of the flow is left to future patches. 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