summaryrefslogtreecommitdiff
path: root/lib/learn.c
diff options
context:
space:
mode:
authornickcooper-zhangtonghao <nic@opencloud.tech>2017-05-19 00:20:43 -0700
committerBen Pfaff <blp@ovn.org>2017-05-31 15:55:47 -0700
commit52182c5f50198d0f985b10677e47a9ac49ee709b (patch)
tree0268f0057d8e342e99a1e1d95bac5317026bc1d4 /lib/learn.c
parent5b7769602035f4b50410eeec1c3d65f6ce2b335f (diff)
downloadopenvswitch-52182c5f50198d0f985b10677e47a9ac49ee709b.tar.gz
stp: Add link-state checking support for stp ports.
When bridge stp enabled, we can enable the stp ports despite ports are down. When initializing, this patch checks link-state of ports and enable or disable them according to their link-state. This patch also allow user to enable and disable a port when bridge stp is running. If a stp port is in disable state, it can forward packets. If its link is down and this patch sets it to disable, there is no L2 loop. Signed-off-by: nickcooper-zhangtonghao <nic@opencloud.tech> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/learn.c')
0 files changed, 0 insertions, 0 deletions