* [PATCH net] mscc: Configured MAC entries should be locked.
@ 2018-12-19 15:35 Steen Hegelund
2018-12-19 16:17 ` Andrew Lunn
0 siblings, 1 reply; 2+ messages in thread
From: Steen Hegelund @ 2018-12-19 15:35 UTC (permalink / raw)
To: netdev, davem; +Cc: Allan W. Nielsen, Steen Hegelund
From: "Allan W. Nielsen" <allan.nielsen@microchip•com>
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.
Signed-off-by: Allan Nielsen <allan.nielsen@microchip•com>
Reviewed-by: Steen Hegelund <steen.hegelund@microchip•com>
---
drivers/net/ethernet/mscc/ocelot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/mscc/ocelot.c b/drivers/net/ethernet/mscc/ocelot.c
index 3238b9ee42f3..c84074fa4c95 100644
--- a/drivers/net/ethernet/mscc/ocelot.c
+++ b/drivers/net/ethernet/mscc/ocelot.c
@@ -747,7 +747,7 @@ static int ocelot_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
}
return ocelot_mact_learn(ocelot, port->chip_port, addr, vid,
- ENTRYTYPE_NORMAL);
+ ENTRYTYPE_LOCKED);
}
static int ocelot_fdb_del(struct ndmsg *ndm, struct nlattr *tb[],
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] mscc: Configured MAC entries should be locked.
2018-12-19 15:35 [PATCH net] mscc: Configured MAC entries should be locked Steen Hegelund
@ 2018-12-19 16:17 ` Andrew Lunn
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2018-12-19 16:17 UTC (permalink / raw)
To: Steen Hegelund; +Cc: netdev, davem, Allan W. Nielsen
On Wed, Dec 19, 2018 at 04:35:25PM +0100, Steen Hegelund wrote:
> From: "Allan W. Nielsen" <allan.nielsen@microchip•com>
>
> 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.
>
> Signed-off-by: Allan Nielsen <allan.nielsen@microchip•com>
> Reviewed-by: Steen Hegelund <steen.hegelund@microchip•com>
Hi Steen
Since you are submitting this patch, it needs your signed-of-by as
well.
Thanks
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-19 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-19 15:35 [PATCH net] mscc: Configured MAC entries should be locked Steen Hegelund
2018-12-19 16:17 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox