Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp699124ybg; Mon, 1 Jun 2020 12:00:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8kw+/k+GKb+giqC9G7QmZAh9WUy9yIy7NFfh+Mts29lEnbc6FGO7TxbKRLMPBMAkYOQZY X-Received: by 2002:a17:906:528b:: with SMTP id c11mr7824913ejm.407.1591038043017; Mon, 01 Jun 2020 12:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591038043; cv=none; d=google.com; s=arc-20160816; b=lpo1z4mpnED6Be4UQ93Ggf8cOi4Vs04d5fJaUqendb1MLbkGR9/CGMIm7V+FegGdnu TT0JdX51khHMMs4euNvwCMCva0QfOvae78kjmb4f9p3YkGXX8sfgjHEZgcwDWuvIY9WV qtaRWmHWTBYMeCP0Tn/Rtv19mgUMhfWl7BiRtzy7R0sz7+rDSTiluLigUXIBfJBlPUFX fem7F3OyypOZpfReSx96wGYBIWfMbFMP17rmdPiMiIXERYl4M7lXNftwmvgerBpgNiMY gSHg+hzHpjFiIABN3IJL2g4YAZMxb1jKfZtHPviGGNQPmLnzSA4cbHwSCllSaDUeeNGk PNSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=PrYNx58DSDS7E+bWbpjORdXySrGP3XwIGhPrAXIoYqQ=; b=z9DBp7v3YP90DZlEEWpB8f+89ZdJrQrxfcNE/IOB6esxyZAzXka/8Dc4YDdtgpr63Q n+Z7G/TGkikOCGSRx3D/seQv5TCFPuG461FbwzYiwUSdCA1Itk8YaNBR1KH9eiYyHfvq o1bR6uvl56dsss9thJuN75oKjDjYe/+GtsWHICTQ2Sd5/DzP7CEXB9lWkCrDJCntxEZO XDKKLnFsUUXn2akIq0QK5kTK9m3X5oGDibUhmlqlxV6zhHdKruag/QO7xB0O3UjlCv1T QoL9hY6y9PpGOyKJyfmVcU7AUReopFkHH1lsUiXkJR3FGBFSD3N4/BODGkYd12rHgi0B T//g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nh7si210436ejb.155.2020.06.01.12.00.18; Mon, 01 Jun 2020 12:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730555AbgFAS4c (ORCPT + 99 others); Mon, 1 Jun 2020 14:56:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729668AbgFAS4a (ORCPT ); Mon, 1 Jun 2020 14:56:30 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2237FC061A0E; Mon, 1 Jun 2020 11:56:30 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 256E1120ED483; Mon, 1 Jun 2020 11:56:29 -0700 (PDT) Date: Mon, 01 Jun 2020 11:56:28 -0700 (PDT) Message-Id: <20200601.115628.932125543367472654.davem@davemloft.net> To: horatiu.vultur@microchip.com Cc: nikolay@cumulusnetworks.com, roopa@cumulusnetworks.com, jiri@resnulli.us, ivecera@redhat.com, kuba@kernel.org, UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org Subject: Re: [PATCH net-next v2 0/3] bridge: mrp: Add support for MRA role From: David Miller In-Reply-To: <20200530180948.1194569-1-horatiu.vultur@microchip.com> References: <20200530180948.1194569-1-horatiu.vultur@microchip.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 01 Jun 2020 11:56:29 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Horatiu Vultur Date: Sat, 30 May 2020 18:09:45 +0000 > This patch series extends the MRP with the MRA role. > A node that has the MRA role can behave as a MRM or as a MRC. In case there are > multiple nodes in the topology that has the MRA role then only one node can > behave as MRM and all the others need to be have as MRC. The node that has the > higher priority(lower value) will behave as MRM. > A node that has the MRA role and behaves as MRC, it just needs to forward the > MRP_Test frames between the ring ports but also it needs to detect in case it > stops receiving MRP_Test frames. In that case it would try to behave as MRM. > > v2: > - add new patch that fixes sparse warnings > - fix parsing of prio attribute Series applied, thank you.