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:Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by:
Vladimir Oltean <olteanv@gmail.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Stable-dep-of: 4bdf79d6 ("net: dsa: microchip: correct KSZ8795 static MAC table access") Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
155f5945
Please register or sign in to comment