]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: libwx: move rss_field to struct wx
authorJiawen Wu <jiawenwu@trustnetic.com>
Fri, 26 Sep 2025 02:38:41 +0000 (10:38 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:11:16 +0000 (18:11 -0700)
commit58f244b25688bc0d891a1e52f13bd26cefbd8dae
tree55e759db311c31c010f1e45f34c7f15ca84d348c
parent1be6db04979944a05224807150038bab937521c8
net: libwx: move rss_field to struct wx

For global RSS and multiple RSS scheme, the RSS type fields are defined
identically in the registers. So they can be defined as the macros
WX_RSS_FIELD_* to cleanup the codes. And to prepare for the RXFH support
in the next patch, move the rss_field to struct wx.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20250926023843.34340-3-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/libwx/wx_hw.c
drivers/net/ethernet/wangxun/libwx/wx_type.h