[ovs-dev] Rapid Spanning Tree Protocol (RSTP) implementation

Ben Pfaff blp at nicira.com
Mon Nov 25 21:01:47 UTC 2013


On Mon, Nov 25, 2013 at 10:17:01AM +0100, Martino Fornasa wrote:
> One of the main differences between STP and RSTP is that RSTP reacts
> quickly to link failures by checking the link physical status,
> without having to rely on long timeout expirations. So, we need an
> entry point from which we can signal the RSTP logic the status of a
> port (up and running or down). In particular:
> 
> - When a port goes up we have to set the RSTP mac_operational internal flag;
> 
> - When a port goes down we have to reset the RSTP mac_operational
> internal flag.
> 
> After code inspection out best guess is to use the
> ofport->may-enable flag after its setting inside inside port_run()
> function [ofproto/ofproto-dpif-xlate.c]. Is this ok or you can
> suggest a better one?

I think that's the right place.



More information about the dev mailing list