Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp911174rwi; Thu, 20 Oct 2022 06:42:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4RT2SxR/YXoD2V3uknQqS9W93nMa/PqlG3XUGgwKxmPcjVuor9TqkOFqhCck0vGAYsBKgj X-Received: by 2002:a17:907:2e0b:b0:78e:16cb:327b with SMTP id ig11-20020a1709072e0b00b0078e16cb327bmr10777990ejc.458.1666273337460; Thu, 20 Oct 2022 06:42:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666273337; cv=pass; d=google.com; s=arc-20160816; b=HwFjaXe6SNUiBF1vQCsO+GJazdcP4sUjZCSP7g/5X1wpiLZ6FbGJb0KtBQXpJE8DKW o+5lWcEWDWEJrFvNhSTDguXM3dRikPgR8thrctdybYJUiMbyFbDhx3fKqz0LtjMEjhpw igYgrCd8BKhP4ZkK81jX37nlC9jWf2m60XCqoD+ME+04qQ+O7Z5K9ISNaU5/3FxWYl2f pdCaIfHbPeUxYS5vTyzfoFwpDzeHjDQg8mdEv/kPPNlMqavYQshMsrsOLtsHU2+bSMfX 2L/pUdgMeat+HGqc/K4MfyWdgtNVLx4a0me924VonuHXZVLr7FU+5cYcnyQtrSQDtN5U GLrg== 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=x/YiibZtt8oIPE19OVwC3YZXd2YUXxWN5oRvk2v2Dqk=; b=04MRHU0e01e/u64SE85MZ+hs38LDMXuOSxTERy5eqa69MOQc4InOJgM0HJkRgZM3qf 54kA/KGx4Dy5vCdosApTccOSl2XTlECYo9XWk+FImvSc8LayozzOXJKivWLux7X44BSp k8K8F2DXb+DcLE5HbeDoMG+85wqCP1M6sWfKPTXQGkLhhb4jf6UmvRQCGkVj30G0Dg3z es1pqabbv1iaPzCGupqPVNAcCImuVCKktT9+WPdYjqlhQHWqe6yMeP7gCVB23GIwiiwN ROqkJTwvNKzRjI0ME+RiIbYeNewVzzEEOHSNXcyZ63P8DfPsFVSwzaoB8oMB9WfUgRZH u8bQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=oSzow6Qj; 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 cr19-20020a170906d55300b0077ef2f9c8b7si19355885ejc.922.2022.10.20.06.41.44; Thu, 20 Oct 2022 06:42:17 -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=oSzow6Qj; 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 S230103AbiJTMfo (ORCPT + 99 others); Thu, 20 Oct 2022 08:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbiJTMfh (ORCPT ); Thu, 20 Oct 2022 08:35:37 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB46611CB61; Thu, 20 Oct 2022 05:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mwxyD1EZTu8oXYheR9EDJwhPX3+2Ysevy7O/0cBs3BP90i9xQoheSme3HEHTtMGN/EdvMxEHieVXGd5BL2yDFzZrpj+s+QiWhdd3Ng3fmYurNvNoWWCSTfTSZXzzUoPqQHZvuiKV9XZFQFEraRNV6YfrVBEVp2zu9gMZrInRIuZ7WnUnqtuKMH9auB/Lh/ujBl/7fLiAMfQ8e4bzuCtRrtJwb2+vh3naPevqdFBMXholYqTdZmCIyD6yNGHcHpMnu+iKwRt8R33EJzl5T70Csb2UVzloRKmV5e5BeAzIbNl8MhW7DYBOJgabj+vibL9c13CL/lP59mqWdEffZjdilw== 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=x/YiibZtt8oIPE19OVwC3YZXd2YUXxWN5oRvk2v2Dqk=; b=TeZsBpFZtv7Qe5YQxIBBPK02IBIPIp21eiSIf5PmsBBhcuEPdNyO3EWnHLiP4IyiqCeLxQ9reskkS2Fgv7jOHviz2HkgMrRMGcQSYNjCjHf2/KWO3F3n5yVB1VjLg+XNHAWdycgSPove1vgcAwKAO7ikSeEAZJ7vrkY435qog1TjUUGVQgrBORihlSBSqduoNGjS6Zb0hKOI2dWY/vxzkBzlZjNGeGkhAcVeUFunTcu+QrBpEYmsYF3XD2SN8K+U4o2GEYk4Prisxz9WAJuoQHj8iuZC0ouWyJTBFGJRp6KKMeXRfcjGn1453bnQszWLLLdq5b2v0ALFMb2fbsvnkA== 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=x/YiibZtt8oIPE19OVwC3YZXd2YUXxWN5oRvk2v2Dqk=; b=oSzow6Qji37ce+/huy5q0r0gc1ZpcltIGcfb0F/r0dAhM0UoYhQk0QBmePWT6Q5lOXcBGM3slpkEOsNJ2f4lU1DHeDeJNE6zuHr+cEYpbE/gg1NTL1ppDjHfRDEEYde4vd0W79k6egBwC7zuIAS9xWLI/BIDHkese9b50Aj5VxF8tQe0/kEVKBpytb45QDUOehmLFM32p+73zi8PhGsAt4gOAwBeg3auy2VtWMPpTF8vlke0v1JK94FardnT99T3vlJ5Tg7bjHeaQA/0vc67rx/FTmhKPG3wrrntUgjBnBQRQfPgxCyxd3QdCKHr4YeIidodwnWu0jsjkxfV7d3D3Q== 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 DM4PR12MB5087.namprd12.prod.outlook.com (2603:10b6:5:38a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34; Thu, 20 Oct 2022 12:35:29 +0000 Received: from CY5PR12MB6179.namprd12.prod.outlook.com ([fe80::4ff2:d93e:d200:227e]) by CY5PR12MB6179.namprd12.prod.outlook.com ([fe80::4ff2:d93e:d200:227e%7]) with mapi id 15.20.5723.033; Thu, 20 Oct 2022 12:35:28 +0000 Date: Thu, 20 Oct 2022 15:35:22 +0300 From: Ido Schimmel To: "Hans J. Schultz" 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 v8 net-next 12/12] selftests: forwarding: add MAB tests to locked port tests Message-ID: References: <20221018165619.134535-1-netdev@kapio-technology.com> <20221018165619.134535-13-netdev@kapio-technology.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221018165619.134535-13-netdev@kapio-technology.com> X-ClientProxiedBy: VI1PR07CA0276.eurprd07.prod.outlook.com (2603:10a6:803:b4::43) To CY5PR12MB6179.namprd12.prod.outlook.com (2603:10b6:930:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY5PR12MB6179:EE_|DM4PR12MB5087:EE_ X-MS-Office365-Filtering-Correlation-Id: f31413da-fd82-4c25-6411-08dab29791e0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0f1+dWRwi4ZecfE6SglapvhH+CpKQAR/ReDxo4v/+D1nXC6MNbEN+6FOBJ1n5xtR77urAu1mZHViY7FHNfG/EBhIf4I9t87f1EB5olN6TCuIxwzXRn66mA59DsJugtB8TQH25HIr8tgQ0eba/1XnYje4kB/6eGRhATFjhoLn1a2WT9MDy6+rvyR4j6qD2WjM/O7I+W1pE/PKCAReIvmlWNY/+X3TLxdkwQWUxvmL0OqLaxOWHFJSp6r3D47Wapod21TtML4/jYZw0J8Yly0ueQbGXaX7Hu/j7WQfSunV4Xl/Y42at7TmiXoxSRn+CmXMtfEO4zo5U68ZCOsmg5KUby0KvORCGtjticV7zehr3DVgcaoxL/lxXuTZcrMJMwRoJO6Pvn2g4SVgKA5SgtNvUrypy9jJxSaGYwg5hqbg5Kuw47lhHxhWINjCnDB2znz2A/ZJy3fnLhEiMPyRCmKlsLNxeruBRhbcYJvNPhl7NIBi0cpAokQV8IC6yzD5HuFGrqd22mhlpPs1tW+wazcBiMlC8PK7LYn0Rf5lPutQh8OA9YsYQvL5iWui51qu/ZCKDN7JyEBiw1DU60Lo9UkW95Dp/r9kUhiyhqTI4cBu5rQmTkr2JBDN/ifcp1sODjWhWPe2k2mtjA56YtIEsbgNStz2y5mgEt/dOCPb+Y4srHOEM5eKwDenQ8CvWsylMJnIAcm8vBr26/uHWEcnlAFEnQ== 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)(4636009)(7916004)(366004)(346002)(39860400002)(396003)(136003)(376002)(451199015)(7416002)(4326008)(6916009)(4744005)(7406005)(54906003)(6666004)(6506007)(8676002)(26005)(66556008)(66476007)(9686003)(8936002)(41300700001)(316002)(33716001)(5660300002)(66946007)(38100700002)(186003)(2906002)(86362001)(83380400001)(478600001)(6512007)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?SiPIcSJBN9jMyeat3c5XRcHFtJGoPH3fBd1lMCvuBRLDaSMqP6cR6ie2bo1E?= =?us-ascii?Q?ljlagT56UXi4bAvCvp/k5bj+ByBjN8+mjouaeQSM36jwJJQVoy2ARnbQQiwQ?= =?us-ascii?Q?8KbrHulc1xGQ+rW6hw2ele93jfq6yB8Jvxk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ascii?Q?3oGnrVuFD6sWPQOFe54wteFPoKk9od72AqGKw9XMfQgmUas8ezPlgvGXoVFP?= =?us-ascii?Q?XO8/S1YDZQ7nMC1ICJ2g0+UiDbAqoBYdlVarFWg877UOAmtANEOCnWjzKPU5?= =?us-ascii?Q?wHxJ7KzqYmyxiR6ezQgXB/ucunbQLljL5oOy/bboBVbMqPlxfhqc4DGXaz6R?= =?us-ascii?Q?r07+jqHoTBnuwB8CjlTE3QkbKzX7VMUSx4pG7QDFzMpDfLz0xsiiU5OvQ1nq?= =?us-ascii?Q?AG5dC2ajHIWg2AS6xZBwYiPPc6mEHBvlPJ27k11cXXhm603PYUsoFWKLi5j9?= =?us-ascii?Q?C4s5D/2S+KaNQUh1isM6GQSYW7ZhOUHA1dlj51PZ/rx279RRag3lF9Sgqjb4?= =?us-ascii?Q?O7U5u2iYWzvVcCFHwVWb47Bs9eNu2KNamL0JZWcP92QbUXmiaLZ1YrjglL1d?= =?us-ascii?Q?efS4qcwgQhhfcXaGm74uK+8t1LcJy2IAyHI8x3s08ow8LefR/7IKVVvFhRry?= =?us-ascii?Q?FcDoIKEzZ8fA8Dz1kn7Z6/6AMCfjTQn/EuJR1x3iDBH5vSN4+V1Smg9VWXaG?= =?us-ascii?Q?ZOjUc1bM1jDIYVeGyhcpoEat1NO97MDROoMTEVQP?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: f31413da-fd82-4c25-6411-08dab29791e0 X-MS-Exchange-CrossTenant-AuthSource: CY5PR12MB6179.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2022 12:35:28.8397 (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: zn8/kXIdVphxZzi1toyCkqGQeocCYCnarjEJtZXoKWN5lBts5FTmbiwRQh/A3eTryBZEqHbwVBUny/vldZY6yA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5087 X-Spam-Status: No, score=-1.4 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, URIBL_BLOCKED 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 Tue, Oct 18, 2022 at 06:56:19PM +0200, Hans J. Schultz wrote: > Verify that the MacAuth/MAB mechanism works by adding a FDB entry with > the locked flag set, denying access until the FDB entry is replaced with > a FDB entry without the locked flag set. Also verify that FDB entries > cannot roam from an unlocked port to a locked port. > > Add test of blackhole fdb entries, verifying that there is no forwarding > to a blackhole entry from any port, and that the blackhole entry can be > replaced. > > Signed-off-by: Hans J. Schultz Reviewed-by: Ido Schimmel Tested-by: Ido Schimmel