linux/drivers/net/ethernet/huawei
Chenguang Zhao fe0c002928 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: 4fdc51bb4e ("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>
2026-07-23 07:10:10 -07:00
..
hinic hinic: remove unused ethtool RSS user configuration buffers 2026-07-23 07:10:10 -07:00
hinic3 net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
Kconfig hinic3: module initialization and tx/rx logic 2025-05-21 20:31:42 -07:00
Makefile hinic3: module initialization and tx/rx logic 2025-05-21 20:31:42 -07:00