]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: b53: move reading ARL entries into their own function
authorJonas Gorski <jonas.gorski@gmail.com>
Fri, 7 Nov 2025 08:07:43 +0000 (09:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Nov 2025 01:11:06 +0000 (17:11 -0800)
commit4a291fe7226736a465ddb3fa93c21fcef7162ec7
tree90bacb064b0d10897adee8267cb27d8eb82aef7c
parenta6e4fd38bf2f2e2363b61c27f4e6c49b14e4bb07
net: dsa: b53: move reading ARL entries into their own function

Instead of duplicating the whole code iterating over all bins for
BCM5325, factor out reading and parsing the entry into its own
functions, and name it the modern one after the first chip with that ARL
format, (BCM53)95.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20251107080749.26936-3-jonas.gorski@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/b53/b53_common.c