]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl931x: Fix traffic on upper ports
authorHarshal Gohel <hg@simonwunderlich.de>
Wed, 18 Jun 2025 11:35:15 +0000 (11:35 +0000)
committerRobert Marko <robimarko@gmail.com>
Thu, 31 Jul 2025 19:59:23 +0000 (21:59 +0200)
commitf51b54bc953e19daf3140577cf80c779a6fac96f
tree3c83574c5776b974ab295b0b6cb09d412a8bb820
parent656312f9b7ced02af374236decd050708d2b3cac
realtek: rtl931x: Fix traffic on upper ports

* traffic isolation tables are different between rtl930x and rtl931x
* traffic_enable/disable/get/set functions span multiple columns in the
  rtl931x as a result, previous implementation would only enable traffic
  in some ports.

traffic_enable/disable and traffic_set/get should now work on all ports and
not just the initial 32

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19572
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c