1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/realtek
Markus Stockhausen 2420a77556 realtek: make NAPI polling thread safe
At the end of RX NAPI polling the counter and mask registers are
cleaned up. Although this might run in parallel there is no
synchronization and the register modifications are some wild mix.
RTL83xx enables only the interrupt of a single ring while RTL93xx
just reactivates all interrupts (even for other NAPI threads).
Make use of the driver lock and only modify the interrupt bits that
the current thread owns.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19960
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-07 11:36:01 +02:00
..
base-files realtek: fix model for TP-Link TL-ST1008F v2.0 2025-09-03 00:51:49 +02:00
dts realtek: Rename ZyXEL XGS1210-12 to XGS1210-12 a1 2025-09-03 21:40:36 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: make NAPI polling thread safe 2025-09-07 11:36:01 +02:00
image realtek: Rename ZyXEL XGS1210-12 to XGS1210-12 a1 2025-09-03 21:40:36 +02:00
patches-6.12 kernel: add quirk for two SFP+ transceivers 2025-09-05 13:51:48 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl839x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl930x realtek: rtl930x: Enable parsing of u-boot nvmem layouts 2025-08-28 21:07:57 +02:00
rtl930x_nand realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00
rtl931x realtek: add RTL8231 driver configuration to kernel build 2025-08-17 17:31:24 +02:00
rtl931x_nand realtek: add RTL8231 driver configuration to kernel build 2025-08-17 17:31:24 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00