summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChenguang Zhao <zhaochenguang@kylinos.cn>2026-07-22 10:53:53 +0800
committerJakub Kicinski <kuba@kernel.org>2026-07-23 07:10:10 -0700
commitfe0c002928c6749b7f4a726f6f600f6dd70280ea (patch)
tree689aa679bf76bb0bf5d3acf8add8f6f360144853 /tools/perf/scripts/python
parent4579866a7de3661fa0a034e1e96563ace0944444 (diff)
hinic: remove unused ethtool RSS user configuration buffers
rss_indir_user and rss_hkey_user are allocated and filled in __set_rss_rxfh() when the user configures RSS via ethtool, but nothing ever reads them. hinic_get_rxfh() fetches the state from the device, and the hardware is programmed from the original indir/key arguments. These buffers only leaked on driver unload. Drop the unused allocations, memcpys, and struct fields. Fixes: 4fdc51bb4e92 ("hinic: add support for rss parameters with ethtool") Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn> Reviewed-by: Joe Damato <joe@dama.to> Link: https://patch.msgid.link/20260722025353.328179-1-chenguang.zhao@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions