Message ID | 20220301100321.951175-1-tobias@waldekranz.com (mailing list archive) |
---|---|
Headers | show |
Series | net: bridge: Multiple Spanning Trees | expand |
Hi Tobias, On Tue, Mar 01, 2022 at 11:03:11AM +0100, Tobias Waldekranz wrote: > A proposal for the corresponding iproute2 interface is available here: > > https://github.com/wkz/iproute2/tree/mst Please pardon my ignorance. Is there a user-mode STP protocol application that supports MSTP, and that you've tested these patches with? I'd like to give it a try.
On Tue, 1 Mar 2022 18:21:42 +0200 Vladimir Oltean <olteanv@gmail.com> wrote: > Hi Tobias, > > On Tue, Mar 01, 2022 at 11:03:11AM +0100, Tobias Waldekranz wrote: > > A proposal for the corresponding iproute2 interface is available here: > > > > https://github.com/wkz/iproute2/tree/mst > > Please pardon my ignorance. Is there a user-mode STP protocol application > that supports MSTP, and that you've tested these patches with? > I'd like to give it a try. https://github.com/mstpd/mstpd
On Tue, Mar 01, 2022 at 18:21, Vladimir Oltean <olteanv@gmail.com> wrote: > Hi Tobias, > > On Tue, Mar 01, 2022 at 11:03:11AM +0100, Tobias Waldekranz wrote: >> A proposal for the corresponding iproute2 interface is available here: >> >> https://github.com/wkz/iproute2/tree/mst > > Please pardon my ignorance. Is there a user-mode STP protocol application > that supports MSTP, and that you've tested these patches with? > I'd like to give it a try. I see that Stephen has already pointed you to mstpd in a sibling message. It is important to note though, that AFAIK mstpd does not actually support MSTP on a vanilla Linux system. The protocol implementation is in place, and they have a plugin architecture that makes it easy for people to hook it up to various userspace SDKs and whatnot, but you can't use it with a regular bridge. A colleague of mine has been successfully running a modified version of mstpd which was tailored for v1 of this series (RFC). But I do not believe he has had the time to rework it for v2. That should mostly be a matter of removing code though, as v2 allows you to manage the MSTIs directly, rather than having to translate it to an associated VLAN.
On 01/03/2022 22:20, Tobias Waldekranz wrote: > On Tue, Mar 01, 2022 at 18:21, Vladimir Oltean <olteanv@gmail.com> wrote: >> Hi Tobias, >> >> On Tue, Mar 01, 2022 at 11:03:11AM +0100, Tobias Waldekranz wrote: >>> A proposal for the corresponding iproute2 interface is available here: >>> >>> https://github.com/wkz/iproute2/tree/mst >> >> Please pardon my ignorance. Is there a user-mode STP protocol application >> that supports MSTP, and that you've tested these patches with? >> I'd like to give it a try. > > I see that Stephen has already pointed you to mstpd in a sibling > message. > > It is important to note though, that AFAIK mstpd does not actually > support MSTP on a vanilla Linux system. The protocol implementation is > in place, and they have a plugin architecture that makes it easy for people > to hook it up to various userspace SDKs and whatnot, but you can't use > it with a regular bridge. > > A colleague of mine has been successfully running a modified version of > mstpd which was tailored for v1 of this series (RFC). But I do not > believe he has had the time to rework it for v2. That should mostly be a > matter of removing code though, as v2 allows you to manage the MSTIs > directly, rather than having to translate it to an associated VLAN. Hello, we experimented with mstpd with pretty reasonable kernel modifications. Vanilla kernel wasn't capable of transferring the correct mapping from mstpd to the hardware due to lack of vlan2msti mapping and per-msti port state (rather than just per-vlan port state). https://github.com/mstpd/mstpd/pull/112 I didn't pursue this for a while, though. Regards, Pavel