mirror_iproute2/bridge
Scott Feldman 674bb438bc bridge/link: add learning_sync policy flag
v2:

Resending now that the dust has cleared in 3.18 on "self" vs. hwmode debate for
brport settings.  learning_sync is now set/cleared using "self" qualifier on
brport.

v1:

Add 'learned_sync' flag to turn on/off syncing of learned MAC addresses from
offload device to bridge's FDB.   Flag is be set/cleared on offload device port
using "self" qualifier:

  $ sudo bridge link set dev swp1 learning_sync on self

  $ bridge -d link show dev swp1
  2: swp1 state UNKNOWN : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 2
      hairpin off guard off root_block off fastleave off learning off flood off
  2: swp1 state UNKNOWN : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0
      learning on learning_sync on

Adds new IFLA_BRPORT_LEARNED_SYNCED attribute for IFLA_PROTINFO on the SELF
brport.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
2015-01-01 10:02:53 -08:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h bridge: Add support for setting bridge port attributes 2013-03-16 10:01:53 -07:00
bridge.c bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
fdb.c bridge/fdb: add flag/indication for FDB entry synced from offload device 2014-12-09 16:34:44 -08:00
link.c bridge/link: add learning_sync policy flag 2015-01-01 10:02:53 -08:00
Makefile bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
mdb.c bridge: Make filter_index match in signedness 2014-06-09 12:40:45 -07:00
monitor.c iproute2: bridge: Close file with bridge monitor file 2013-09-30 21:00:06 -07:00
vlan.c bridge: Make filter_index match in signedness 2014-06-09 12:40:45 -07:00