]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: b53: move ARL entry functions into ops struct
authorJonas Gorski <jonas.gorski@gmail.com>
Fri, 7 Nov 2025 08:07:47 +0000 (09:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:30 +0000 (14:03 +0100)
commit4e8f43e63878e45c7efcc508236ae782d32f2e8a
tree157ac2044f7cf3d31b27917246b1718929581145
parente0c63c85e00773c9102c092f92ac75f71b6856c8
net: dsa: b53: move ARL entry functions into ops struct

[ Upstream commit a7e73339ad46ade76d29fb6cc7d7854222608c26 ]

Now that the differences in ARL entry formats are neatly contained into
functions per chip family, wrap them into an ops struct and add wrapper
functions to access them.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20251107080749.26936-7-jonas.gorski@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 8e46aacea426 ("net: dsa: b53: use same ARL search result offset for BCM5325/65")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h