summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ec_bhf.c
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2020-08-24 18:10:53 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-25 18:49:37 +0300
commit2c6500e82e5190b038f0b79f85a20da55bdd4b86 (patch)
tree4099ec272433fa3b4165497ef8e66cea51947514 /drivers/net/ethernet/ec_bhf.c
parent99d469fc64d06f0c81c0fe2a1c01645a67e0cbf0 (diff)
downloadlinux-2c6500e82e5190b038f0b79f85a20da55bdd4b86.tar.xz
net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port
To flush the vid + mc entries from ALE, which is required when a VLAN interface is removed, driver needs to call cpsw_ale_flush_multicast() with ALE_PORT_HOST for port mask as these entries are added only for host port. Without this, these entries remain in the ALE table even after removing the VLAN interface. cpsw_ale_flush_multicast() calls cpsw_ale_flush_mcast which expects a port mask to do the job. Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac") Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
0 files changed, 0 insertions, 0 deletions