Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp470633pxm; Wed, 2 Mar 2022 02:10:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQzqp7yQ8H9vuAwxgbwKHxckjWri7sKfFG6h8xDMRe8OZnGbMdlGzmeP6GqsMX9IJenKA8 X-Received: by 2002:a17:906:6a04:b0:6cf:db6:bda6 with SMTP id qw4-20020a1709066a0400b006cf0db6bda6mr22225358ejc.738.1646215851865; Wed, 02 Mar 2022 02:10:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646215851; cv=none; d=google.com; s=arc-20160816; b=RBLXdLiTqpST3qGRwj1QuzDJYBIs/mkCdyWUwXQv7IvfpXgfujaU18PLBkfZqePy7M QDZVe13EH+7OZf+H/EY5Xspl3qbWNW9YZhh8n8z4c8ZWIAaYSypxSVPsqH89X/mX7Kit K9WFoUnP0TQtZJiIHQEolPZqTLdLVyvVcCE/MwCy1oquFHnHpNGJceXdEL5ymIzxhuh2 3GiPLEKRVDAg/Y6nAWzo/cl48VzAAIaGNmQRBtqf7xeIUqNV8LGD2noRjLgS+XrC/BOv aLdBswaz5NZesims8quJDl8EcD/HR108TLuHXzAAZLlTxPS2tQIlUFPArZovjD6brNAy s1rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=5cccwo2xVgPlar/hzEHyRvd5IEvKehXk9WtRdpHz8jM=; b=munF6+LWTb9Dnm/kgu3PfWC57Lg8OiWGuX8tSqR+8Tn4Vlx0sf5Z234mmnJwX0yFGe u1YvaS0CSUkl9ygn7lL1B8nx4lYP2PBChsT6uzSBXuHwrLhtkMj9Lg8Pp2r5dWTXYymY vr+KW7vIIcNMZLdMQZqLU4NeeTbsVWQTrpzNZn0VX1PbVQBfealNZUDeNR72a+2cSIWr Q+eCRg1OxVucF5EvsO/GxC9quSNshjnLfTYF64J7Zwu3CLWTv+J3pOB39DowlWP1kQmP KMStk6VJxzKHvzVAo/tpEICaSqSUy+YY1gW0EJTX2546+4Gm5VXqDPxaISZ3PP9D/WEh zS4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qt10-20020a170906ecea00b006b39aaf9101si8882350ejb.2.2022.03.02.02.10.29; Wed, 02 Mar 2022 02:10:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238329AbiCAWjR (ORCPT + 99 others); Tue, 1 Mar 2022 17:39:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233241AbiCAWjQ (ORCPT ); Tue, 1 Mar 2022 17:39:16 -0500 X-Greylist: delayed 459 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 01 Mar 2022 14:38:32 PST Received: from fox.pavlix.cz (fox.pavlix.cz [185.8.165.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB0036A033; Tue, 1 Mar 2022 14:38:30 -0800 (PST) Received: from [172.16.63.206] (37-48-0-234.nat.epc.tmcz.cz [37.48.0.234]) by fox.pavlix.cz (Postfix) with ESMTPSA id 8219111111E; Tue, 1 Mar 2022 23:30:47 +0100 (CET) Message-ID: Date: Tue, 1 Mar 2022 23:30:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v2 net-next 00/10] net: bridge: Multiple Spanning Trees Content-Language: en-US To: Tobias Waldekranz , Vladimir Oltean Cc: davem@davemloft.net, kuba@kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Russell King , Petr Machata , Cooper Lees , Ido Schimmel , Matt Johnston , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, navolnenoze@simerda.eu References: <20220301100321.951175-1-tobias@waldekranz.com> <20220301162142.2rv23g4cyd2yacbs@skbuf> <87fso1nzdt.fsf@waldekranz.com> From: =?UTF-8?Q?Pavel_=c5=a0imerda?= In-Reply-To: <87fso1nzdt.fsf@waldekranz.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/03/2022 22:20, Tobias Waldekranz wrote: > On Tue, Mar 01, 2022 at 18:21, Vladimir Oltean 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