Skip to contentSkip to conversation

r8169: fix rtl_hw_jumbo_disable for RTL8168evl

PATCH Superseded Heiner Kallweit 2 participants 3 messages Dec 6, 2019 – Dec 7, 2019

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH 1/1 r8169: fix rtl_hw_jumbo_disable for RTL8168evl

In referenced fix we removed the RTL8168e-specific jumbo config for RTL8168evl in rtl_hw_jumbo_enable(). We have to do the same in rtl_hw_jumbo_disable().

Fixes c07fd3caadc3 ("r8169: fix jumbo configuration for RTL8168evl")
---
 drivers/net/ethernet/realtek/r8169_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -1
index 38d212686..46a492229 100644
@@ -3896,7 +3896,7 @@ static void rtl_hw_jumbo_disable(struct rtl8169_private *tp)
 	case RTL_GIGA_MAC_VER_27 ... RTL_GIGA_MAC_VER_28:
 		r8168dp_hw_jumbo_disable(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_disable(tp);
 		break;
 	default:
Signature · 1 line
2.24.0
maintainer
#1 lore raw

From: Heiner Kallweit <[email protected]>
Date: Fri, 6 Dec 2019 22:55:00 +0100

Quoted 1 line
Fixes c07fd3caadc3 ("r8169: fix jumbo configuration for RTL8168evl")

[davem@localhost net]$ git describe c07fd3caadc3
fatal: Not a valid object name c07fd3caadc3
[davem@localhost net]$

author maintainer
#2 lore raw
Quoted 9 lines · David Miller

From: Heiner Kallweit <[email protected]>
Date: Fri, 6 Dec 2019 22:55:00 +0100

Quoted 1 line
Fixes c07fd3caadc3 ("r8169: fix jumbo configuration for RTL8168evl")

[davem@localhost net]$ git describe c07fd3caadc3
fatal: Not a valid object name c07fd3caadc3
[davem@localhost net]$

My bad, this refers to the commit in 5.4 tree. I'll resubmit.