netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net] r8169: fix rtl_hw_jumbo_disable for RTL8168evl
@ 2019-12-07 21:21 Heiner Kallweit
  2019-12-07 22:24 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2019-12-07 21:21 UTC (permalink / raw)
  To: Realtek linux nic maintainers, David Miller; +Cc: netdev

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().

v2: fix referenced commit id

Fixes: 14012c9f3bb9 ("r8169: fix jumbo configuration for RTL8168evl")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/ethernet/realtek/r8169_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index 38d212686..46a492229 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -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:
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 net] r8169: fix rtl_hw_jumbo_disable for RTL8168evl
  2019-12-07 21:21 [PATCH v2 net] r8169: fix rtl_hw_jumbo_disable for RTL8168evl Heiner Kallweit
@ 2019-12-07 22:24 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-12-07 22:24 UTC (permalink / raw)
  To: hkallweit1; +Cc: nic_swsd, netdev

From: Heiner Kallweit <hkallweit1@gmail.com>
Date: Sat, 7 Dec 2019 22:21:52 +0100

> 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().
> 
> v2: fix referenced commit id
> 
> Fixes: 14012c9f3bb9 ("r8169: fix jumbo configuration for RTL8168evl")
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Applied.

Again, another fun chain of fixes to fixes:

[davem@localhost net]$ git describe 14012c9f3bb9
v5.4-8858-g14012c9f3bb9
[davem@localhost net]$ git show 14012c9f3bb9 | grep Fixes
    Fixes: 4ebcb113edcc ("r8169: fix jumbo packet handling on resume from suspend")
[davem@localhost net]$ gdc 4ebcb113edcc
v5.4-rc4~6^2~55
[davem@localhost net]$ git show 4ebcb113edcc | grep Fixes
    Fixes: 7366016d2d4c ("r8169: read common register for PCI commit")
[davem@localhost net]$ gdc 7366016d2d4c
v5.4-rc1~131^2~119^2~4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-07 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-07 21:21 [PATCH v2 net] r8169: fix rtl_hw_jumbo_disable for RTL8168evl Heiner Kallweit
2019-12-07 22:24 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).