Re: [PATCH net-next 1/5] net: mscc: ocelot: classify L2 mdb entries as LOCKED

From: Florian Fainelli
Date: Wed Oct 28 2020 - 22:32:13 EST




On 10/28/2020 7:27 PM, Vladimir Oltean wrote:
> ocelot.h says:
>
> /* MAC table entry types.
> * ENTRYTYPE_NORMAL is subject to aging.
> * ENTRYTYPE_LOCKED is not subject to aging.
> * ENTRYTYPE_MACv4 is not subject to aging. For IPv4 multicast.
> * ENTRYTYPE_MACv6 is not subject to aging. For IPv6 multicast.
> */
>
> We don't want the permanent entries added with 'bridge mdb' to be
> subject to aging.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian