rstp: shift learned MAC addresses to new Root port.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Nov 2014 17:24:52 +0000 (09:24 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 19 Nov 2014 17:24:52 +0000 (09:24 -0800)
commit2372c146f7afa2b12e7b60375c728796ff985038
tree27766d6d71b99eafbbfbdd8750e0d0638962cfdc
parent802f84ffd71a6c94234cec43f4a5abaf02b56fa8
rstp: shift learned MAC addresses to new Root port.

All MAC addresses previously learned on a Root Port can be moved to an
Alternate Port that becomes the new Root Port; i.e., Dynamic Filtering
Entries for those addresses may be modified to show the new Root Port as
their source, reducing the need to flood frames when recovering from
some component failures.

Signed-off-by: Daniele Venturino <daniele.venturino@m3s.it>
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/rstp-common.h
lib/rstp-state-machines.c
lib/rstp.c
lib/rstp.h
ofproto/ofproto-dpif.c