Commit 2007317e authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Jakub Kicinski

r8169: align RTL8168e jumbo pcie read request size with vendor driver

Align behavior with r8168 vendor driver and don't reduce max read
request size for RTL8168e in jumbo mode.
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 22fe6b04
...@@ -2368,12 +2368,10 @@ static void rtl_jumbo_config(struct rtl8169_private *tp) ...@@ -2368,12 +2368,10 @@ static void rtl_jumbo_config(struct rtl8169_private *tp)
r8168dp_hw_jumbo_disable(tp); r8168dp_hw_jumbo_disable(tp);
break; break;
case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_33: case RTL_GIGA_MAC_VER_31 ... RTL_GIGA_MAC_VER_33:
if (jumbo) { if (jumbo)
pcie_set_readrq(tp->pci_dev, 512);
r8168e_hw_jumbo_enable(tp); r8168e_hw_jumbo_enable(tp);
} else { else
r8168e_hw_jumbo_disable(tp); r8168e_hw_jumbo_disable(tp);
}
break; break;
default: default:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment