realtek: dsa: silence log noise on route offload
authorBjørn Mork <bjorn@mork.no>
Wed, 5 Feb 2025 06:27:02 +0000 (07:27 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 25 Feb 2025 19:53:30 +0000 (20:53 +0100)
commit024e9dbace4aa41d713259e1e3c67538d425d577
treeb86600731cfe48801d7af914f8b5b72637a13efc
parente1acc7a67b92fa964710afe0a3ae2dad5c1f00c7
realtek: dsa: silence log noise on route offload

Adding a static IPv4 route made the driver repeatedly print

 rtl83xx_l3_nexthop_update: Setting up fwding: ip 192.168.1.42, GW mac 0000001b21a7xxxx
 Route with id 3 to 192.168.99.0 / 24
 rtl83xx_l3_nexthop_update: total packets: 0
 Warning: TEMPLATE_FIELD_RANGE_CHK: not configured

These messages are only useful to developers while debugging offloading.
Demote to debug level, which in general is more useful for developers
by allowing precise dynamic control.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Link: https://github.com/openwrt/openwrt/pull/17950
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/rtl931x.c