]> git.hungrycats.org Git - linux/commit
net: dsa: realtek: rtl8365mb: add table lookup interface
authorAlvin Šipraga <alsi@bang-olufsen.dk>
Sat, 6 Jun 2026 08:29:29 +0000 (05:29 -0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 10 Jun 2026 02:35:41 +0000 (19:35 -0700)
commitfbafdd3b224a03b7b335de144f44a600de937586
tree18c8e5541abb7bfa9172a4029bbb99f9ee1af8b0
parent0e692c27fe84db294866fe726f9944f7e125b817
net: dsa: realtek: rtl8365mb: add table lookup interface

Add a generic table lookup interface to centralize access to
the RTL8365MB internal tables.

This interface abstracts the low-level table access logic and
will be used by subsequent commits to implement FDB and VLAN
operations.

Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Co-developed-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Link: https://patch.msgid.link/20260606-realtek_forward-v13-5-b9e409687cbe@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/realtek/Makefile
drivers/net/dsa/realtek/rtl8365mb_table.c [new file with mode: 0644]
drivers/net/dsa/realtek/rtl8365mb_table.h [new file with mode: 0644]