Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1098639rwb; Sat, 3 Sep 2022 08:24:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR72idHWYAlrz6AS9lo04E6wcteTjNg1mp04ELZVmXcigG4ViMXM+lLHkpoftOeVJWBtkk55 X-Received: by 2002:a05:6402:1446:b0:448:5081:efc7 with SMTP id d6-20020a056402144600b004485081efc7mr25986986edx.428.1662218643555; Sat, 03 Sep 2022 08:24:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662218643; cv=pass; d=google.com; s=arc-20160816; b=dUUvNZgvFXruv5Csj6gK+P7HpuGXSkOyJuqD/qX1R1rGEThNY+GRP3yxtNAy5j2pd8 O3EEy7TxFQH3bfVNfW9SEMz1hBbNBX7gH8GS4wqCELLg7iaBLu9ga2bARR7GbOPlsjJ7 iaLPTYl1kOQIhxUHCKH4xMuUJlBN7UUUEhAD0IXdu4fW0mVG6zn06+V3+QQW/D7SfDOP MIeG86vUJ0sKVLwLnivusCHpgPqdnkoTtda/Uifn/NLZqLQHxpdfW6+++D8GYW/IQT+2 hmptRqd6xFU0oUtLEWpoJ8vcZBEoQPXPk08EwAIy2DXfL2oszyp2beh+4mqYUCWgLvgJ E6eQ== 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=MjhX63khefmEPOZBGQ4oiXb3rTJ+88WV+CjkJ1/kR5g=; b=T6cMBepZDsPEQ4grJXIPN39kk375qJ2rYSmXSNhR+S7/gdOz8xwhR95Z2hvGUk3LYv CKr8zUhx7+bP0hiE3Tdh3u/CKgJAu/7aVLf+t99vl21PdfFpPKO7XT0hcA+dxjMbBN/J Yzkcs9hAlwkA7Eqpk2P2yUBhOMDhF9PBFLG6OaATt7W4uUXtlTCvoInUt1jKHM048Piq xH8Nqf95SwPjQkriWMhwYXMTbvhc1u2IbdKGlhrwDSq/Pt3pzEZrOn+cPiLNZ8R8uDft L2B6QzUZFosWgoW+y/JjT+FPp4QrVDm+J/alU0s9bW2S/ze3cXNziT3TH6T7YPkC5VL+ rCRQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=hesk5c84; 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 sh15-20020a1709076e8f00b00741a0720a2dsi4614781ejc.776.2022.09.03.08.23.37; Sat, 03 Sep 2022 08:24:03 -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=hesk5c84; 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 S230160AbiICOtv (ORCPT + 99 others); Sat, 3 Sep 2022 10:49:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiICOtt (ORCPT ); Sat, 3 Sep 2022 10:49:49 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2047.outbound.protection.outlook.com [40.107.96.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1FEC14085; Sat, 3 Sep 2022 07:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jyUylIJz15wJp2aCV38P245OeypVsAqsHDRpKnr+b6qzgSiovGJWRzTtjzVYtoljhhHC1IkXHLlAn9voJV9U6TlVdR7lVEu8wPs+XEUIjd1KX10M5Ihf1L8CA2+xLB41u2shjxlU6ES0ThABkKtHQ0SyidNOHAfJYj7Bu/O1/Q/CVjmj21RF6QRO+0LkR1+jROj8gzGFIACThcfqmTGNXBB4iaKWWKShlo+3F2hHhPOPFWpZfoNqT5M9bifDGRX03nmTFd+exRURgkI0TIi3W8Q1ic6v6CGAmSjLi/WqNsO+o2qU3Cl7od3B2Vx+VfMfqAcA3mExbbLZZzcQXU9DJw== 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=MjhX63khefmEPOZBGQ4oiXb3rTJ+88WV+CjkJ1/kR5g=; b=OKNmQl/iVou4gNQYYO8HE/zagqrI1ciWnh8CXNKNS86fO8CjewSq3h83ArjWb8nfml2YqJQMuqEXe9yf4SOLGY43vcqRO+HiQu72Cc6G/0xXitAoCUkG1zjKBihZgaOpjmytx5vi9W5aYk4DF6qJAlhYcXl7NKW59ipNriDUXjjaz/ajRo4NZnRS3v0Wpf32O3WHG8dPUqsaULDhBZXubVTXoWNa1fUTkjISrkUmIRVwzMHD/qEGKDyvDkTa98YK/JKY2MYB996gzCBSOiWhzVqeeZXuzDrnmxF7Ro6EvU0uUpWsMQ+z5mPDG8OjppxjpOFQVvyCW6bIPzB0pKrXxQ== 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=MjhX63khefmEPOZBGQ4oiXb3rTJ+88WV+CjkJ1/kR5g=; b=hesk5c84ZzuLcFFSvtHMnnaNVqSbzwCTMIQzQbmOA4m1VEdj25+7zUhImKEs+nwPP/KXYWG6Dq6m9ohaDd+9SReqTxY5hYrQoKQcgZvnRSpwUPCiW4PlISrW1ulA8zRkbnjbY+QhU3KQhGU4VYu+a/waXp5AbO5YAofn+Ad7gTs8H1NpqT26osMIkeRT26lZL/SDL3XdQQkA2JXl8xcsHd8tSe2NOni0ijWjn1llczEKl9Ro49asKJYHh23oVHF9DEhcYgu+V7+UusVn5d/C6pPDKlun42+omO+O68uxweG8SbTXgvEnM8MP5ZdteZdM2Wzq73DJiHC58sJaIECA3g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from PH7SPRMB0001.namprd12.prod.outlook.com (2603:10b6:510:13c::20) by CH0PR12MB5234.namprd12.prod.outlook.com (2603:10b6:610:d1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Sat, 3 Sep 2022 14:49:46 +0000 Received: from PH7SPRMB0001.namprd12.prod.outlook.com ([fe80::3ca6:ba11:2893:980e]) by PH7SPRMB0001.namprd12.prod.outlook.com ([fe80::3ca6:ba11:2893:980e%6]) with mapi id 15.20.5504.025; Sat, 3 Sep 2022 14:49:46 +0000 Date: Sat, 3 Sep 2022 17:49:39 +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 , Christian Marangi , Daniel Borkmann , Yuwei Wang , 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 v5 net-next 6/6] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests Message-ID: References: <20220826114538.705433-1-netdev@kapio-technology.com> <20220826114538.705433-7-netdev@kapio-technology.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: VI1PR06CA0162.eurprd06.prod.outlook.com (2603:10a6:803:c8::19) To PH7SPRMB0001.namprd12.prod.outlook.com (2603:10b6:510:13c::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e633807e-d1c6-4302-ca37-08da8dbb8b56 X-MS-TrafficTypeDiagnostic: CH0PR12MB5234:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RL9XyU04O7kKKSbGscy7EMW//AjAYM+zqS1X5ILt7nYrmJS0RFu9R0uyrDs79GTDDpWZO/J8ZQZrhfMFJ7EG1LdugqmTb4TLK9Uo2qMIuIOBuQzgdrNc78MjgJ8CRIS/OQ0CyXo7LTA5joNHxJXE0xoRaNFeLvRFxD+s/l3dRMPCVmsnHt1c801wjHlfJoDM2X2+o/9sE12bA/0xBXt6YBsCkTGMScuAxiajzcFwy8D3hOYvK7o9UzTFv1KLdmfqBvjdG5flkcprjkVYSwwMhglmCFXOf8kvoEdmnV/gAd+1G0cPoIbeGqaZj78PEH27HJnDV27augSu5Bj6s6E2+tF3iX9JbcYNyFHqO+Sy2ezsibJpqSVQ4rP/3/zAF35oACgaARsnJ2jrUYfaghT4+rlxC2XbE0UAyv96+wIhRK8POkkue8gLmDzx856FMH4OSmTvLH2eJ/2MCvIlUxdSNyzHumfgHKeFwTlvCD/oAE9f7IeTf9dcJCH9lGWCg9vE1H2dpvIL9qrV5Gx8QPCgLgviCRQPFNSu77n4t/kaqfiLBMjClPgHWD6Ny9uQdM1t6uWYMCW2JjH0uGam/2oCNTG7C8lpvfgSXjniIuENb4n2hC6jj2g1DD3BnFHX00WPPpTidqPPRl6QIPX1/wxI1bNNuW7sE9p6IsKytekNfXHbrBQPaXrDfs8N3Bgf9g7Ke1Ll4OivugXDx9U/dWZ0Bg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7SPRMB0001.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(7916004)(4636009)(366004)(39860400002)(346002)(396003)(376002)(136003)(4326008)(83380400001)(8676002)(66946007)(66476007)(66556008)(5660300002)(8936002)(4744005)(7416002)(7406005)(6506007)(26005)(53546011)(6666004)(478600001)(6486002)(41300700001)(186003)(6512007)(9686003)(316002)(6916009)(86362001)(54906003)(33716001)(38100700002)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1gOSlLBjAUVRGbUIikaO0eu0oyttN7zWB+io+gms0ihmdyb5K5wDeJi2UN6u?= =?us-ascii?Q?U6F0Rb3LXB5fuOPgJ2YFxBF8i+8zOsI2RVhoCOC8pQGDkWPttoikK0X2/yrS?= =?us-ascii?Q?/DbBhepxN7/4OM4Mfl7YJgQdwxS4IfggyznAsF8gojkTQujI+uoZTEPOtyAo?= =?us-ascii?Q?IGmzxtod6TFtaiNc2uE44rDEwcon7dC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q?QxkKWz3nfHCweot4OGa6KR9avL9NXBbpFJWGMr3QMP1dRhpJsV29BGlK0RoH?= =?us-ascii?Q?mekzqGLe4edaUFgKmszbEmbd4a7Idef5dzejF3bdzydhqTwRJU7jsLRgmV02?= =?us-ascii?Q?tllWT3oZ3df4cRvyqLb4zNVka6sF3UPbNqj7A9vADvcU7y6jl21t0aaAWMz/?= =?us-ascii?Q?9qEXcp11ERpyp9ZI/daTK02WQ3o19nwy5eDJaygRSBV2+MumuDZTJrCOXclB?= =?us-ascii?Q?kSodCNeWKl2zvZ5vnilz8xLtZvCD+qDtFCiGqsyXZgjwRSH6LUTSPIgXB0j0?= =?us-ascii?Q?ILNsjHBHYZD6//anStiv8TrGDPn+sgq2OzV9fNB47kDKukCrvgeNZZjDPOju?= =?us-ascii?Q?0IYTKqbxQUq0sS4uJODdqr0OO0auEW0UjHCQPbxn9tfAxsMk62e8lHUDcKk8?= =?us-ascii?Q?e7S2JlZdrMPFd2uaiTj1p3jHj6ds8xw4qGkYo1eINEYXhSTk79jXWG08ferJ?= =?us-ascii?Q?i8aDOUI0au1NZk4DbArqDd+u8ropDjAQnk0Suz01?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e633807e-d1c6-4302-ca37-08da8dbb8b56 X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0001.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2022 14:49:46.4187 (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: gXfPbhslE+SnxzmPzzHxsUlGlKTdH0WAGSGSktryMDe0XVfVJTxgh7kguuU0NDy9GrI9mcHdLSN3DhC4E884Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5234 X-Spam-Status: No, score=-1.1 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, T_SCC_BODY_TEXT_LINE 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 Mon, Aug 29, 2022 at 06:07:59PM +0200, netdev@kapio-technology.com wrote: > On 2022-08-27 20:21, Ido Schimmel wrote: > > On Fri, Aug 26, 2022 at 01:45:38PM +0200, Hans Schultz wrote: > > > > + $MZ $h2 -q -t udp -a $mac -b rand > > > + bridge fdb show dev $swp2 | grep -q "$mac vlan 1 master br0" > > > + check_err $? "Locked port station move: Entry not found on > > > unlocked port" > > > > Looks like this is going to fail with offloaded data path as according > > to fdb_print_flags() in iproute2 both the "extern_learn" and "offload" > > flags will be printed before "master". > > > > The output shows like: > 74:e1:e1:2c:4f:18 dev eth8 vlan 1 master br0 extern_learn offload sticky > locked blackhole > > "sticky" will of course become "permanent", but I can still make it more > resilient by piping grep. OK. > > I suppose that I will keep the "sticky_no_roaming" test even though it is > not really needed here anymore? You can send it separately if you want.