[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200825.085105.471804029075197026.davem@davemloft.net>
Date: Tue, 25 Aug 2020 08:51:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: m-karicheri2@...com
Cc: kuba@...nel.org, grygorii.strashko@...com, nsekhar@...com,
linux-omap@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [net v3 PATCH 2/2] net: ethernet: ti: cpsw_new: fix clean up
of vlan mc entries for host port
From: Murali Karicheri <m-karicheri2@...com>
Date: Mon, 24 Aug 2020 11:10:53 -0400
> 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@...com>
Applied and queued up for -stable.
Powered by blists - more mailing lists