diff options
author | Chris Mi <[email protected]> | 2023-07-17 08:32:51 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-07-26 14:31:04 -0700 |
commit | 61eab651f6e96791cfad6db45f1107c398699b2d (patch) | |
tree | a032bdae75c3b46327aa12034b3059abea720e7c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3e4cf1dd2ce413f4be3e2c9062fb470e2ad2be88 (diff) |
net/mlx5: fs_chains: Fix ft prio if ignore_flow_level is not supported
The cited commit sets ft prio to fs_base_prio. But if
ignore_flow_level it not supported, ft prio must be set based on
tc filter prio. Otherwise, all the ft prio are the same on the same
chain. It is invalid if ignore_flow_level is not supported.
Fix it by setting ft prio based on tc filter prio and setting
fs_base_prio to 0 for fdb.
Fixes: 8e80e5648092 ("net/mlx5: fs_chains: Refactor to detach chains from tc usage")
Signed-off-by: Chris Mi <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions