Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1088804pxp; Thu, 17 Mar 2022 02:32:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy64OKSGaHFMVG60J/28z5uqKOwyK4E64xUDMgWZcf4RDdu4ZGvmQnfThAVRE4arUgp8oft X-Received: by 2002:a17:907:7d93:b0:6da:8f57:68fa with SMTP id oz19-20020a1709077d9300b006da8f5768famr3537523ejc.42.1647509549855; Thu, 17 Mar 2022 02:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647509549; cv=none; d=google.com; s=arc-20160816; b=0FDp4Tht71Bjg7Zz2wDY6ZnmM2XlZe5AJWRy9zlhkOsAS4H6Z8KX5gc3c7/nKfSgZ7 n0usRBaTsjViEmnD42BOr0DDRKB1i+u6dUgLw5X8tcsFjXwoCx5B2vorV8i5M9ufSA5p KhWKpytDtPvsAKbo+kVPkFFYmrEMZCPxDnDfM0XIHv1UCd27Xp2q/ZDjkdBvu32pWwNB uloY0Xe3+1j186sbe++rwDu5aqQCYZmiIARjB0dbMvgelk4hbYx69wf0hfpwFO07XdVt VXFZmx275FCmSDwIrwjr66TccFQobo3y3Kj8ynYFnFwrR4SGqNZFh5RbU+7Z07kFqIvv yTSA== 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=Vhmaa8dvAWAF7hhtVerRMIY5hbJUzuvuMcKyuTSFTwg=; b=eEwK9X+6YkO2q4NlGJQ8sRLtfqh1Ul+o1Ps0btk6/XrHIl6WP31QhQ3y+GRXpim9kJ BO0FAPh093790PwHy48v90tYe1C8O02gCmnlXCDRJcW17+NcxeuXxAwtg4tf2/kaCfMK nMyHgCIeaCkQ9LT2c4DKZ5iD38SJOgKqyoG+Mg6CDINmLTlGJ7e5H6PUD4+6E8NKxnmh vDY7ygPPETXUMSzHiH7KIwg50FmUL0GnmTv0QLgWEnksFO66MVdCiNXgEMifSXcAdt+p exZn6U5Pb2FIK8Ycb1pIZb9mzCfOg2hsbzxWiG825iKIk1Mg+FiLRUXRLlHNU97ZRM1n Mx3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=78YceMwT; 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 d21-20020a50cd55000000b00418c2b5bea5si1059557edj.391.2022.03.17.02.32.04; Thu, 17 Mar 2022 02:32:29 -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=78YceMwT; 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 S231513AbiCQJCo (ORCPT + 99 others); Thu, 17 Mar 2022 05:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231600AbiCQJCk (ORCPT ); Thu, 17 Mar 2022 05:02:40 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 837451D08D2 for ; Thu, 17 Mar 2022 02:01:24 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id yy13so9280961ejb.2 for ; Thu, 17 Mar 2022 02:01:24 -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=Vhmaa8dvAWAF7hhtVerRMIY5hbJUzuvuMcKyuTSFTwg=; b=78YceMwTeAnCsJX1c/l4aRdsPn2rkY4Ej3QmSbpqhb5TZWTH8ViYLss/o47dggaWBB 8Cq3ytvuEIm3eG0HwDRs1eZEPWddjcoQSsiuQ1izCrxzc14/dIVyxYGcBO23FMg961M8 5H7Dv2ySLSpgGD0fkCQSc7e9IkkdujC3nrkcFu/UDWdlvDT0QVLM3lhK7NjIyRYqdqmJ b4asp0Vq7xwTU3ge/5S0G/gPuIMxk7pu1sxsNO2eF74epze+2Vrh1MVSX1q0d44mnJ82 rPWQMfaUwUu8MHGhxMwvnnCiWq5QfEwA9QFjZ2Vtn+ZhtKxWnlY/r2N3LrGZOjaysGnt BhfQ== 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=Vhmaa8dvAWAF7hhtVerRMIY5hbJUzuvuMcKyuTSFTwg=; b=YgsbuFLWDv1fNEZGCH/flM4VPe6QA5dZpww3Zm69h9c26RtHxHq53p0PiKwa2GBuL3 k4xDWmLJh6m5v33eaEOw/S+267Hv1G9wBccsE3X8eIKuL7vQn5habvNDZt67431A1VZ1 l+vNWRN+WrvaQROe/9VXVzCL4IHMrq4yHL6hvOHr34rPi34aQGn9lCTZ5xGZIVEUtHDS 7u4/47PC6JxpbDcXV3URmWrT1/RuyzYq1kh0hBApq9LctIhDSOd48O69sqtC6xJRbfPw wNFQm7yN9L+watlFrxJ7ySRNQnrK6LHcmwHD4vrRyhShmdTSweA8KXwmqYkMH0S1htj4 uOzQ== X-Gm-Message-State: AOAM530fkgF3vDcYADRjdLm2JYjCt+A0dy+dEQbqF4fqC69UP7aBbY+P tTiqzVwt4LEOv/x3L7aGlmuBsg== X-Received: by 2002:a17:906:3144:b0:6ce:de5d:5e3b with SMTP id e4-20020a170906314400b006cede5d5e3bmr3366414eje.689.1647507683061; Thu, 17 Mar 2022 02:01:23 -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 dn4-20020a17090794c400b006dbec4f4acbsm2061440ejc.6.2022.03.17.02.01.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Mar 2022 02:01:22 -0700 (PDT) Message-ID: <4e09ab7d-95eb-7114-97cd-1e389c948a9e@blackwall.org> Date: Thu, 17 Mar 2022 11:01:20 +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 v5 net-next 08/15] net: bridge: mst: Add helper to check if MST is enabled 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 , Petr Machata , Ido Schimmel , Matt Johnston , Cooper Lees , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org References: <20220316150857.2442916-1-tobias@waldekranz.com> <20220316150857.2442916-9-tobias@waldekranz.com> From: Nikolay Aleksandrov In-Reply-To: <20220316150857.2442916-9-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 16/03/2022 17:08, Tobias Waldekranz wrote: > This is useful for switchdev drivers that might want to refuse to join > a bridge where MST is enabled, if the hardware can't support it. > > Signed-off-by: Tobias Waldekranz > --- > include/linux/if_bridge.h | 6 ++++++ > net/bridge/br_mst.c | 9 +++++++++ > 2 files changed, 15 insertions(+) > Acked-by: Nikolay Aleksandrov