summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEdward Cree <ecree.xilinx@gmail.com>2022-11-14 13:16:00 +0000
committerDavid S. Miller <davem@davemloft.net>2022-11-16 09:07:03 +0000
commit83a187a4eb3a8d7b747e7cfd48228dbc4dbb5c92 (patch)
tree7f4fe96dc8023b5aa2ad821c8c5161f51d746c54 /tools/perf/scripts/python/export-to-postgresql.py
parent2e0f1eb05692b489bb9fdd30617b52022a93b2e3 (diff)
sfc: validate MAE action order
Currently the only actions supported are COUNT and DELIVER, which can only happen in the right order; but when more actions are added, it will be necessary to check that they are only used in the same order in which the hardware performs them (since the hardware API takes an action *set* in which the order is implicit). For instance, a VLAN pop must not follow a VLAN push. Most practical use-cases should be unaffected by these restrictions. Add a function efx_tc_flower_action_order_ok() that checks whether it is appropriate to add a specified action to the existing action-set. Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions