Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3112355pxp; Mon, 14 Mar 2022 11:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2TZ/orfudD0psPdGAJnr5KbagkgSzIdOMszA4SL/px+v28miSerBlU1bZuEfbH+FxyPct X-Received: by 2002:a17:906:4ccd:b0:6b7:75ca:3eac with SMTP id q13-20020a1709064ccd00b006b775ca3eacmr19215190ejt.167.1647281077214; Mon, 14 Mar 2022 11:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647281077; cv=none; d=google.com; s=arc-20160816; b=uNcNoVDYcvA7z5AkeKyDbJzcuu+d3NYfFJrUJhykgb/24lFpV/GgP0afno6POoN/4D +y9EQRpb548s2i9468fxs0lcCvpfMulDAJohauLI9nPTE02eHg93lBOGh3Zw1mBNm/ZV QU1ZWwwYzzAfn/0/WREqFL5kMyrtNVcVjewCzdukJZ7BTa8JUWSo/44MV1nh4K9J00D3 slaSCNTq3XfQY30YrmgueTeMf1M4MnWsDJBQIE+VkpgF+bCaRCcT5XCNHnIj4vFIqMFW 7ZcNRcqRc1P5Oiz6iTg70afdT1GdJ30/1YP5TFoHfzZpz9zg7ypyy2qw5Yv5XQdjEgo3 86xw== 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:dkim-signature; bh=r3SbgvMuwSpWyo+T3+2fkvrANVSSGA2KeBMI0vAa/Mc=; b=BnPfUfLxb4sI3wB6UqkX++Ep8uViVwz6VmQdPZ+7yqZows9mwtK/acgTMRa0ThDwrO 4fUEXiN7nxEHOcBEVNv0iT6T0uJUBDg9D/liEHLPWXpr074S7Xg5gNABLYY9hmtpTvMA L6PvCvDVdqj7EOv7TZY4MwYfs2heBxAB26aq3CA7raFmBwiwUHRVLp69lGUjSPSHZjtv OHQtqEykEY2rnbQa5wQQCG7V5IJ9c3TnIK5bKVdiA8P12jS/Vhz7V6bqPx+r3aIOHh7C /04R8XZgiTogGMa7H2Eo7lI4tjBMLlmzSojHFajbYYAFhBhB0MogjL/3FKG6qhrT4Ppn wHXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=2j+iM3bc; 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 r20-20020a05640216d400b004107ab31741si9745214edx.512.2022.03.14.11.04.10; Mon, 14 Mar 2022 11:04:37 -0700 (PDT) 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; dkim=pass header.i=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=2j+iM3bc; 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 S238616AbiCNKqU (ORCPT + 99 others); Mon, 14 Mar 2022 06:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238598AbiCNKqR (ORCPT ); Mon, 14 Mar 2022 06:46:17 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65EAA1EAE6 for ; Mon, 14 Mar 2022 03:45:06 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id w4so19175117edc.7 for ; Mon, 14 Mar 2022 03:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall-org.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=r3SbgvMuwSpWyo+T3+2fkvrANVSSGA2KeBMI0vAa/Mc=; b=2j+iM3bcJEKwZ9uQ0GbufP5c4a0aJdPJFZH7++cftGYb4uc9hqczdgnotS2iTFwHJb 40s1RKE4GJ0yvZDGQ1F8skW+18wz1+Ddjs60vDfIK0lMQjWjzeIfz+aW7mMPT12CsZVK dImyN46Ms8XYA2nqjzP5RRzJLNLGlPTPBHfDTKEjTQVzaj/euYTuaHuMJTxKZascYJVr fcjEE3Q4QdmpnV+2dEbexMR7hOLp5FC55xHDwRr566gUc5ZNZCGIFJTvnUOyUDLn1SSv PmRMThfNlvodXhLEHQVmRQzaEH798W6+DZ2QYQbzp6CuWoagDEwehLxAUvFa/x8TLK2r RMlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=r3SbgvMuwSpWyo+T3+2fkvrANVSSGA2KeBMI0vAa/Mc=; b=JvwTkMwHHXinmlho5vnQl2BNad5GZInkzrd51HKg/KyhRyUQ1q0snwjOs/NmTHKXNW R+p3QgYLrjqMEOZ29w7cTf5lG4FUcjsYGPITlHgxVgihWclig3+hUPXBwZqi9qVwVXbe NhiQwdr5EJkzcdQvb6/r8TISvChDeaCbaJiS4QimQnJQldbs8Oz6YWvY0yhTLmgZeHaM WTaKC7jtugGY7/IxWK/PwQCI7X0EKaKyIB9l3xvh+bTp0Q5yPt14bT26WO+MsV3wMOhk cCWWzTXbqy0yAbrADnzK2vO5erTiNp6NNRCSSnleaJz0dmyRCWsPw/FHqO5A2h4CJT0s Qsmw== X-Gm-Message-State: AOAM530FoXvURo18BQ58KzJ2hd0LlbRE7LjPOtFinymu5OsNc1WAg9Jl J8FS14Gszhjcrx9fHG/CP+culw== X-Received: by 2002:a05:6402:5256:b0:416:97d1:a6a2 with SMTP id t22-20020a056402525600b0041697d1a6a2mr19796660edd.280.1647254704879; Mon, 14 Mar 2022 03:45:04 -0700 (PDT) Received: from [192.168.0.111] (87-243-81-1.ip.btc-net.bg. [87.243.81.1]) by smtp.gmail.com with ESMTPSA id e8-20020a17090681c800b006d9f7b69649sm6563655ejx.32.2022.03.14.03.45.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Mar 2022 03:45:04 -0700 (PDT) Message-ID: <0a95bd84-9f1a-da44-0e70-a53e3b7402db@blackwall.org> Date: Mon, 14 Mar 2022 12:45:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3 net-next 02/14] net: bridge: mst: Allow changing a VLAN's MSTI Content-Language: en-US To: Tobias Waldekranz , davem@davemloft.net, kuba@kernel.org Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Russell King , Ido Schimmel , Petr Machata , Cooper Lees , Matt Johnston , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org References: <20220314095231.3486931-1-tobias@waldekranz.com> <20220314095231.3486931-3-tobias@waldekranz.com> From: Nikolay Aleksandrov In-Reply-To: <20220314095231.3486931-3-tobias@waldekranz.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 14/03/2022 11:52, Tobias Waldekranz wrote: > Allow a VLAN to move out of the CST (MSTI 0), to an independent tree. > > The user manages the VID to MSTI mappings via a global VLAN > setting. The proposed iproute2 interface would be: > > bridge vlan global set dev br0 vid msti > > Changing the state in non-zero MSTIs is still not supported, but will > be addressed in upcoming changes. > > Signed-off-by: Tobias Waldekranz > --- > include/uapi/linux/if_bridge.h | 1 + > net/bridge/br_mst.c | 42 ++++++++++++++++++++++++++++++++++ > net/bridge/br_private.h | 1 + > net/bridge/br_vlan_options.c | 15 ++++++++++++ > 4 files changed, 59 insertions(+) > Acked-by: Nikolay Aleksandrov