[Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

Srinivas M.A. srinivas.aji at gmail.com
Tue Apr 1 02:57:34 PDT 2008


>
>  Curious, why is RSTP in user space? Lots of protocols are in the kernel,
>  why not RSTP too?

For one thing it is easier from a development standpoint. The kernel
just needs to provide hooks for allowing userspace programs to send
and receive BPDUs and to change port states. The STP logic can then be
moved to userspace and it is easier to develop and debug.

>
>  Are any known issues with the in kernel STP?
>
>  I haven't read 802.1D-2004 but I know RSTP is in there, does RSTP
>  replace the old STP protocol? If not, is there any reason to prefer STP
>  before RSTP in some cases?

In 802.1D-2004, RSTP replaces the old STP. RSTP provides additional
mechanisms to give faster convergence when the network involves only
point-to-point links. It is backward compatible with STP, i.e., it
will interoperate correctly when there are other STP bridges, though
you lose the fast convergence then. So, in general, there is no reason
to prefer STP to RSTP. Currently, the main reason would be that the
STP implementation has been around much longer and that this RSTP
implementation is new.


More information about the Bridge mailing list