]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: remove storm control 21877/head
authorBjørn Mork <bjorn@mork.no>
Thu, 5 Feb 2026 13:08:51 +0000 (14:08 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 6 Feb 2026 09:15:36 +0000 (10:15 +0100)
commit3972aeaf7cc3cb87a99bc6a3d83f1d22e7287399
treedfaf404a544153f6ce111023d2352cfbdc6a6fa9
parent483d2f17561946d7655fe6d059d39716629d6ab7
realtek: dsa: remove storm control

Commit 78bf3a5f44bf ("realtek: dsa: Fix rate control initialization") enabled
code setting up the "storm control" feature. This casued a speed regression
on rtl838x, reducing the effective max speed per port from line rate to around
500 Mbits/s.

Storm control is a policy feature with a number of input parameters depending
on use case and environment.  It is not possible to define a meaningful static
policy in the driver. The problem isn't just the arbitrary limits in the
current code.  Such features require userspace interfaces.

Drop this code for now. It wasn't missed while it was disabled.

Cc: Sven Eckelmann <se@simonwunderlich.de>
Fixes: 78bf3a5f44bf ("realtek: dsa: Fix rate control initialization")
Link: https://github.com/openwrt/openwrt/issues/21692
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/21877
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/qos.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h