net: libwx: fix to enable RSS
authorJiawen Wu <jiawenwu@trustnetic.com>
Thu, 4 Sep 2025 02:43:22 +0000 (10:43 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Sep 2025 20:34:01 +0000 (13:34 -0700)
commit157cf360c4a8751f7f511a71cc3a283b5d27f889
tree1cd65055aad945b3e0604168c29d14ce057842bf
parentd69eb204c255c35abd9e8cb621484e8074c75eaa
net: libwx: fix to enable RSS

Now when SRIOV is enabled, PF with multiple queues can only receive
all packets on queue 0. This is caused by an incorrect flag judgement,
which prevents RSS from being enabled.

In fact, RSS is supported for the functions when SRIOV is enabled.
Remove the flag judgement to fix it.

Fixes: c52d4b898901 ("net: libwx: Redesign flow when sriov is enabled")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/A3B7449A08A044D0+20250904024322.87145-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/libwx/wx_hw.c