From: sfel...@gmail.com
Date: Sun, 14 Jun 2015 11:33:11 -0700

> From: Scott Feldman <sfel...@gmail.com>
> 
> We need to delete from offload the device externally learnded fdbs when any
> one of these events happen:
> 
> 1) Bridge ages out fdb.  (When bridge is doing ageing vs. device doing
> ageing.  If device is doing ageing, it would send SWITCHDEV_FDB_DEL
> directly).
> 
> 2) STP state change flushes fdbs on port.
> 
> 3) User uses sysfs interface to flush fdbs from bridge or bridge port:
> 
>       echo 1 >/sys/class/net/BR_DEV/bridge/flush
>       echo 1 >/sys/class/net/BR_PORT/brport/flush
> 
> 4) Offload driver send event SWITCHDEV_FDB_DEL to delete fdb entry.
> 
> For rocker, we can now get called to delete fdb entry in wait and nowait
> contexts, so set NOWAIT flag when deleting fdb entry.
> 
> Signed-off-by: Scott Feldman <sfel...@gmail.com>

Applied, thanks Scott.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to