aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAhmed Zaki <[email protected]>2024-07-25 16:08:08 -0600
committerTony Nguyen <[email protected]>2024-08-13 14:51:29 -0700
commit995617dccc89643d8d8022bbec76e869643842bf (patch)
tree6db789c8604ed8232f8fc0bbbf018dc73d1ad533 /tools/perf/scripts/python/stackcollapse.py
parent99f419df8a5c5e1a58822203989f77712d01d410 (diff)
iavf: refactor add/del FDIR filters
In preparation for a second type of FDIR filters that can be added by tc-u32, move the add/del of the FDIR logic to be entirely contained in iavf_fdir.c. The iavf_find_fdir_fltr_by_loc() is renamed to iavf_find_fdir_fltr() to be more agnostic to the filter ID parameter (for now @loc, which is relevant only to current FDIR filters added via ethtool). The FDIR filter deletion is moved from iavf_del_fdir_ethtool() in ethtool.c to iavf_fdir_del_fltr(). While at it, fix a minor bug where the "fltr" is accessed out of the fdir_fltr_lock spinlock protection. Reviewed-by: Sridhar Samudrala <[email protected]> Reviewed-by: Marcin Szycik <[email protected]> Signed-off-by: Ahmed Zaki <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions