Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1131276pxp; Thu, 17 Mar 2022 03:36:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxxnYKiwZYnSh5iD+Wci0CSBWDxuxDB3fGuI0vghl1+L6chXQvE4l8FR5ywJepiCgOSpKx X-Received: by 2002:a17:906:c282:b0:6ce:369d:3d5 with SMTP id r2-20020a170906c28200b006ce369d03d5mr3756373ejz.425.1647513377616; Thu, 17 Mar 2022 03:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647513377; cv=none; d=google.com; s=arc-20160816; b=kUEOiulImAZHJrpZ/J2mvCU5NQxVUgDqmQMV8jmrF2jq+9Hv7UvnTt2dLzJ9desDjK eXuUZbWJZ1oayDvxFtNczFtpk4t7g2XfWjcmgPIdBJsUponAnho2Gn12KQ0sFosuZvoq 5Vr065ubzc1HZ+fo2en3XQxEPjx9xwk7MbGyvRqWfpfEhrzxPuXylX2bejv6LLCIi0TT li7bJlSUo1+I7bwmsemoTi1Ncdj2PIJKB2Ah3WYmiCK/SumyVTVWMpUSVDObNLm+Geqs EZlldrHs+vgPxtkoqZNIdc1BgN0APZQZeUJ0j9OIucsuvF7gTwmFihpSZFN+FX5ViXmt dr/g== 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=HtMS2+9V7qd6zUhJqmshIHceW7JGRRmz5hCKeup/FwU=; b=rE92ZwIxMbqDgEQgPnHf/ZK8xyeCJKVoczsMPLkboiuYChJ6CMP58yNoHDfmVp9G7e XE6HMbbY9UXpTbGr1JROLGGz129y68uhYqkGhZUpWQpPuZ/LjOKo+0e1TN8QnYt5wJhP RZgvyq/kOTZmezxDXa1JpEtiiN5BrXZpEu+yTQ1gmTCl/pyVn3a9KzQNUlVLBTVnY66y oKy1AFczWwSmss5BwnrDHnBQB/Ur9CxOXUw/1BEpn1CCeZ3umqhSg9dj80HBuujexij5 3dnbWp20vw5apMGqclW4Dq4JqaQb2dkMIM+r9+AoPb6kP23fWme3HTau8QTcqO9zVXpP ld8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@blackwall-org.20210112.gappssmtp.com header.s=20210112 header.b=v1E7SzBf; 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 t12-20020a508d4c000000b00418c2b5bd5asi1482905edt.60.2022.03.17.03.35.52; Thu, 17 Mar 2022 03:36:17 -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=v1E7SzBf; 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 S231671AbiCQJDE (ORCPT + 99 others); Thu, 17 Mar 2022 05:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231635AbiCQJDD (ORCPT ); Thu, 17 Mar 2022 05:03:03 -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 43B031D12C3 for ; Thu, 17 Mar 2022 02:01:47 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id b15so5709813edn.4 for ; Thu, 17 Mar 2022 02:01:47 -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=HtMS2+9V7qd6zUhJqmshIHceW7JGRRmz5hCKeup/FwU=; b=v1E7SzBfSt8587wvWB/smgDMZ9JEHt+ZoQNwOn2uA49pYqLeUsEf7felGz0ynrFCTS Ti6vYpZHB2JzO6+pYzVwPVQffy63WI+ZOLfXgGKBUkBeAALAOVtAOpDhKmoZYipOcbIU CtPpPvHUhDP81OKvzPH7kVJQ+uhR6M92XhPfqT/vIM5IrWl+QFCfYZ0v8TDfx/gMLTUj 1tV8l9+DZRyAmp1s+HCBoTXinca+zvnDhe+4NiXFOUpx4Py90gI8tXCgFeF+DpVeyfqC /KqwuVs7uVIc9JUwSDFpYEYaCUTh3L1YqKugIfg0TiAlYaPH9MIMh076qLIpRJVjyXQ4 w1qw== 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=HtMS2+9V7qd6zUhJqmshIHceW7JGRRmz5hCKeup/FwU=; b=aYIrNd5uuMk5O4CIe1fOvKTuWfV766hQVnoJzhjn3r0eMUbo4pbCeXU6xapnBetDR7 OU2hhIYHns0QM70lr3TCwJjoG2Pbnc0aChdp4OJbxhMsyJwhuVfqgmJtOBGiUHehwpr+ ohm4o9U9GJDzSD5MzDf0DOoi1vi2QcPOqJvin/auln+pHMGRqh8u1SLDOYjSF5uheHGp fbylFIlAy5/C/VHwfPatyTWXhAM7KbsTDq2PkN/O88m8DzwI09h1HAzoZwy48XO/8KDF W3qlc6acyeJANZmErNaBqqX0Cr52p2jxgsgw0h4Gg+pCHGvAY0fA83IFL4GDs64vaq0Q vQEg== X-Gm-Message-State: AOAM531xsK/OTd6qWmZONClSZgQ0G3/jAjhYKaXBMgb0F69m7pYEAFaa J86CHsTIA5hzpZXjTQD9yI7ikg== X-Received: by 2002:a05:6402:28b2:b0:416:2b00:532 with SMTP id eg50-20020a05640228b200b004162b000532mr3305663edb.396.1647507705736; Thu, 17 Mar 2022 02:01:45 -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 d4-20020a1709067a0400b006d6e3ca9f71sm2081763ejo.198.2022.03.17.02.01.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Mar 2022 02:01:45 -0700 (PDT) Message-ID: <0005fbf1-0c14-2ffe-617b-a770dcc1240c@blackwall.org> Date: Thu, 17 Mar 2022 11:01:43 +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 09/15] net: bridge: mst: Add helper to query a port's MST state 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-10-tobias@waldekranz.com> From: Nikolay Aleksandrov In-Reply-To: <20220316150857.2442916-10-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=unavailable 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 who are offloading MST states > into hardware. As an example, a driver may wish to flush the FDB for a > port when it transitions from forwarding to blocking - which means > that the previous state must be discoverable. > > Signed-off-by: Tobias Waldekranz > --- > include/linux/if_bridge.h | 6 ++++++ > net/bridge/br_mst.c | 25 +++++++++++++++++++++++++ > 2 files changed, 31 insertions(+) > Acked-by: Nikolay Aleksandrov