Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp37839ybt; Tue, 23 Jun 2020 14:40:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv13n7zwLsgqtuxCX85WGpAhajMjyqdNNSxp740q1rziEBISwGbGon7cIZDj7eHpwqkUXw X-Received: by 2002:a17:906:689:: with SMTP id u9mr21541385ejb.13.1592948453746; Tue, 23 Jun 2020 14:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592948453; cv=none; d=google.com; s=arc-20160816; b=jgYaO/34t/r4i7NKREqxk36aG8LJBgiQ4V0Y4Zz7gnkS0QbAr1uuif/fPf5eyxZy2s 405aaGfflWIvFhpYfNhoi4HmZz6g6Gk2JpvuwxuVmnOutHmFgZToSVU9fljojA9sEY66 eKh/hTgwq3QzqPCcCBBbXlbdSqQaWQIgah/JoyNK4S2Gj/GD3YQxRDieSB0gk1zCcnvx aaW1d0SyM6KucwFWitV0Kwl7kbR9ZY5u5aimc1qc7grFhwmDV4m0xhjhp5C4hpcKwcgL v7cb1jd7nEfleNWb/jIsfm56BchHtZEMTKpTQJbMVht4qOd9d0nztHdM0J6gyK7RoRC+ RtRw== 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=w8fMJWbMyaRlSgGpYYuRaBoYhmacnQlMSf/KQFraGcQ=; b=qtAb7tuzODbuiu4mahSJlfyqpxFxBE1645K7E+xpkWSo7PhCxK3z91ZM/0UgEmsGf2 oT/89fQ9qFyeUNBCJmQ+RfI5ccZLR1FeiVowEXVGAb1j+QYjihvcvgz2vmKM+DBRki4H tgIR/aP73VdUaGBIrpfHyD/TpD1GYWYYT4rLAECWIxwhxrcBtqglcyMLJi+hJokXLlBU Z3cB5hq9soiRuLSp2zwFU0Ijk33TVEr7+P32xevuL5tQqXWSuiaQgjeED+UjZZNIcM4p ishoosNhi/m/qsa3X71n/ZHynGkUL2rZugeSpi1zs5mc9aIGvlRJMydGseeu3zTBtodp g+iA== 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 dt8si1948199ejc.466.2020.06.23.14.40.29; Tue, 23 Jun 2020 14:40:53 -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 S2393838AbgFWVi2 (ORCPT + 99 others); Tue, 23 Jun 2020 17:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393791AbgFWViX (ORCPT ); Tue, 23 Jun 2020 17:38:23 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76B1CC061573; Tue, 23 Jun 2020 14:38:23 -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 98557129428C9; Tue, 23 Jun 2020 14:38:22 -0700 (PDT) Date: Tue, 23 Jun 2020 14:38:21 -0700 (PDT) Message-Id: <20200623.143821.491798381160245817.davem@davemloft.net> To: horatiu.vultur@microchip.com Cc: nikolay@cumulusnetworks.com, roopa@cumulusnetworks.com, kuba@kernel.org, linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net v2 0/2] bridge: mrp: Update MRP_PORT_ROLE From: David Miller In-Reply-To: <20200623090541.2964760-1-horatiu.vultur@microchip.com> References: <20200623090541.2964760-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]); Tue, 23 Jun 2020 14:38:23 -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: Tue, 23 Jun 2020 11:05:39 +0200 > This patch series does the following: > - fixes the enum br_mrp_port_role_type. It removes the port role none(0x2) > because this is in conflict with the standard. The standard defines the > interconnect port role as value 0x2. > - adds checks regarding current defined port roles: primary(0x0) and > secondary(0x1). > > v2: > - add the validation code when setting the port role. Series applied, thank you.