Skip to content

Commit 14012c9

Browse files
hkallweitdavem330
authored andcommitted
r8169: fix jumbo configuration for RTL8168evl
Alan reported [0] that network is broken since the referenced commit when using jumbo frames. This commit isn't wrong, it just revealed another issue that has been existing before. According to the vendor driver the RTL8168e-specific jumbo config doesn't apply for RTL8168evl. [0] https://lkml.org/lkml/2019/11/30/119 Fixes: 4ebcb11 ("r8169: fix jumbo packet handling on resume from suspend") Reported-by: Alan J. Wylie <[email protected]> Tested-by: Alan J. Wylie <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9bd19c6 commit 14012c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3872,7 +3872,7 @@ static void rtl_hw_jumbo_enable(struct rtl8169_private *tp)
38723872
case RTL_GIGA_MAC_VER_27 ... RTL_GIGA_MAC_VER_28:
38733873
r8168dp_hw_jumbo_enable(tp);
38743874
break;
3875-
case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_34:
3875+
case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_33:
38763876
r8168e_hw_jumbo_enable(tp);
38773877
break;
38783878
default:

0 commit comments

Comments
 (0)