mscc: Configured MAC entries should be locked.
The MAC table in Ocelot supports auto aging (normal) and static entries. MAC entries that is manually configured should be static and not subject to aging. Fixes: a556c76a ("net: mscc: Add initial Ocelot switch support") Signed-off-by: NAllan Nielsen <allan.nielsen@microchip.com> Reviewed-by: NSteen Hegelund <steen.hegelund@microchip.com> Signed-off-by: NSteen Hegelund <steen.hegelund@microchip.com> Reviewed-by: NAndrew Lunn <andrew@lunn.ch> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录