linux/Documentation
Scott Feldman b4ad7baa01 bridge: del external_learned fdbs from device on flush or ageout
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 <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-15 17:08:49 -07:00
..
2015-06-15 16:44:19 -07:00
2015-04-24 07:08:41 -07:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2014-06-11 08:35:34 -07:00
2015-06-08 23:15:45 +02:00
2015-05-10 19:26:37 +02:00
2015-04-13 14:14:29 +02:00
2015-03-24 22:57:49 +01:00
2015-05-11 17:17:50 +02:00
2014-06-19 17:45:14 -07:00
2015-02-02 14:23:42 -08:00
2015-02-27 11:44:24 -08:00
2014-12-08 09:07:11 -05:00
2014-11-21 19:48:50 +05:30
2014-09-23 23:44:16 -07:00