Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1457893rwb; Sun, 2 Oct 2022 01:10:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM44wP9E4TJX9AFFZ5TvHtderQg+qst4SLcgG2oKTGRctCjJWtS+q2uX0o7gQWivXjyqu8q8 X-Received: by 2002:a17:907:60ca:b0:781:e17d:3698 with SMTP id hv10-20020a17090760ca00b00781e17d3698mr11369281ejc.218.1664698248211; Sun, 02 Oct 2022 01:10:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664698248; cv=pass; d=google.com; s=arc-20160816; b=tuggHrszuY5YKQ5yAHEqs/F4UDxggvJ5gvS2k7IYw3mqpKomiDHaxUID3wRJuoWJKS wE056TOJlsAbGSD1uPwvyhloVCnMZt/+OECT/uXvZ2OcLumF/vokhrML2zOktyCO6f0S GZ1lYjG0GskO3aaEo4UCGrW2D84RCzRut9Vm/wQVIsd80AiA8Y2aBfb30l/GQYdId4gm ba0pC5tV0JGqAjjaVJPHJSZjr/KU1k+tGSbqD/01pDaErgL6dGtvNlrC4NA5S4eL7oRG FDnxDC1Q8vgW6j+pyHkYjVC1zssAqFlj4oY6p9fUke4s9oL/SEFqSlr00u4pw0QqUayS w0aA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SFqMd4b/TP7ivjoTr5k0gJ7vPmOsDtXTKIF4G9bDt1c=; b=eyV8vIZQuO805vqcaM8nDZT3jfyjazoHREQedbKpI6e+GL45y1zBuzDokhYjX31NYI +FfIv77uWA1JM3t7sqjm3P+2VuuC+RcRmPaoFXxTqGIpTj1HyJCCLvswf9Mw1qif27pm zkoznBwy2AJtqzPrj1cq4Al+NQj3LK1kQrfchbz4SnxY3pXAN4zu1S1SEBpCVPlMGBA6 DQhk7yBYVNTEMOJ+TvtP/ygme1AoXhu93Fg8qI4LNWZDfk0r88q3COXMS+UtTWz0fUIy FmqgfESVtXK4j1B0STJDt1w7lLjNGFasmCFlYnIFuthgOIq029CRv8XePoG9AGK/2DHB Eq4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=IPJr+Uby; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rk11-20020a170907214b00b007307c26f6ddsi4833071ejb.995.2022.10.02.01.10.20; Sun, 02 Oct 2022 01:10:48 -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=@Nvidia.com header.s=selector2 header.b=IPJr+Uby; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbiJBHea (ORCPT + 99 others); Sun, 2 Oct 2022 03:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJBHe2 (ORCPT ); Sun, 2 Oct 2022 03:34:28 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2080.outbound.protection.outlook.com [40.107.244.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4E8F4E86E; Sun, 2 Oct 2022 00:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gap3kEBemsS63zbopJ8Iwex8f2x2asHF18MF8WCfZKOk9WAUqXxvZPcHMGj0ZOJukSxI5OX67XAtpmmhetg+FMwdk6CPataRBHNy4Pq0/cze93SrenoomtMvtSpbI+EeONU0TYODdkCcgCn0xPWpUvEmhphYyDK4x85hSTC4EneeSNj4xu1b1siyX7spVsMtDF8fwLNFN9lvUeSLnUPly3J7THXlYqj4ACNtkpX/WxtHHlZhDNCzEnq24I+MV6Fz3liDu1wu3vwITDHL5fgFaYuvgGSEunHueFd6u3zjwG4HXs7fPtrguxn09NJcp/ig4L/1vHzUjARmpylGfQT8xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SFqMd4b/TP7ivjoTr5k0gJ7vPmOsDtXTKIF4G9bDt1c=; b=nOHFu/6gp0whL0jLBJNN/tI4bTwYUvP4jFNCdlcHDIc88LIwKsZP5iQTpn6wf55Iyj5ryEC0nulSRFc2jS6cea5LeiPKfpjIzz/ayRwLhiBw5lBAdUGKuYSl1HxrmTwrQT31G8FUXg17RCHZjt1RzQho8Bmrm2j+A1RQEqyZE4k7c9PPxMII6IpXenYp8kefE6eVBu+jX57gdWda/QPEHkmXZP0Y2CWVSUv1LFZlhhXBCVhLLD7OWZ2aPUhH/uiVcpY8wuKPqRBJ9qO+8Emh+ODvM0PvkiXsIPJPvlwAxgx5dzWcKV4u8vaLcvLrnskplAMxlBEroqKRu1xkPKJL6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SFqMd4b/TP7ivjoTr5k0gJ7vPmOsDtXTKIF4G9bDt1c=; b=IPJr+UbyEHDX4ZuieqcWqueJikP/vN7k5TRX+tucW06nulyXflBFSkUL2GvEaphwc7IJu3Kn9f5/spYFC2wQ4xh7b9MNeh32qNVhsd1GPsnShgoe+rBErvL6ESa1mHo6O+7NkABRJOOsO+QRKyw0pNfQ3Gs7LTNXQzkkH1OSOuhiW+yxgsLLnodZadFeRXaGNe3n0v1/W8r7If2KEW4ZSWSoxZPtoq/aWPDSrGlkO4+ZNdu2rYnqQVRiLcZUfiZuVMRgdok5KVFm6oKwvWYOyDPXf/Bj8/NZO6PDexZCgDTpVbYu0a5jSM0V7GuLFm6HokRmdK4RnSBecOElB5aDlg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from CY5PR12MB6179.namprd12.prod.outlook.com (2603:10b6:930:24::22) by SA0PR12MB4352.namprd12.prod.outlook.com (2603:10b6:806:9c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28; Sun, 2 Oct 2022 07:34:25 +0000 Received: from CY5PR12MB6179.namprd12.prod.outlook.com ([fe80::8f0b:1a79:520a:64c5]) by CY5PR12MB6179.namprd12.prod.outlook.com ([fe80::8f0b:1a79:520a:64c5%7]) with mapi id 15.20.5676.024; Sun, 2 Oct 2022 07:34:25 +0000 Date: Sun, 2 Oct 2022 10:34:18 +0300 From: Ido Schimmel To: netdev@kapio-technology.com Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Russell King , Christian Marangi , Daniel Borkmann , Yuwei Wang , Petr Machata , Florent Fourcot , Hans Schultz , Joachim Wiberg , Amit Cohen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH iproute2-next 1/2] bridge: link: enable MacAuth/MAB feature Message-ID: References: <20220929152137.167626-1-netdev@kapio-technology.com> <00f5b024d242b948e1e198dfe95d73bc@kapio-technology.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00f5b024d242b948e1e198dfe95d73bc@kapio-technology.com> X-ClientProxiedBy: VI1PR08CA0249.eurprd08.prod.outlook.com (2603:10a6:803:dc::22) To CY5PR12MB6179.namprd12.prod.outlook.com (2603:10b6:930:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY5PR12MB6179:EE_|SA0PR12MB4352:EE_ X-MS-Office365-Filtering-Correlation-Id: 05d7dd20-bb7b-4970-bc94-08daa44887a4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WLuwYW9YHX9REVcQHk2qHTZl6vcWjhtUprtqdVHo9Rnf9VWMKDEzGDhbn1/df0vpYg9L122g97dBOzSjXqxtHJpj2Twvs+U5xQLteHzAItu4mGpuJFJeAjOB7uPXFDRLGgQOmvpXzPHqvbawJh9/HUa9FqjszTS6GxNpa7gWikNqkujTLAlLwwmR6IsO6qKCVsCRcI2GJx5MXaXiDY9qajFRZx1TVdVydzKMloUxFSiu6m7xk7QcCTZB4xAHGLxRuRfowxFSvhJcB+Xq7xClHSSKq8H0x7QpQvvionCQY40zDMbRlUhXYTd11umRflnYRITTZbZZYV4Ng+0BzUIFpYnWgwAvtHhnCa2pTw7UuS4Ke8sSfo87u/AYI7+R2bjZxKEMlft9w2SaMzzX7ZOLpOJEo/uBMNEFTWQgmOTvItYB3Whdiuysc0tLTpKcFy+0cd45AMJPnMc0zIz9RcwO7hysa4MCz2BdGT9jWzDAJ2j4bqF36Aj4szwzcz1Y+Of8Jt25pdHWMW9K/fh7SoDoT6qaihAY4YyW4KtrP+ze/7GhsFrxQw1whXcoLE3QoHA4voF0/w+/9Bceb6N6ox4AckF/p7RJFwEjIJTsCAMasPckbdcIafWHKFVrEdHt3z7lrfRxK04rvCQ+67YHVqAFYVsNnGPGPr4Q+8Fv+YaLGYugwUOoPjmWWW7LTAudrpInBRXYNYbr6rlXmGpL3b5B7g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR12MB6179.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(7916004)(4636009)(366004)(136003)(346002)(396003)(39860400002)(376002)(451199015)(66556008)(66476007)(66946007)(41300700001)(4326008)(6666004)(8676002)(38100700002)(186003)(2906002)(83380400001)(6506007)(53546011)(86362001)(8936002)(7406005)(7416002)(9686003)(6512007)(5660300002)(26005)(54906003)(33716001)(6916009)(478600001)(6486002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?b1mp+NkKE74io7JzANnmgrPeN+D9qIT2k7/ZCAfj5DkX4H9Hh+Rkccw60rtB?= =?us-ascii?Q?DwB0oWhUd9mC/m23B4MmPDz9ftuySRiOjm9G02p3vFrVFNXEv+AMARpxhpYw?= =?us-ascii?Q?JE0qt8nzVmHODMI+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F9uoAD6r6?= =?us-ascii?Q?q0HZb9+TkDK7zLOdAYzriu+H/FqZ6RMft7SrQxfbDcm9rNfy/ICqKpQ26Zr4?= =?us-ascii?Q?d2PSur0tm4qOHbp00U4JmLeWovHzhd72ZLaykKOSRobiL7+v1SXFirxFemiF?= =?us-ascii?Q?lDZWPk5pbyYCAmbBgzgyUwMHfeCIeOhet+nfpY+nI5EKp/D+s/BBO7y/X6rj?= =?us-ascii?Q?+NFh561o51AN7bHF2npIOi1qkVR6/1faq3/ZDztPjqhXu8WFw6tbhX1xw45a?= =?us-ascii?Q?ppa8kXGkRvTDilnx+q8pWXnNUkZ5MsR6irVVuqc0EhkEfm63sOV3mxN9EexH?= =?us-ascii?Q?AzOrbIhGfi2IQpcO1ArcdF6/qhonhzDfQZjwGGM4BTOLZGjgIVsIbGe6EZ/i?= =?us-ascii?Q?TbOAzWBHYVHngA2uyX8s4lyxv06aSA73y5iNiiHXfY4DZ5wnCh7zcK4HaSw+?= =?us-ascii?Q?+n6AuZVOAmvhMAVmJXI0ja1dKJ3By2SN8L2YATnjInhh6OgoS2fbwd97Bu5k?= =?us-ascii?Q?qdJe688vtXAAmJYWNj9U+Bs3zRuX61qYCundXkyxhgCxSDNNYd79tlV6GGOe?= =?us-ascii?Q?wV9fk1fNNUwj7A71qIBa56WquqD0ooqtHL+OWIBI?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05d7dd20-bb7b-4970-bc94-08daa44887a4 X-MS-Exchange-CrossTenant-AuthSource: CY5PR12MB6179.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2022 07:34:24.8542 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LOrfRwaLqX2gxDpInbgsLKFSWxIyacI/bI+aKH66AC+KTqxPa6D+SS0icjYGm3VEWlcKoQbv7/+OjUL+Pp7ahw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4352 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no 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 Sat, Oct 01, 2022 at 11:32:52PM +0200, netdev@kapio-technology.com wrote: > On 2022-10-01 16:59, Ido Schimmel wrote: > > On Thu, Sep 29, 2022 at 05:21:36PM +0200, Hans Schultz wrote: > > > The MAB feature can be enabled on a locked port with the command: > > > bridge link set dev mab on > > > > Please provide regular and JSON output in the commit message. > > > > How would the JSON version look like in this example? $ bridge -d link show dev dummy10 558: dummy10: mtu 1500 master br0 state disabled priority 32 cost 100 hairpin off guard off root_block off fastleave off learning on flood on mcast_flood on mcast_to_unicast off neigh_suppress off vlan_tunnel off isolated off $ bridge -d -j -p link show dev dummy10 [ { "ifindex": 558, "ifname": "dummy10", "flags": [ "BROADCAST","NOARP","UP","LOWER_UP" ], "mtu": 1500, "master": "br0", "state": "disabled", "priority": 32, "cost": 100, "hairpin": false, "guard": false, "root_block": false, "fastleave": false, "learning": true, "flood": true, "mcast_flood": true, "mcast_to_unicast": false, "neigh_suppress": false, "vlan_tunnel": false, "isolated": false } ]