Skip to content
Commit e4820a76 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Greg Kroah-Hartman
Browse files

net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse



[ Upstream commit f6636ff6 ]

Move static MAC table operations to separate functions in order to reuse
the code for add/del_fdb. This is needed to address kernel warnings
caused by the lack of fdb add function support in the current driver.

Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: 4bdf79d6 ("net: dsa: microchip: correct KSZ8795 static MAC table access")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 155f5945
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment