Skip to content

Commit 157cf36

Browse files
Jiawen Wukuba-moo
authored andcommitted
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: c52d4b8 ("net: libwx: Redesign flow when sriov is enabled") Cc: [email protected] Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d69eb20 commit 157cf36

File tree

1 file changed

+0
-4
lines changed
  • drivers/net/ethernet/wangxun/libwx

1 file changed

+0
-4
lines changed

drivers/net/ethernet/wangxun/libwx/wx_hw.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,10 +2078,6 @@ static void wx_setup_mrqc(struct wx *wx)
20782078
{
20792079
u32 rss_field = 0;
20802080

2081-
/* VT, and RSS do not coexist at the same time */
2082-
if (test_bit(WX_FLAG_VMDQ_ENABLED, wx->flags))
2083-
return;
2084-
20852081
/* Disable indicating checksum in descriptor, enables RSS hash */
20862082
wr32m(wx, WX_PSR_CTL, WX_PSR_CTL_PCSD, WX_PSR_CTL_PCSD);
20872083

0 commit comments

Comments
 (0)