From patchwork Wed Jan 31 14:08:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13539512 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DF3C80C0A; Wed, 31 Jan 2024 14:10:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710203; cv=fail; b=kbp5uBT9kTYNC54N/6kabszz7WVy1pcy0VmOkFlSfZTjL54gEGiBng/Ubs9W2jfQyqsnb7KIpm2s+a4I1n84auU6AHwGGfYSHb2hBek8jXiW+rrs2uxTbqdCU2ErlUAlUWU6HyipVmSTyohYwVtikuhftprj9SyB21mrYZywsdw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710203; c=relaxed/simple; bh=b+C0Vk6oz2cX8/kt0a9y25HR54fa9Cfl/1cSqcOocZ0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=gKQyA/QXdoWHhguw8nUaAjCCh1oPL1eHat7rwwPzxlO5MSNGLe2QNUPIye9VzqqEabIOtvdfHXTP4gD/Si1cRtbioj1rA4BNd1eDW2V3fSY0m1oXig43dLBbT4SFXckrNnXQRjNX49XkaCSfVaA+S1RxVQnCcw0A/ZWebizk0Kg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=KMaPGoPZ; arc=fail smtp.client-ip=40.107.223.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="KMaPGoPZ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d94QKiT4LQ+tGMaSdBLD1gSX0d3+Ejv/hgXsgHulchtxLVY2al6GPUoys41SC9/cqyVAMKCJ+6jlG+NLnFeahMJ4fPzUzdhP4AwLOsalwbWDPXqsLAE7de9SjFmwA5r0Vh5IziPl9XyOhV+RLh+aGrM3b/HiBSOQ/fCVxNVhT5f0dHB6pI65Jq3T/oUPp7rFgzh+h+zhRvzy7dgrrrTFZQWXrtbWRqD95yAVKJeGseCHrD//CtS5q2a55WHPn5FT9TpDTb0QdtncVymZer+6YzSV3Kpen6gf+f1nu7gBacFu+NZcC4uGB9HDaPjDjZbEWvfLnzVxnjJbXfB4uAG2vQ== 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=rFF9Zb+0sVfdNxiee9rR73n2+GfQkMaVU7qzAZ87omc=; b=gOmhPgHM0HQym4zpxM+WIjVdazv1xR+++m+IfCF36bM3PB3vsbNXjFnjIS4bl+kHArOoMNmrDlYXhXMxbw9t00CGmtfEtVWmmndRA9Hqz2BH3B8oBnqzO0auTzXcSHUzqlD7fzbVZbdb23pbkL5d1AZN+tXeTHFj3NHV8/X4hNVFzKJGdH8wI18w3HsJ3ISgKEliWcM7BP+34C8u6vF1fjukdFkSQOZf4T7N1smRiyvQpJ/qj241OwCj605XhVMXY1yl7CFG+bZUv6QwACHukromcTm3nfa8S/70VyaF3iR2Pk0uf9vLaAg3QcvAwie24Z8yPjRs/qiH3YdFtalO5A== 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=rFF9Zb+0sVfdNxiee9rR73n2+GfQkMaVU7qzAZ87omc=; b=KMaPGoPZ4RSXJv0cLTSaUObgCcT23Z29lLD10MEALmGSGP2CozUahdoPJb09GZUeFjOJDfEhRfJKskVHqsJGM9JRwfNOtwwmNTbFh+pQ0BeosSq26GZ9/m2GT0GXdUFhSihYO7GQo3a2On9Bnw1AdVKZtW4zhKSZCX4MB/7KJv34Tw47ycwppjqUto2mwVj+ond/vSvFEvLd4ASKC2fANcLZQjJZTzxkPf0cbehhWd7N/XAFctsDHq5dX6KvzRJvTq3CfgJ6ZGUF2kprRYVV363SX0Hr5wZ676H287rJ1H3IkOQbLDh5zrGP957qZN/IFa0aNFOZ58OkXTEhpm1/gw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.35; Wed, 31 Jan 2024 14:09:57 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c%5]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 14:09:57 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Jay Vosburgh , Andy Gospodarek , Shuah Khan , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Danielle Ratson , Ido Schimmel , Johannes Nixdorf , Davide Caratti , Vladimir Oltean , Tobias Waldekranz , Coco Li , Willem de Bruijn , Lucas Karpinski , Anders Roxell , Hangbin Liu , linux-kselftest@vger.kernel.org Subject: [PATCH net 1/5] selftests: team: Add missing config options Date: Wed, 31 Jan 2024 09:08:44 -0500 Message-ID: <20240131140848.360618-2-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131140848.360618-1-bpoirier@nvidia.com> References: <20240131140848.360618-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBPR01CA0075.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:3::11) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: b6a0b9f9-d2d9-4711-0e3c-08dc22664e11 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jW9RkrpNrEBMWOje6JwOkBnCAAJkG5eZfcvrZ7c/QVFVLQD+d/+tI1Whv0o+mM7WhOPlupzOmEzarSV/ejLvcxZx2zUXr/yrvDmFdCIStfvLcC/Fc8XsCWwaaaFwkJtiF6XjCxI9vZGf93KfL/1t0RJZf91AgvzZFdFk1XLTK3m5cX4WkT1/SOgwa+eTWh+ShIobOncYiFFIWNGeNZGCrPeW69yNCAtzvj+Ys6O8JZ5zNgMYYf+Bq5q5dZ/p9ipBLxeMnmF12DozEt3OpOWcVM/mlF+43AVoBlH6khk6v1z403AD6uTF7kqv55hapJ3sj6vSThn32iNmv9Xl/D2pKKiVe2znhhzZC1fUPviyodnYeovkvqTzFmTp8rUVJRx+4ydrxhoBFuHWW9E3ePMnZmahUKqABLnC1OJvW44fWGRYhYtIrsMqACMtwRZg+AQ9jMQqjanfV+LdM/Loxz8kumqwINIpQ4ZGa9e5e7CuJjGPsd2LvB00ctcA5Ly8rtjBmAz8Cnh1LnkdU8SKQlKtOtlNqzlm5ddiUfjgeNNfPct0JLQxDmAnzCIJIb9Am6YB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(66476007)(2906002)(7416002)(5660300002)(316002)(8936002)(66946007)(6916009)(54906003)(8676002)(4326008)(36756003)(478600001)(38100700002)(86362001)(6486002)(26005)(6512007)(6666004)(41300700001)(2616005)(1076003)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0VE74Ika28aBCabClH5n86/Va4l2nfl30+ikMWkPbHNUqGTgBbI1Q6KRdperhVnDBlRiYOeB+ZDuaKygbovoptGUTYejqXQeAwsDtcWNCfse78EMMb8kbtguboyNDp87PkFkTmpGON27+VC7xHzbowShZZ1JP5UPA4qhJuGnbJIwhi3+wEcjAJckCX/rDnnECbCQVOYpNx1mTggeqx1BGGUDTwe3ALwR6Fw8sXE6fhRF34kp8NyRanmeGFlDNawyOkex/JYTXeVO/ZuoqBIRxhpn28zD76VAuHLxPQRBFQDui1zTPqdTWpIdikUuxAn6Pc1IY02BQ/uwG4qdK39PfkDOm9JhNY4L2OEZHMmIEfRIt8kwDAjv5zCi8X45CdJD9YnJkeWFmcrkuwLjPIWQE7Lk4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PpFlpiiOftWcfg59WCdyfuXzCYYPv+mY1lwsBkMXP8f7ya5mREYq+8grOkxni8GxshZri7InoeMPlg17iwB3yTWyzaAexLugtHP5489a0Kyv X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6a0b9f9-d2d9-4711-0e3c-08dc22664e11 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 14:09:57.2929 (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: oDbmjvcxseEPHAg7cUf7GfKcUzANFvLIN7Ba5D6A2K5POgKtvkvV9fD9FwpH1MDZXnRYhhGt18s6XhbshELqcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 X-Patchwork-Delegate: kuba@kernel.org Similar to commit dd2d40acdbb2 ("selftests: bonding: Add more missing config options"), add more networking-specific config options which are needed for team device tests. For testing, I used the minimal config generated by virtme-ng and I added the options in the config file. Afterwards, the team device test passed. Fixes: bbb774d921e2 ("net: Add tests for bonding and team address list management") Reviewed-by: Petr Machata Signed-off-by: Benjamin Poirier --- tools/testing/selftests/drivers/net/team/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/drivers/net/team/config b/tools/testing/selftests/drivers/net/team/config index 265b6882cc21..b5e3a3aad4bf 100644 --- a/tools/testing/selftests/drivers/net/team/config +++ b/tools/testing/selftests/drivers/net/team/config @@ -1,3 +1,5 @@ +CONFIG_DUMMY=y +CONFIG_IPV6=y +CONFIG_MACVLAN=y CONFIG_NET_TEAM=y CONFIG_NET_TEAM_MODE_LOADBALANCE=y -CONFIG_MACVLAN=y From patchwork Wed Jan 31 14:08:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13539514 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C52398287F; Wed, 31 Jan 2024 14:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710210; cv=fail; b=u0b3We7EEAzvZOxrAmX1DcugXdKPu09C9m75KdYvk+9PSSPMSeyZWny6X/5kmnCmcVLYpFTmUmN344rT1CIIjU3JwffGo6B/2/BvXEPHv0J2ZGCERmL/703VUA5afovs9+f5V7jNnI7bgfEdvsPMk6FMEbYtcVN+gjr6C7WfRg4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710210; c=relaxed/simple; bh=yjJQdUlojn+nPEHnTQlkyevXaLoA1xtRZxZu0rSRCnc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=TF/Sgwl/P9sk1UG07Vg3Z2vXh2lQTF9c5tqgwNnmKu91ER+vuozc6AyUJPhrrzIf25xOuQJLVWJ0DKSeG9NyU70uTY5N6542oYTelgYgpDH1WhZCb8Ip08N735NbktvS0aCx+gd3/RFqs1zlRoqnA9bxzFxHRWPFqUBufCoSrNI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=S4y6ijIt; arc=fail smtp.client-ip=40.107.223.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="S4y6ijIt" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eh2rrEz4eJnUUJERLv2LHZcJbH9FbMOK2LZlW9Us5gS1jD6758EoOA9GFvTqtENAwy2X/Bc83gLR0x6UMFeTUaBHOuNgiBRkujD7vo9qVa8ExhniEmmvtRS3wDxbAosKMKdORK5sk6hqsuBzGmpf1LAUM6mHP5+BlS8yahRiqJwRoi2a6qbRtpkjsqQp9xRNJ8RVK2PNi8BpqVgFkClHt+1i03L6qj7JEir2xYQxxhQfzSB6j9EHfcjJsuQFE0B1MXLzGrxRfJD5HQg30TI4Gr9DlGBci/WOffrWEwE45wvGTRdYxtQXb5WIuvvFOKUiA0XgbEneClpT7snNcHt6aQ== 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=6uQVzFIlpi/XHeG7ZcEFM6zJnWow89qkExnfCADWNyc=; b=eXTzVLydBCHWheZUU1OgHcDGRERq/JZKmeFe30LmeojBpaF+osdHtYnNUw4oiKyzeDn5wmJ29TmsILHHcJ+I5WGzE2YjY1bxiXjM7h4G5wDjwmapZB5GawvFeuy5XFh4nWVZPBDKNiUrYvh6sGERoi5zd3MVZx7TSSyNPghGH7+1A4d64jLCv1ZHL0pD4/1DnoJC65y1n33YyDWUbLuVUQPqyMo0V26SJh5iG8sjKqIkoWnVLWhVap6kl62OzOkZXPKFLyVMlErSv8oW0Ygn7zlhJTNSPmcjwOPQt5UilPdG0MTx7b61DA8dTzSHLHksbrPQNiIIAOuMRU1J6mUyUg== 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=6uQVzFIlpi/XHeG7ZcEFM6zJnWow89qkExnfCADWNyc=; b=S4y6ijIt/jcqLqSddYwzDQmjzEymzVXNDh53vx4PZxMgKEFX9LsTd/K+EOAz5XtlfpMOElbUbOajiZjgylNQN9ag/l8G5Caykq8dReeu9l637Iv73O0eDwLctytEr42tyTWCQYB/4bM4wKTxZyhfOH4LdipZIsSoJVty/GQNVOcy21Zcl8s2op5B6Nop6TquqlY652Sv5ebD60ivH6UgU1KWoIv759+O1fjUDphYH6Bf/WAoEY1G3oIvn09bIc9PCyG6CSZ4Kwo0AXxPaucr/PZSHPiu7H9KSy4gpMNgK/zVBnz545eXDGeFjgZMyh79t/rA9GdSZ8a9qI3J9uipcg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.35; Wed, 31 Jan 2024 14:09:59 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c%5]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 14:09:58 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Jay Vosburgh , Andy Gospodarek , Shuah Khan , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Danielle Ratson , Ido Schimmel , Johannes Nixdorf , Davide Caratti , Vladimir Oltean , Tobias Waldekranz , Coco Li , Willem de Bruijn , Lucas Karpinski , Anders Roxell , Hangbin Liu , linux-kselftest@vger.kernel.org Subject: [PATCH net 2/5] selftests: bonding: Check initial state Date: Wed, 31 Jan 2024 09:08:45 -0500 Message-ID: <20240131140848.360618-3-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131140848.360618-1-bpoirier@nvidia.com> References: <20240131140848.360618-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBPR01CA0080.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:3::16) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: d1c04cfb-e6ed-4966-91af-08dc22664ee9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Y++f348URloxSjypJ4Ckcg+uC67CL32leCsYJph1OeBDLCJO1y08MU+ndz2BeYmUSKwIbC48rZL8WShJ4+bzK1ucpa5hIG9Xi6HJyGpDSbVMUdKok00LwpzPf/pNP1QuDlWWEzHVUnCKGmIreBuhj0WGCtWzqls1RfN+YjZeCE+qLjZ7WhMh8WhxTvn0JBk9ShPt1alWdt7Yu1SUn6nsyQnZEcwLjiClTzL4UM0dZKcA8TXmzyViVZTV/7O14LyU9SDKSdI0ZBOiXWB7iF7H+OCz2K1M5SBPVlhuRjOVUFDjjoUIWp0kcVraoX/gUfCvxbweOTUYYbtX6IPCcyWNTJC5JgG5a9+ejYHVkfvDojDECYzXO1OS3I8HZRZOK7GwBUug/UOdaWsHxsdi7Nw1h/krySf7MGw6vDj5ZGHG374+g1Dfq/gROXau2Fmxuvv3iE24vQWzYPaUAretptEsPRHEB6hJDqdFfiaVJNudldmmphKzSi2U83xb0DtOciHWUB1bfMvnY5E85o6YCmR1Gd+GDSsp50QWcDH4boz9IaO1nvk3BbA1nKT5YIIx5PpN X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(66476007)(2906002)(7416002)(5660300002)(316002)(8936002)(66946007)(6916009)(54906003)(8676002)(4326008)(36756003)(478600001)(38100700002)(86362001)(6486002)(26005)(6512007)(6666004)(41300700001)(2616005)(1076003)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fddUmj7TZ/m3B8HZLjhLRoX3eaNOwwZaS8JW77z1UkUOVmVkCZpZH2nmHS2m3oOTXabNo/niQBwod8hmZNe5hblw3Wdq2iVUAVZUAAcaj31mKnlQwvnBE1KslmeeNt/TjR6bRE/Cg47U3pEpmko+ggBVcVJxtmOHQVdWRReKBc9VVVcNiRh3+0+0xBnhjbbvpQi7Bb5I+AHc627zGX+XOYv9nHpiGc2oSdtfl3v1WNiRF8gsCRYOqNZf9VjciH/NVDOHpMSEMoF/eZHUhoOBkkVO1FVHzzhkKFxN9SqIE+xIbuiB5aUuydp2G8XA+CnJc/GMhxQjchLsTEbo89rx2bogo6f1RW6FbNlavCsp9XcDT06LKWFbnUum7S0kPfVigTCH/KkIETVg9zcOfRLMv/f94EZa/Y8752pklwc4rsjX2f0LU20NlvYUlT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Gz3R3zwScvOK+rHWcrdPXpPda+L3GdQNZzcygHGoMcwarWjckHyF1umod4eGAEx2WQGvII X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1c04cfb-e6ed-4966-91af-08dc22664ee9 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 14:09:58.6605 (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: gWyxLqbd1nfIU3zkGCWgEIiNPg2avDZAmJc50V6OcD7ExrskAdbA22KU0+24/6LQKAyqxy9WNLyXqKQExzTw0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 X-Patchwork-Delegate: kuba@kernel.org The purpose of the test_LAG_cleanup() function is to check that some hardware addresses are removed from underlying devices after they have been unenslaved. The test function simply checks that those addresses are not present at the end. However, if the addresses were never added to begin with due to some error in device setup, the test function currently passes. This is a false positive since in that situation the test did not actually exercise the intended functionality. Add a check that the expected addresses are indeed present after device setup. This makes the test function more robust. I noticed this problem when running the team/dev_addr_lists.sh test on a system without support for dummy and ipv6: tools/testing/selftests/drivers/net/team# ./dev_addr_lists.sh Error: Unknown device type. Error: Unknown device type. This program is not intended to be run as root. RTNETLINK answers: Operation not supported TEST: team cleanup mode lacp [ OK ] Fixes: bbb774d921e2 ("net: Add tests for bonding and team address list management") Signed-off-by: Benjamin Poirier --- .../testing/selftests/drivers/net/bonding/lag_lib.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/testing/selftests/drivers/net/bonding/lag_lib.sh b/tools/testing/selftests/drivers/net/bonding/lag_lib.sh index 2a268b17b61f..dbdd736a41d3 100644 --- a/tools/testing/selftests/drivers/net/bonding/lag_lib.sh +++ b/tools/testing/selftests/drivers/net/bonding/lag_lib.sh @@ -48,6 +48,17 @@ test_LAG_cleanup() ip link add mv0 link "$name" up address "$ucaddr" type macvlan # Used to test dev->mc handling ip address add "$addr6" dev "$name" + + # Check that addresses were added as expected + (grep_bridge_fdb "$ucaddr" bridge fdb show dev dummy1 || + grep_bridge_fdb "$ucaddr" bridge fdb show dev dummy2) >/dev/null + check_err $? "macvlan unicast address not found on a slave" + + # mcaddr is added asynchronously by addrconf_dad_work(), use busywait + (busywait 10000 grep_bridge_fdb "$mcaddr" bridge fdb show dev dummy1 || + grep_bridge_fdb "$mcaddr" bridge fdb show dev dummy2) >/dev/null + check_err $? "IPv6 solicited-node multicast mac address not found on a slave" + ip link set dev "$name" down ip link del "$name" From patchwork Wed Jan 31 14:08:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13539513 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E69BB82863; Wed, 31 Jan 2024 14:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710205; cv=fail; b=C3Dibj1iFmMy+4rkRJg/1sQ3baT4GF0VDnH1eyWBsw8ldXOi6tDTw6hugsCnRhpR6xmN0+LxvVe8jE91z74IYrtyR6/aQQPkouD4XisOvY0HWJPIDSijokAyR8uQw5UTtubdBlA4VQid558em1kL8wjuhVhNVsbwTph3t0gNJOQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710205; c=relaxed/simple; bh=2ZVQcdMgyRPVGNjM3PoR6NaFccFIm4UAtYVHFBhjdaI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=EDuIljAPBIHZIaVYdYPwlSeDFqN5w3N1oodeVwOJRf4pGbcsA2xWtpxp9UHcLnA6lEkHhLsQkxtRuFpA34rg18Yj/aAe3xP4zNknoP30qXrfoJJACHe/n6xR2j/dYxdtBX9z3q9PMcRYcQJotXqJVzg4AmZJPckqcsHf1KbUAjE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=WTwKmQYX; arc=fail smtp.client-ip=40.107.223.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="WTwKmQYX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cbw69Usj0XkWqQotKQy+vN7TY2m0WMhH0CMpsPPcMaBw0AhH29uo22c8bMfzhYpRvMWz9uxUdAnI6oqmAU8/2S3NS5lTZMFCjKVSjy7kidN+6Mk986CBemLNNAb1JXQ/rIZhhlAg8HXbHK4XlyC6mgF+W/BdfDMIdVt6NulR2KQLQ8SFr6SybtJb7kWkLl5X0ZHSffivEZ5RXQCw/viX926b+om+h4grjJ2V8g98jslgbHlX2nSdyJSVdQN5JDJYSKUnWdN6htx/ARdD3GA0nW1pha8pKM4TvbrMx4/ITR7FPZ5gKxIOCb+o4oAkB0XJAUXKo5lFluMjIuMXwMck6Q== 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=AzRlmLcSmMATE5Pr5MZiXehHxDTLWblavDRNN9g0Tcc=; b=gqi6C347t6ls55XD3vdzW4X4DZDdV1oHGQuTBo1E/FG8a1P/HSeKdJhk2L7ZoqOKwLjsESsFKqohVNS+1n+Pc4KOvi0XZypahi/+pJBF7Qg7oGeXwtSUYTfD6Zz7iKg2AzpX8Tke8usW19ZKX/TrkgcbeHQqEYuhWB8pGHwpVKQ9D1NLr9QwxO2IhpZYJ9Bhp7+b1Ul0g+beMRiWf3O/3qT85C1mFev2jP7CU59G36SYk9i5EEgv1/6+vzVvpZ2bvpP9GEbWrdv6rKOcEyHbPyDrGjoUMhqEdbN2oqc4CHWeai/4pjYymAyB2bNWAeWG9mkvI52xGl1safsymosqTg== 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=AzRlmLcSmMATE5Pr5MZiXehHxDTLWblavDRNN9g0Tcc=; b=WTwKmQYXglfCfBvoeBDVRwzkg5kwCXwv5sU3J3Z7Paxr54E9fU4go6Tlref1jTsM/JmKyCEAtP1hjRJ3N34An7Omb9KWhlbBW1RAsMdBHNBDEnkvP+FQRJShej+0P1ZNeew+1VKxa1giSAlEbIQdkVcEIhopFoibZs6CSkmFNzjz1nE8syc2Brx5YsIASXpTIBVJJZl/IPRYkWUQs+hrrXQIsb10aDM5SerAsIbMmRrXWhaQ4qj12v4LHffA/akG0254QYEHamRF99pF6bXpVnGd9LcH0VN+TTkCcqM51axe1E+NQ8mINpxm5knVl/x3ziloFaCqqE6fWABV7JqttQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.35; Wed, 31 Jan 2024 14:10:00 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c%5]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 14:10:00 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Jay Vosburgh , Andy Gospodarek , Shuah Khan , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Danielle Ratson , Ido Schimmel , Johannes Nixdorf , Davide Caratti , Vladimir Oltean , Tobias Waldekranz , Coco Li , Willem de Bruijn , Lucas Karpinski , Anders Roxell , Hangbin Liu , linux-kselftest@vger.kernel.org Subject: [PATCH net 3/5] selftests: net: Remove executable bits from library scripts Date: Wed, 31 Jan 2024 09:08:46 -0500 Message-ID: <20240131140848.360618-4-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131140848.360618-1-bpoirier@nvidia.com> References: <20240131140848.360618-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBPR01CA0094.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:3::30) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: e74968b3-1df0-4282-f7e8-08dc22664fd2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: plHX6upXRyE+wBLl2nqbh19lGjyAKpzbdb4IIq781KezTmNVaqjoWieImwCFO2VG29BVADTAnwb2KN5LY1NsOuD9fIx+5TIoVbw4T9ZXYgQlKVhBquuXLuX9JxghA/jA4Nu2xXE3JnhleE1FVByeCFRaPH+GXTT8DPtouHlJkMjpxG9XmZjfIzhiU37MjAqSQFrZdNvGqRzr0gYgyxKQ7KRCU57J1BobGWHLtqMl7gwcUpbwWo8czS70RyqbwzozoT7SYR5dw4gsV2fniILNkGaTTgyOQZue9StdzRNlold+1kcij+1JKocw3BEL6U8bZMUHFzw4SHFqNmD3zQPwlNYofTl8n7extpaTNPHohmbeuDxKF22VYi6j/5V8TMR72EDwUBhx+8osptDIaQebR/LePZG5sgQWBx6XqK2vd9jvdPhhDagIX7J4iSnXXTD/F1BvaFLFikROSaLE0XMhZHS9e9yP0F/4nYsyE7+OpYvfH4+F9BaEh8hartW46xycXSA+jmu7OldOxbh4DUyWV7j+xv7tX4JIA/vi6riqqaRRI5Dr9kbnX4SCzWZhDMAA X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(66476007)(2906002)(7416002)(5660300002)(316002)(8936002)(66946007)(6916009)(54906003)(8676002)(4326008)(36756003)(478600001)(38100700002)(86362001)(6486002)(26005)(6512007)(6666004)(41300700001)(2616005)(1076003)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam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0J3EJFOV0oeDYZmFFrHMS1C3b5wdQTmVeUWv7OlfFGg/goJNOed2ClBX8hw3yUlYGPNHVYOVa3buBUp+VhneVkxoVl30558v+MZ+JhAxlzSAd03GTfWUFW4guTRtk9lI4H0BsTwV9O/PT0SHuzawzBivpJaUWL3QZiy3n1+tRGtDmuEhYgdQlBGbj1Io4XXwDSZcUUfmx2lDlb6tpPvoD51Km2U7EkoZw9n+btr+hr/LZ+iCAq2uN/4MjihKtZkHHee34tJ+F2py0J275x/955g0nvej+rRahXU9eLZQxYfTduYQMgTF8+yAUeZuhFvmCLFSbY2JdDSr2A2x02T4lITLJR1AloFj1A9DlVy6PnCx/DlA7NVrxkdyELIg2Et+SjvdE5qlsy0lZ5eba+lsp7KpX1SErvHsS/carCdQI1evXSwQYaODzDEx3d0n2FDOY0V5wn5Z6GZVj9HHgaIvlGuFSBDNLRde1ZUXnIIn1YnaKdlt0xs46iFYJOaRgUA/RH8sYmCRjrb19dFTt/RmxJ X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: e74968b3-1df0-4282-f7e8-08dc22664fd2 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 14:10:00.2156 (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: dFVlFC38k9uchNHWiKYQps+SLtTSgE6tsxqjBdRhgQSEB+s2HLDED9BVuLI/LSZS8fzeJDs24dwEuY2eyazWGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 X-Patchwork-Delegate: kuba@kernel.org setup_loopback.sh and net_helper.sh are meant to be sourced from other scripts, not executed directly. Therefore, remove the executable bits from those files' permissions. This change is similar to commit 49078c1b80b6 ("selftests: forwarding: Remove executable bits from lib.sh") Fixes: 7d1575014a63 ("selftests/net: GRO coalesce test") Fixes: 3bdd9fd29cb0 ("selftests/net: synchronize udpgro tests' tx and rx connection") Suggested-by: Paolo Abeni Signed-off-by: Benjamin Poirier --- tools/testing/selftests/net/net_helper.sh | 0 tools/testing/selftests/net/setup_loopback.sh | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 tools/testing/selftests/net/net_helper.sh mode change 100755 => 100644 tools/testing/selftests/net/setup_loopback.sh diff --git a/tools/testing/selftests/net/net_helper.sh b/tools/testing/selftests/net/net_helper.sh old mode 100755 new mode 100644 diff --git a/tools/testing/selftests/net/setup_loopback.sh b/tools/testing/selftests/net/setup_loopback.sh old mode 100755 new mode 100644 From patchwork Wed Jan 31 14:08:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13539515 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78FE780C1B; Wed, 31 Jan 2024 14:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710212; cv=fail; b=rI7hzYxg4o6L3qz7aeFz2RkHRjuXYMzZYY4W60ykIIb1MujqADV5iJE7Pwxz0q+wyYHEslSncM/AUB0bPxuAtlTICCn/X+6ZHe6n9fJlbYkmjW+PfcO6kPiBdiD1W+gkFcviFFg7GonyAcudjyAv1kXh8hG4vhI9AIqJ/QzNNdQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710212; c=relaxed/simple; bh=KyUs65USKot+qyFftIzPhKQMXl8Y41bXCpVkCq4eDOM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=jRs1O1sKbTCuLswuFpI/i/mzcsRdgIiNwJRvuJAhgpPG2CCrn4iv9llQWPIBE40BemY1EI0ACCF82Nh6oBn0kb/b7t/qNZHpwpjBG29kTyV2dSy3vGmPxmdS+/W3fNiicE8gFKlCgArbX8SOSZRvRJcmfESid4QIvdwC9N/tnTE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=g81h2uHn; arc=fail smtp.client-ip=40.107.223.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="g81h2uHn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYesSaUS2CJX5ldwHcTxFWuEzjz31tM0f0Ysc1aABfUypvTpMGxjawIp9AATZbEYN8iCemfj1fBgiRJhQ+CznheXz5HqQIbqannBV8z36rB6z2w2D/qK3ggulmhxLbbAh3jn1VD++49/CtmTdsKlMbdnWXB/PmJN+QcGfYk1zmYvzWE8aH5k0q6AQ609Knw2HxkehJ3CB2a2rjwzYTDB9lTefau1HkoCq2oYuQICC2k+H5pPCp64M/RwFe3V9Uud4PHtrO+OAaF94SSWknAJlzKboV97+0yDHuHP/KfKVZq360EStzkYdc+AHW6IUcz8cXhc8myUb5/KcUtM/Eby+w== 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=/BsBDEZy/QBGg+PkqJLgeT4xZ9+tVr77AVeybrbYyls=; b=KU8+uVHtZE5qRyNvrGWlj/us8DXDf8ehnDqJ/5MOiHyn5txmkbbYeDc8eLyVXKIrjolXnFTs9VK5zyeklK3Uhenjz1K9b7KnnzMg2s/dPvWRw4Mtr+OZ6zImy4GuRabxistx/VHSpCxDQdCDJ5y4hEOxAzZLGJnF5pW1jmVlIQM74KA6iTz8obURg2i6c+QvwLLG5xKQFFFOLYQUB6JFT4l50olrT9ZAwIApMpHFRCy8pTgfiAXuoZIAyI4tluUr0O9XVbej+DqWDor8x2MksW/9JFemJ2icUV3ZSq2kTGUP3E+aMNo3EuL/bEsQwCbKhhVWqL3FgXdRsgzG9yV3uA== 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=/BsBDEZy/QBGg+PkqJLgeT4xZ9+tVr77AVeybrbYyls=; b=g81h2uHnbbWF1ZP+1Cgc4gG5AkZdzpxYmlfNn8dq3xCE6b9hp6HMhqgSYA5+ewRCk6aYr9drse0dhlzp2BRPkGL4sESF6Uhn+qMC8u0VFEeoZHXXW9Li93xwypujHbcqBXyC4XUOs2Ft4USU9IfE7rHOuFgEkbO7vljrk2VMCyfmSS0hLZRueNPQ2QA7wZAOG4HGOTKCnotsS6GRL045pTrpevQixl1LCmbZLDKgIqPzWzlaVL0EeXDLp1NRYwwxtjk9wF9W9znI7QcMCI9zhQuGVga2FVPbzrmW/b2jQK+waklh+eytDdnA4yjkxN07L+CCY6ZfrWSGDxM0grKQ7A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.35; Wed, 31 Jan 2024 14:10:01 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c%5]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 14:10:01 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Jay Vosburgh , Andy Gospodarek , Shuah Khan , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Danielle Ratson , Ido Schimmel , Johannes Nixdorf , Davide Caratti , Vladimir Oltean , Tobias Waldekranz , Coco Li , Willem de Bruijn , Lucas Karpinski , Anders Roxell , Hangbin Liu , linux-kselftest@vger.kernel.org Subject: [PATCH net 4/5] selftests: net: List helper scripts in TEST_FILES Makefile variable Date: Wed, 31 Jan 2024 09:08:47 -0500 Message-ID: <20240131140848.360618-5-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131140848.360618-1-bpoirier@nvidia.com> References: <20240131140848.360618-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBP288CA0005.CANP288.PROD.OUTLOOK.COM (2603:10b6:c01:6a::13) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d5d75d2-587d-43d8-e4bf-08dc226650b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ApeEZK7bqFQzKmuq3MrMiDRQOsfbC9J+QyaZUNY4GXj9FhHVrPfBVxUOkmqsOdYXpKSIZup+akGUtJZIioo4+Rd6f3HaTstwqnM/sO2futH8Z6ObcmiT/I8PRQuqelHby51xxisnVaPN3TC7PdX+e8iu01S2//xBDukP+bR4ZpDO393NMTGntsYVqguiY+1Sak5Uuf9KcOVH8oQ5XoB5qp56qXXdhR9E2zD3C3DjWAiZmdadW983Q8kTstfyV0cKHB92koqfnCLKqvBopc63++RTYVBNYAbC/kHbjb/XumwuiMD1AW4Yoymdv76H8HzxhMa60MfUaSZROkjDp8SIMWR9XUjkrDhq4X8Ku+nyIFrSblwTtPXNQf/kHf1OGRBbJ17l8vGGfUSGMkz+RQWED17Il0+Is6xQGqlAdeZL5bdjBnb3uzx+Oxcw6auB+BcBdXQH4GXVg9LboKVtfc7fD/OJTdkYje8TKPcBrJ5EwM3wcC2mEjzyaUnJzKIqEP3F0vTwj5gebCmdqkeRWx/CNQ8VYn4YzDJKmwPVv9Mg72+8bPqBtnZwmTbsg0gWDrEB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(66476007)(2906002)(7416002)(5660300002)(316002)(8936002)(66946007)(6916009)(54906003)(8676002)(4326008)(36756003)(478600001)(38100700002)(86362001)(6486002)(26005)(6512007)(6666004)(41300700001)(2616005)(1076003)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-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F2w+yCZHgfsnpjV3d743EinxosUtoxv8wAGLeqcBq5Dl9qk7iJj0yLDBwIlokmuPqICj45SaiqbF4YMQlRrO5tNte+7BNZJSd+BIwGFa6NpJP+g4gbOd4TaMqtt6MutAUzVmEsIGR0yrNtYY8hw1LFwS5DSaTok7uEB+Q+xFx9tsWFJvl2YHdrPc0AgXbYaPullwatkjRsiK/cBezgyUzUUeFe1N+uQGHqMRny5JVRI/cjbfCG0EuQJGr9i11hhpMPw3kVkMS+KavLoEqkZT5ypoy7Zl66WmdntRunvn8zRZDqgNR+ubHlfTjC2Xn3cuQcZugRIFp0Rmm4NU7KenwVHJ4hNkl/VcsU6emgGkhE5Eb4kWHI6+2DVuyF8IVJO6eK9zvyWEWMaRIQMnlLejRh2940wbE4VcmGNxJmgCwsl5aEz9gsms6IG5jrYs50Ixjk9yZbZffSrLO14tr0r4RnogBgm5GgJHWfXof5k9N1eifzdQFMn5wRjHMIrJavoj2gdUdqTI8M6nf1lK5ldtSRR9llQH7qfRvpJfOb0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d5d75d2-587d-43d8-e4bf-08dc226650b7 X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 14:10:01.6956 (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: WNvWjMbtjRkvTob0lDixG0S/GRrVpFtG7hHVjxeJlio6bU1Bb/aHhxGaBZscermTXUePSomoHxaJWDPIYNW+Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 X-Patchwork-Delegate: kuba@kernel.org Some scripts are not tests themselves; they contain utility functions used by other tests. According to Documentation/dev-tools/kselftest.rst, such files should be listed in TEST_FILES. Move those utility scripts to TEST_FILES. Fixes: 1751eb42ddb5 ("selftests: net: use TEST_PROGS_EXTENDED") Fixes: 25ae948b4478 ("selftests/net: add lib.sh") Fixes: b99ac1841147 ("kselftests/net: add missed setup_loopback.sh/setup_veth.sh to Makefile") Fixes: f5173fe3e13b ("selftests: net: included needed helper in the install targets") Suggested-by: Petr Machata Signed-off-by: Benjamin Poirier --- tools/testing/selftests/net/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 48c6f93b8149..211753756bde 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -53,9 +53,7 @@ TEST_PROGS += bind_bhash.sh TEST_PROGS += ip_local_port_range.sh TEST_PROGS += rps_default_mask.sh TEST_PROGS += big_tcp.sh -TEST_PROGS_EXTENDED := in_netns.sh setup_loopback.sh setup_veth.sh -TEST_PROGS_EXTENDED += toeplitz_client.sh toeplitz.sh lib.sh -TEST_PROGS_EXTENDED += net_helper.sh +TEST_PROGS_EXTENDED := toeplitz_client.sh toeplitz.sh TEST_GEN_FILES = socket nettest TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite @@ -97,6 +95,7 @@ TEST_PROGS += fq_band_pktlimit.sh TEST_PROGS += vlan_hw_filter.sh TEST_FILES := settings +TEST_FILES += in_netns.sh lib.sh net_helper.sh setup_loopback.sh setup_veth.sh include ../lib.mk From patchwork Wed Jan 31 14:08:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Poirier X-Patchwork-Id: 13539516 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C2F38288C; Wed, 31 Jan 2024 14:10:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710214; cv=fail; b=uXnRb9yjEg0s4ryOKXs2s63odvK6fHGic+Fx7SArHDafEnnkQ8oia3Py1TwcexOQPIv5PzjNeajpuQqFzdyEHVCYSyj6UT1WuP1W3tdF/Jf34TnCEDRObK3EZpSQE8XEzJsGO+uujcLZZnCe4C1lD25sf6acz6RXplHfpDxvlg4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706710214; c=relaxed/simple; bh=Bs5Liy3b6dj8f7tWhbOC1DD80bvxyu8KM8Ir7QZ1Zjg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=rN4r3aaaYy4P3zSOdrcHVhEo1B/AuKupBYDVnkacFwC8+T5g933bnrORsDTAEZpXefrvC5+xmhvD0V03NGebHLu9iLHXUwdYEu6BZp2ilbpV6RDynVvhUsCEbwOzLwG+i62rOaiV9D0nKOLCbKXrvNljiAhLqCO01kFPCxG015A= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=h0ihTKgY; arc=fail smtp.client-ip=40.107.223.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="h0ihTKgY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NTup+O12ByHv6ZuzZwGsuI1JMKPR1cMeO/ZUVOPbPoW5gycqtJVQ6EFsx7ZCKCXB6RaKPqQggJp5PxDrEpINezq+iFmBZa3fvNv4zK7lfnZc13kuetgkfSlmdWQ2sf0gM0VVURIVJbmlQ0baW9uUPy1qwjFJRvGxaBMv17WIz3QaR6vjzdzeTQjcDu1Ydmpr/+9mMp0R6Hl4COmF4xvwUT1pxsKvpgxw1/zcnO7m+cAKTNqfpuGAankuJMW3y6PIY8EnhOPHXRaI2zYwX6C0EKyWKnF+w5gnJ5XYII1/UHmfXxy2YSxrRNQN/35ppCvkhnJc86cH4/Ua7azufAUVMQ== 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=tkZnFm3Zt+QYaGFdRYCMGf3p1Az4yWlmdpVj7w23GbQ=; b=gac25rAe1DJS1tzHnt+RZAOnuslpN4YEMsGn6p4NVdvC44PWVpgpSDzRiyqgbUhry5/XAFLZgYGsGr5cflt5+TYAgTGgzHeoEfYRW1uC9wfpmcaO84Xw+1ej/Cxq72sKkwDc2I3JQAZPjvJSLVLSoQH/ymruZd/j3e+WYBIUyVnuUuVreGMbME4TR3nzrV5zsFXDhRiURB3g4pKD2iRewjr5lmLJEA+qB9a5XBko5IW5+CkxYSLugaiQwJOIv3AjyAKYkolsTiB8x0DTDh5Q/ov3yLdAhqH/ppFkQnkX5w9PM7KmLPXG6wLPCnnZJZi1coDEaH1VjVSf0FJuQQiV2A== 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=tkZnFm3Zt+QYaGFdRYCMGf3p1Az4yWlmdpVj7w23GbQ=; b=h0ihTKgYvhXtHVlE+NLTL2sIRCEKac3ZJiizfOjXtH5jKw8Xqw4VndAgkaimJP0xzOXlGJ/juUKAG/dJKILejka2ZywJ1GLX+lJQsEtzYz9XEhGdajXUeqKYMucUVtemx8Q7D05ruWFefLGetZoqE2Yj1QHjKEPIZh1dPh5UldCOpPOD8oHZEqKfIuWxz9QmsMKVlol3XJ5Q4IgP8b71jo5iV1maFPWYGxWohBjHOQogC6tiumtVRCXefEayaiZbjGqdiCmsP+oiJ+igbfF3gFPCbJFj2mI6su+ENyIMpwPUBr8wS2yT6OpY3q+wgqsrHT6DQENypKpiYZ8Wo60LGw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.35; Wed, 31 Jan 2024 14:10:03 +0000 Received: from MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c]) by MN2PR12MB4373.namprd12.prod.outlook.com ([fe80::8a95:4c4b:5bd1:3a2c%5]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 14:10:03 +0000 From: Benjamin Poirier To: netdev@vger.kernel.org Cc: Jay Vosburgh , Andy Gospodarek , Shuah Khan , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Petr Machata , Danielle Ratson , Ido Schimmel , Johannes Nixdorf , Davide Caratti , Vladimir Oltean , Tobias Waldekranz , Coco Li , Willem de Bruijn , Lucas Karpinski , Anders Roxell , Hangbin Liu , linux-kselftest@vger.kernel.org Subject: [PATCH net 5/5] selftests: forwarding: List helper scripts in TEST_FILES Makefile variable Date: Wed, 31 Jan 2024 09:08:48 -0500 Message-ID: <20240131140848.360618-6-bpoirier@nvidia.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131140848.360618-1-bpoirier@nvidia.com> References: <20240131140848.360618-1-bpoirier@nvidia.com> X-ClientProxiedBy: YQBP288CA0001.CANP288.PROD.OUTLOOK.COM (2603:10b6:c01:6a::14) To MN2PR12MB4373.namprd12.prod.outlook.com (2603:10b6:208:261::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4373:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: 8180d47c-fda9-4e88-ffe7-08dc226651be X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Riw0RRyJtgFiSY4rIdfLE6eqqwNtOyVPCAmPRKRVZoFUyGOhTzfocxG944DxmcIW+DMwCNe7/y59eMdrzC01kYgR41wZo/L78XsZ3S1wP6StzTH0EBlBkbY26un4EMyqoJbQzrdcGpHbFjIj3hw8xKKRT60oJ8CP6MRMyNaHFY3VKY80LhyJFdgmJvEvNernxnzBWtbUNYNER2Bnr5mtqGH9rGV1gEIv8GCCFFr1rJZr59YbfKDjnQj9z7SwRT+WpaI/0VxTeIJHbwQVt0s8nLCIjWIUtxH/W1w7GwqYKxJVaZBR0rvHZ+n0dUwm5cc2JNoL98gXWFRmN3YWMW3gGqlMB0BSiC1MfS6U3eSzYsCtK6x75lhSa2vYRtWgLXOOi4Bfajms6+0BxU9d+SLyNl7xeCcAWaF7RKa+gzzyEoK7VlH9buSn35p6sCmfqNlwar8aBUAk43wpga2OvRRpEnaJpIoX2px8P8RSBx/mOLt2Bk5DUG+tmGdRzFnZSvIoGDDhCJBjZsRkhKDoZissFbBSghj46X+O+HP5/zYlf+AaV90b8qbAP+57ky3HjHQN X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR12MB4373.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(66556008)(66476007)(2906002)(7416002)(5660300002)(316002)(8936002)(66946007)(6916009)(54906003)(8676002)(4326008)(36756003)(478600001)(38100700002)(86362001)(6486002)(26005)(6512007)(6666004)(41300700001)(2616005)(1076003)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QqU3pS7vxGZi2fnuedvRUFGEaryZPRs6WDCG9gD6/OYLp01Z3JbAYmCasOs+DxaVhSGe8VY7PyUxn0jsgbQi/bxPo208Wo9bdZUJq2Sq1fNNQytoFpHTsiKtSuth6OxTIR7PnsIehnSUKt+Bh39hzSDfAGGfY6TjsFPBUsdOFXXvwaLpdlK6h+wEl17eDHQuKnBkJsecevTaCub+2Mw3Fq+Bgmc133MaGEZcTxvS3SMPk293MoKXoYupjfM8MbjZFbWZMfaSlpjxTwfLu0ZHCp41D1vOjZ0uxuRe2dkmx+a0DcOLKGA808L6s0yA2bMlCdUMSS09dhj0r2TnSfGRmFI/Mt6JcIFjNxAVVirIuBoqp55oJCA7qpCDcCxOcTpSHqSpYIaErjSajvWYZ5wM/Cft54aoxEL8IkmO7mdvGhQvoq74pJiEZ4SgHkZs4Y8tdEeFfOqcFBdGbO1fQrPeVirhfOuOMA2IDxZF+4da+rdljGxWaS8pBE+y51UAomKkJfJylkif9oEks+kKFVo5xnKzRLQKXYD0ILTGyk5twY0BibD89ergIwNdvXnQ8x5pbYUtUI//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651be X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 14:10:03.4511 (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: W3j0JjmV99S/G39sPJESBuVDMRdFZ5TR81tQHhZXBjf4xgb8PSLw+tx/su18Uc+BrfZXB/Y2+JUQ/vq/8v9vKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 X-Patchwork-Delegate: kuba@kernel.org Some scripts are not tests themselves; they contain utility functions used by other tests. According to Documentation/dev-tools/kselftest.rst, such files should be listed in TEST_FILES. Currently they are incorrectly listed in TEST_PROGS_EXTENDED so rename the variable. Fixes: c085dbfb1cfc ("selftests/net/forwarding: define libs as TEST_PROGS_EXTENDED") Suggested-by: Petr Machata Signed-off-by: Benjamin Poirier --- tools/testing/selftests/net/forwarding/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/forwarding/Makefile b/tools/testing/selftests/net/forwarding/Makefile index 452693514be4..4de92632f483 100644 --- a/tools/testing/selftests/net/forwarding/Makefile +++ b/tools/testing/selftests/net/forwarding/Makefile @@ -112,7 +112,7 @@ TEST_PROGS = bridge_fdb_learning_limit.sh \ vxlan_symmetric_ipv6.sh \ vxlan_symmetric.sh -TEST_PROGS_EXTENDED := devlink_lib.sh \ +TEST_FILES := devlink_lib.sh \ ethtool_lib.sh \ fib_offload_lib.sh \ forwarding.config.sample \