openwrt/target/linux/realtek
Markus Stockhausen b2c56b5233 realtek: eth: use free floating rings for RTL838x
The ring counters on RTL83xx allow a space of up to 15 entries.
But rings can be filled faster than data is received and might be
much larger defined (128 at the moment). Also NAPI processing
allows much more than 15 packets to be processed in one chunk.
Disable the counters and let the hardware automatically detect
the available buffers by the ownership flag. With this disable
a pseudo workaround that tried to mitigate the buffer filling
on RTL838x due to wrong setup.

Remark. This commit fixes several inconsistencies in the setup
code. RTL838x runs the setup twice with different values. RTL839x
does not run the setup at all.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21856
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-12 10:20:05 +01:00
..
base-files realtek: avoid redundant configuration of MAC addresses 2026-02-10 01:39:52 +01:00
dts realtek: add support for Xikestor SKS8300-12E2T2X 2026-02-07 19:37:49 +01:00
files-6.12 realtek: eth: use free floating rings for RTL838x 2026-02-12 10:20:05 +01:00
image realtek: add support for Xikestor SKS8300-12E2T2X 2026-02-07 19:37:49 +01:00
patches-6.12 realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl839x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl930x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl930x_nand realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl931x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl931x_nand realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00