net: ethernet: ti: ale: clean ale tbl on init and intf restart
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 19 Nov 2019 22:19:13 +0000 (00:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:36:11 +0000 (16:36 +0100)
commitf8510526cbfb1e7ab41b33bd7394089e9875a635
treeb2ade6e8d5f28e35fc1592bfdfa309b41adedf10
parente660e93c57ff249a1b28d149c38ad2dfc8993cfb
net: ethernet: ti: ale: clean ale tbl on init and intf restart

[ Upstream commit 7fe579dfb90fcdf0c7722f33c772d5f0d1bc7cb6 ]

Clean CPSW ALE on init and intf restart (up/down) to avoid reading obsolete
or garbage entries from ALE table.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ti/cpsw_ale.c