diff options
author | Aleksandr Loktionov <[email protected]> | 2024-03-13 10:44:00 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2024-03-26 08:56:06 -0700 |
commit | eb58c598ce45b7e787568fe27016260417c3d807 (patch) | |
tree | 35fc598ea725058315a7c06cd5bc650a92eee7df /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | ea558de7238bb12c3435c47f0631e9d17bf4a09f (diff) |
i40e: fix i40e_count_filters() to count only active/new filters
The bug usually affects untrusted VFs, because they are limited to 18 MACs,
it affects them badly, not letting to create MAC all filters.
Not stable to reproduce, it happens when VF user creates MAC filters
when other MACVLAN operations are happened in parallel.
But consequence is that VF can't receive desired traffic.
Fix counter to be bumped only for new or active filters.
Fixes: 621650cabee5 ("i40e: Refactoring VF MAC filters counting to make more reliable")
Signed-off-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Arkadiusz Kubalewski <[email protected]>
Reviewed-by: Paul Menzel <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions