]> git.baikalelectronics.ru Git - kernel.git/commit
mscc: Configured MAC entries should be locked.
authorAllan W. Nielsen <allan.nielsen@microchip.com>
Thu, 20 Dec 2018 08:37:17 +0000 (09:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Dec 2018 00:22:45 +0000 (16:22 -0800)
commit2c83e7fcb0d0f49c01e9c880c1b45ae57c3a3fd4
tree15a57b5fe83464f63574ccbc34e7f5c4c2e6319b
parente20dda66453cf4e82a5e834e0509e9f1a0205840
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: 99c1e05296dd ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Allan Nielsen <allan.nielsen@microchip.com>
Reviewed-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c