mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
5a57a1ac1f
Some rockchip SoCs like the RK3399 and RK3328 exhibit an issue where tx checksumming does not work with packets larger than 1498. The default Programmable Buffer Length for TX in these GMAC's is not suitable for MTUs higher than 1498. The workaround is to disable TX offloading with 'ethtool -K eth0 tx off rx off' causing performance impacts as it disables hardware checksumming. This patch sets snps,txpbl to 0x4 which is a safe number tested ok for the most popular MTU value of 1500. For reference, see https://lkml.org/lkml/2019/4/1/1382. Signed-off-by: Carlos de Paula <me@carlosedp.com> Link: https://lore.kernel.org/r/20200218221040.10955-1-me@carlosedp.com Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: David Bauer <mail@david-bauer.net> |
||
---|---|---|
.. | ||
001-rockchip-rk3328-Add-support-for-FriendlyARM-NanoPi-R.patch | ||
002-net-usb-r8152-add-LED-configuration-from-OF.patch | ||
003-dt-bindings-net-add-RTL8152-binding-documentation.patch | ||
004-arm64-dts-rockchip-Add-txpbl-node-for-RK3399-RK3328.patch | ||
100-rockchip-use-system-LED-for-OpenWrt.patch | ||
101-dts-rockchip-add-usb3-controller-node-for-RK3328-SoCs.patch | ||
102-rockchip-enable-LAN-port-on-NanoPi-R2S.patch | ||
103-arm64-rockchip-add-OF-node-for-USB-eth-on-NanoPi-R2S.patch |