aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2022-07-04 22:44:05 +0200
committerDavid S. Miller <[email protected]>2022-07-06 12:44:39 +0100
commit4d1e07d83ccc87f210e5b852b0a5ea812a2f191c (patch)
tree01fa9fc940185a231a27369ef54ea437bff3d4d0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent052f744f44462cc49b88a125b0f7b93a9e47a9dd (diff)
net/mlx5e: Fix matchall police parameters validation
Referenced commit prepared the code for upcoming extension that allows mlx5 to offload police action attached to flower classifier. However, with regard to existing matchall classifier offload validation should be reversed as FLOW_ACTION_CONTINUE is the only supported notexceed police action type. Fix the problem by allowing FLOW_ACTION_CONTINUE for police action and extend scan_tc_matchall_fdb_actions() to only allow such actions with matchall classifier. Fixes: d97b4b105ce7 ("flow_offload: reject offload for all drivers with invalid police parameters") Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions