realtek: dsa: Record number of supported MSTs
authorSven Eckelmann <[email protected]>
Mon, 27 Oct 2025 14:29:01 +0000 (15:29 +0100)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 15:21:16 +0000 (16:21 +0100)
commit280cf19cdbcf41ddaad43e0ff9a1e8ed1e92f4a5
treece98a8acbb6735c67f20004737e195ee4cdbc005
parent9c2e8d6cef08b63ff95ffe9ddba4f9f11da0ed0a
realtek: dsa: Record number of supported MSTs

Each SoC supports a different number of MST(I)s. The code must know this
limitation to correctly reject unsupported MSTIs or to allocate a large
enough mapping table.

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20421
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h