Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2872882rwb; Sun, 20 Nov 2022 03:20:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7A1tupOsWcpZtnv90j+QEpb7S+JaawFTdrpbygkt6vHPiCH2xfHLdVXmJTvYzwwong7tgj X-Received: by 2002:a17:906:b46:b0:7ad:a030:4816 with SMTP id v6-20020a1709060b4600b007ada0304816mr3497881ejg.765.1668943230649; Sun, 20 Nov 2022 03:20:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668943230; cv=none; d=google.com; s=arc-20160816; b=By6pFlDrV7naCRD8PhT8OukyqUYXLfwgPBuCSJFmCCPfOyUAK/AfgMCB95e+QBZTXB OKso7yp2wSw+dSBicb7KJaHpn3MkMcGdHHGCqCpHGJGvTgF7Gl3uyJ9oCxseb4fXriOK UNZQrIcwCnUEiggVzA+0i6AergrM/8FpcsOuMK25NBTbB2XxuaJBu/dj5/4DyhJp+mB/ G7PK/LiMpexEAg05evz1ZYi5rwsm//hxxwgdSby06DBN519UdO65QNcUhc5Bo1+qfkD5 3Y0JWmEBzwdAUncrjHURCFrZTGNa8bbm73vC0mh0ttSHXzNP2cL55y8s3dz3bQ5MIVMp bPOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=Ds6LIEg3dUy2cQ/fZVHdb5BSMbe+0l2TNMDl4WKizo4=; b=cmCNtx2+oGTUwy80dvb7iJntLet2qXB9JRiYYSKGJA5cxtp8r0WAsckkNQRjuQuC2h mxTv2CQPfJu3jvdfY+OC3OD0kmcZ0MSGJehdktdi1RGKXAXKy1UkD1qidDKgoO6Z6z7w 9dQSeAXZfpPuOkvOI6I8EjilgjDsA4d27qiHLdznaSP2J9xcg4jK5BxVoKyOIGzdi3Ic /Lip8YN4VAyqOHAz89Q//iRcEW/JALIRvNoOuZ+3aISkpJDvBp9EfhQQ1xwLI3E/Eku1 ugWIcYkl1KW9pKg42f11kXI0JdvOXpwNI4YoEBZ4s5uC1vxm19CPJorID+0ygnptA853 ym+g== ARC-Authentication-Results: i=1; mx.google.com; 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 rh16-20020a17090720f000b007819684b56fsi5707660ejb.225.2022.11.20.03.20.01; Sun, 20 Nov 2022 03:20:30 -0800 (PST) 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; 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 S229632AbiKTJyR (ORCPT + 91 others); Sun, 20 Nov 2022 04:54:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiKTJyO (ORCPT ); Sun, 20 Nov 2022 04:54:14 -0500 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6746415A06; Sun, 20 Nov 2022 01:54:13 -0800 (PST) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 2C9101883853; Sun, 20 Nov 2022 09:54:12 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id E626A25002DE; Sun, 20 Nov 2022 09:54:11 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id D69C691201E4; Sun, 20 Nov 2022 09:54:11 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Sun, 20 Nov 2022 10:54:11 +0100 From: netdev@kapio-technology.com To: Vladimir Oltean Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Eric Dumazet , Paolo Abeni , open list Subject: Re: [PATCH v8 net-next 2/2] net: dsa: mv88e6xxx: mac-auth/MAB implementation In-Reply-To: <20221115222312.lix6xpvddjbsmoac@skbuf> References: <20221112203748.68995-1-netdev@kapio-technology.com> <20221112203748.68995-1-netdev@kapio-technology.com> <20221112203748.68995-3-netdev@kapio-technology.com> <20221112203748.68995-3-netdev@kapio-technology.com> <20221115222312.lix6xpvddjbsmoac@skbuf> User-Agent: Gigahost Webmail Message-ID: <7f2a4ef8d5d790c557b255f715e63ade@kapio-technology.com> X-Sender: netdev@kapio-technology.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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 2022-11-15 23:23, Vladimir Oltean wrote: > On Sat, Nov 12, 2022 at 09:37:48PM +0100, Hans J. Schultz wrote: >> diff --git a/drivers/net/dsa/mv88e6xxx/chip.h >> b/drivers/net/dsa/mv88e6xxx/chip.h >> index e693154cf803..3b951cd0e6f8 100644 >> --- a/drivers/net/dsa/mv88e6xxx/chip.h >> +++ b/drivers/net/dsa/mv88e6xxx/chip.h >> @@ -280,6 +280,10 @@ struct mv88e6xxx_port { >> unsigned int serdes_irq; >> char serdes_irq_name[64]; >> struct devlink_region *region; >> + >> + /* Locked port and MacAuth control flags */ > > Can you please be consistent and call MAB MAC Authentication Bypass? > I mean, "bypass" is the most important part of what goes on, and you > just omit it. > I must admit that I consider 'MacAuth' and 'Mac Authentication Bypass' to be completely equivalent terms, where the MAB terminology is what is coined by Cisco. Afaik, there is no difference in the core functionality between the two. I do see that Cisco has a more extended concept, when you consider non-core functionality, as how the whole authorization decision process and the infrastructure that is involved works, and thus is very Cisco centered, as I have had in my cover letter: "This feature is known as MAC-Auth or MAC Authentication Bypass (MAB) in Cisco terminology, where the full MAB concept involves additional Cisco infrastructure for authorization." I would have preferred the MacAuth terminology as I see it as more generic and open, but 'mab' is short as a flag name... :D