r8169: fix jumbo configuration for RTL8168evl
Heiner Kallweit
maintainerPATCH 1/1 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
--- drivers/net/ethernet/realtek/r8169_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -1
@@ -3873,7 +3873,7 @@ static void rtl_hw_jumbo_enable(struct rtl8169_private *tp) case RTL_GIGA_MAC_VER_27 ... RTL_GIGA_MAC_VER_28:r8168dp_hw_jumbo_enable (tp);break ; - case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_34: + case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_33:r8168e_hw_jumbo_enable (tp);break ;default :
Signature · 1 line
2.24.0
David Miller
maintainerFrom: Heiner Kallweit <[email protected]>
Date: Sun, 1 Dec 2019 10:27:14 +0100
Quoted 11 lines
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 4ebcb113edcc ("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]>
Applied and queued up for -stable.