openwrt-mirror/target/linux/realtek
Jan Hoffmann ec69736270 realtek: implement polling for hardware counters
Maintain 64 bit counters by polling the hardware counters and adding up
the differences. Polling needs to happen just often enough to catch
every single overflow.

As we now have non-overflowing counters now, we can safely calculate
composite counters without getting weird results on overflow. Use this
to follow RFC 3635 more accurately by mapping the hardware counters to
the proper counters, while taking into account hardware quirks as best
as possible.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/18415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-27 16:46:20 +02:00
..
base-files realtek: add support for TP-Link TL-ST1008F v2.0 2025-06-16 13:30:52 +02:00
dts realtek: Use Otto timer on RTL931x 2025-06-22 23:12:02 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: implement polling for hardware counters 2025-07-27 16:46:20 +02:00
image realtek: add RTL931x support to rt-loader 2025-07-03 11:42:21 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl839x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl930x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl931x realtek: build Otto timer for RTL931x 2025-06-22 23:12:02 +02:00
Makefile realtek: switch to 6.12 as default 2025-06-22 16:38:11 +02:00