From patchwork Mon Jun 12 07:57:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlad Buslov X-Patchwork-Id: 13275748 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7743C7EE43 for ; Mon, 12 Jun 2023 07:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231986AbjFLH7T (ORCPT ); Mon, 12 Jun 2023 03:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbjFLH65 (ORCPT ); Mon, 12 Jun 2023 03:58:57 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20616.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::616]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A12D1708; Mon, 12 Jun 2023 00:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JOToqRxKhZ9VA6yevfrIz8Asujos22rWSpsyGIFVyXGzDJG3wIKDnLK+pzGBZqSFf+LJBvR4YQ4wyAbDbg3LFU4smcUgeIR1AFdFRfnklWos2Orkjd7T0eOGVPtQQIl5FOfJJzeQje9U6nw8bFeOz+WjVcSARpCNCLeH7n9QZm/4U/Ov/owZkMM5zTvhMrjH6VkZUrezBp1NT1AC/0H2ympmr4Oh445cWxkNrAC73EKn7zf03Ti8jFZPLvsXoUR0D9I5FpUS7NYYPtxhgjqXdb91FquYKCPRh7aJkXMrPnF5q3WUSLjBcelE1f/z4eyjxEWvvrYMWahb5c4dAxP3/g== 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=qkFF8XacPy+XwzRG8rWFGWys4y0Z/lnLqYZzx1+FS4k=; b=H7EpM3jJd6Vt3/ZD1xeVg3aLqJpXAQK7BHlk0XDlQQ7S4YV/r/lj/85+0M/LXvkML40uAJvoj8p13UlIVkVg50YOM7+pCm+7wbrToTIQ3LUAsLxPwa+VQMx9cUF9kchWWUO+lyz8TfPhRbEhRuXasC7CPoGW2ua0Mf1BkloHRq6I2d0LfYCIaS13M0nM1KAxBJR+dmhekDaCX76DnuUtP2FI+OGH0J9W2P//XVsZLPaoYeJ7A5FoowNIxbu5aDtR8+RWWYfC4ltmUvgruXVV0GUNZN3vmnzBMkXfi2wPVKGvzxElyvjptMch6fdhuCsRRgFBCwDBVsm4KUw+ikhTyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=qkFF8XacPy+XwzRG8rWFGWys4y0Z/lnLqYZzx1+FS4k=; b=eYdGmFIlK8kNXbZlWUpMY7wFuIZ5ztAyb2NG9HQSs9jzI/jDPSOPr4X5mlDv5kX7Ohzu+GYcoSrmp/QdubfMhLwsIReYRFsPD1NeBIQf6c5dH8jUUca0OTrabO8fYviFmfNkoVSpVHTIlnYku+p6B7iT/Wy2xSsSpGoJl4rZ5CqIUPuBwcVGBpRW55bX1lyVpZ5QAe7REnNrBv1mLstHob7lVGjKIVCotysY6SAubpaiohH3b8x2SCMUhsgSsy1OqVeFYbHndM7KbMG7Hag8thhj9or5Xh3TUQY5YzFb36PvlHkbC+PFYpntK4ZhObMGWH2/+EQZELXuSD+oZSIofQ== Received: from DS7PR03CA0080.namprd03.prod.outlook.com (2603:10b6:5:3bb::25) by IA1PR12MB7734.namprd12.prod.outlook.com (2603:10b6:208:422::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Mon, 12 Jun 2023 07:57:43 +0000 Received: from CY4PEPF0000EE3C.namprd03.prod.outlook.com (2603:10b6:5:3bb:cafe::bf) by DS7PR03CA0080.outlook.office365.com (2603:10b6:5:3bb::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.33 via Frontend Transport; Mon, 12 Jun 2023 07:57:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EE3C.mail.protection.outlook.com (10.167.242.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.22 via Frontend Transport; Mon, 12 Jun 2023 07:57:43 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 12 Jun 2023 00:57:34 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 12 Jun 2023 00:57:33 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 12 Jun 2023 00:57:30 -0700 From: Vlad Buslov To: , , , , , , CC: , , , , , Vlad Buslov Subject: [PATCH net 1/4] selftests/tc-testing: Fix Error: Specified qdisc kind is unknown. Date: Mon, 12 Jun 2023 09:57:09 +0200 Message-ID: <20230612075712.2861848-2-vladbu@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230612075712.2861848-1-vladbu@nvidia.com> References: <20230612075712.2861848-1-vladbu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3C:EE_|IA1PR12MB7734:EE_ X-MS-Office365-Filtering-Correlation-Id: 80aca579-ba3a-43d8-aef5-08db6b1ab3ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o0n7xq7sfCE2Hj2zd3JSeF5shl7xt8Z+cXPKfJV9TofRGM3r6UmDZd/8g0bF4muCCtApNpRsgh0mL3WdR68z3FH47bQ3DxOL+bVAxzr7dsokITKHtxyTJLU1x9NnUF2A8IpQFbllEC7uXNdwGVSG84IK/uIdFEN5MgzUGWtxxt5HanDZae8lCGO7tyI3x3eGw9AICEHtFRwhQMmT0e/vYSIzQmbHFWEJFK1gydzxMCd6xdwwkWrjqi4u4cPeR8rmv7ygbO7DWPOuKFkUZlz+4Rb5KVE0bQ6Zl3JczjUJytZpDjK8f72prmrxrR1bXCYEj4YWZBZl6UpuGHSrfe0Ns0QmqQmk/P20p7R6Dqttkgcyf4ltyvZOKC0wjJPL7mQw0tMD/jEEv8rZ4gEOpr2vJ4Zzh7dU5vZfriAMi6UiurbfiDwnOdCQt/ST41gtZXmj7sP3l8AawzbKFhEFm7yynWPOAZXXQSxoDkt6pnq6ktp6jmex4wztajHBQP4sS0zo4Mifggl+EhT/Ot3sYJ8XNUh2ayDLDBNYOFoe0VNuTywpFpZIPZPANdR5VuAsGDA71IbJEqAuO4fkS0A5WrUQintfr9yL8BqwEm1Bjw8cve2+Okrl3dmU4/21+QEjyNTSnLDgD42hoz76BY1XnTkq6zHHKox8777+uMpSX+BOharJM9G37VV530s0/TeKm0CYlUPjeq6XfL/HPLlg2+Yroc7jr/bCq1goWvNo16Ieq+MTZpOyAeBaMhcrH/zTwPgC X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(346002)(136003)(396003)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(40460700003)(82310400005)(107886003)(1076003)(40480700001)(26005)(5660300002)(426003)(41300700001)(186003)(36756003)(36860700001)(7416002)(47076005)(336012)(316002)(70206006)(70586007)(8936002)(6666004)(478600001)(83380400001)(2616005)(54906003)(82740400003)(8676002)(110136005)(86362001)(2906002)(7636003)(7696005)(4326008)(356005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 07:57:43.0328 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 80aca579-ba3a-43d8-aef5-08db6b1ab3ba X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3C.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7734 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org All TEQL tests assume that sch_teql module is loaded. Load module in tdc.sh before running qdisc tests. Fixes following example error when running tests via tdc.sh for all TEQL tests: # $ sudo ./tdc.py -d eth2 -e 84a0 # -- ns/SubPlugin.__init__ # Test 84a0: Create TEQL with default setting # exit: 2 # exit: 0 # Error: Specified qdisc kind is unknown. # # -----> teardown stage *** Could not execute: "$TC qdisc del dev $DUMMY handle 1: root" # # -----> teardown stage *** Error message: "Error: Invalid handle. # " # returncode 2; expected [0] # # -----> teardown stage *** Aborting test run. # # <_io.BufferedReader name=3> *** stdout *** # # <_io.BufferedReader name=5> *** stderr *** # "-----> teardown stage" did not complete successfully # Exception ('teardown', 'Error: Specified qdisc kind is unknown.\n', '"-----> teardown stage" did not complete successfully') (caught in test_runner, running test 2 84a0 Create TEQL with default setting stage teardown) # --------------- # traceback # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 495, in test_runner # res = run_one_test(pm, args, index, tidx) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 434, in run_one_test # prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 245, in prepare_env # raise PluginMgrTestFail( # --------------- # accumulated output for this test: # Error: Specified qdisc kind is unknown. # # --------------- # # All test results: # # 1..1 # ok 1 84a0 - Create TEQL with default setting # skipped - "-----> teardown stage" did not complete successfully Fixes: cc62fbe114c9 ("selftests/tc-testing: add selftests for teql qdisc") Signed-off-by: Vlad Buslov Reviewed-by: Victor Nogueira --- tools/testing/selftests/tc-testing/tdc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/tc-testing/tdc.sh b/tools/testing/selftests/tc-testing/tdc.sh index afb0cd86fa3d..eb357bd7923c 100755 --- a/tools/testing/selftests/tc-testing/tdc.sh +++ b/tools/testing/selftests/tc-testing/tdc.sh @@ -2,5 +2,6 @@ # SPDX-License-Identifier: GPL-2.0 modprobe netdevsim +modprobe sch_teql ./tdc.py -c actions --nobuildebpf ./tdc.py -c qdisc From patchwork Mon Jun 12 07:57:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlad Buslov X-Patchwork-Id: 13275752 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10D72C7EE25 for ; Mon, 12 Jun 2023 08:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230202AbjFLIAc (ORCPT ); Mon, 12 Jun 2023 04:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234190AbjFLH7v (ORCPT ); Mon, 12 Jun 2023 03:59:51 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2041.outbound.protection.outlook.com [40.107.100.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6EC135A3; Mon, 12 Jun 2023 00:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VemJk0gTP96jJJnVeuvXtNzJ3JpyltKw9tmfYwCaYVZG+8G0d7AFxJp9YVSaQtBm3IF+De9VoUwfryKSeMF41Dq0d13TcOsOI3D/M9V11TXZ0q+yvyCeYHpFCv5yAQQnqSbR8mZNfMrpFcO0oL1bpAW44Q3OQXXxkdy4sCA4j8RyceqElIZB2nCdqj45v917kkYB7Piw6+A3FZDeWK37cJHere1YP3npkk3SYBEEll6oQaRfIbJUUG7BDuu6DpzM0E01UetPmVU6gn59HIzpdIzId6X55S3zKVo08U2l55R4T6LtV2aR7btZypDPSmVV+FzLQcXVe3lFzjEag/9fDQ== 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=/eFnYsmFXsJJtue8Xsv41zofs8NClzVj7xXwE906ibI=; b=TV9YlMneWnyWMbb+3hN4EUW8EBBfMebcvN2gK0mS0fWjm42LwUgyLdsxSVmOEUDHSbt1uhuqCUsPLfeM4m97TDyweECOWmBIqSrb5LwllDvcd0c32miwfKZcLxVFFO5aVifjC3KsDAIgLaBzviZhpNoC2IeTDFBiap3/8sTWlIvJx019jKu6wDdGLdOY/Lglxva6n4KeLYcs/qZZeaIh7c+kof5m8MoIZRlFDwbbsJydEQqQqKGhwjOy2wTRWZGBoEakYQ4dImY4RoDyauKGTb7/SM7DJa7u9kLAdHw4xq4+X9T3XZvkdJk9KM4++maXqEzscykl9m5TmEV7cBjtZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=/eFnYsmFXsJJtue8Xsv41zofs8NClzVj7xXwE906ibI=; b=s7airmTqB1iwI3NwFokLGGuwqEHh5gIOX2UfuCv7x5emJalNnXrk7bBA/z3oI9WGcP4AqrWsx9K7QB7MGq3xcFmrZUI8b/2Wq0W7fyEGAzanGvCahqD+OGgRS/tSt7zpSt97hz8axem6h1qLzqyrY3Le7+7Hh4Ew5x55ZBTMBhC6vIVq4mKzNJeT8j6Az/HinHzig+ls6t73kFe4R3T3WC+Dm06Am9zgPjsaD8sgimsWpeH85BhZw08wirkQHOcy7oobVLV+qs8abTabxstbn29ueaIuC0Hr57RniSqCI+ivQ9g/qdhGqz6NqZOykUP3in7GCbYYUMWHOaS+gyihEg== Received: from DS7PR03CA0100.namprd03.prod.outlook.com (2603:10b6:5:3b7::15) by DS0PR12MB7678.namprd12.prod.outlook.com (2603:10b6:8:135::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Mon, 12 Jun 2023 07:57:52 +0000 Received: from CY4PEPF0000EE3D.namprd03.prod.outlook.com (2603:10b6:5:3b7:cafe::34) by DS7PR03CA0100.outlook.office365.com (2603:10b6:5:3b7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.34 via Frontend Transport; Mon, 12 Jun 2023 07:57:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EE3D.mail.protection.outlook.com (10.167.242.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.22 via Frontend Transport; Mon, 12 Jun 2023 07:57:52 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 12 Jun 2023 00:57:37 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 12 Jun 2023 00:57:37 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 12 Jun 2023 00:57:34 -0700 From: Vlad Buslov To: , , , , , , CC: , , , , , Vlad Buslov Subject: [PATCH net 2/4] selftests/tc-testing: Fix Error: failed to find target LOG Date: Mon, 12 Jun 2023 09:57:10 +0200 Message-ID: <20230612075712.2861848-3-vladbu@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230612075712.2861848-1-vladbu@nvidia.com> References: <20230612075712.2861848-1-vladbu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3D:EE_|DS0PR12MB7678:EE_ X-MS-Office365-Filtering-Correlation-Id: c9d0eb98-d94a-4778-d0ed-08db6b1ab92c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RnorVFn7Sw+7fS2Djo4KrBxNUJ7iXZFTG41HOeGa34UZAv3B7WWtGE/aJJ3OkdcXgtXCMQVMJlAqs7nSDkRiGxuNXGu5HYDNtNpz/ODnNYX20tmZP5WdGXSYjWKzqmJuWQymQGvA2VWRdYKSdh9/kG+NjM9QahDjoluXAUhhKvB7SZyc7OQM9hfYZRJff/7PQN3Vjznf79IEh9MDd59G3UYmoXpm1zNFlvwP8uUR5Sx9bUQ7djw9T6YUw4WQtxg0Mx7qknIOLRy1RWiYhVJyH9df9/BtpdvHgoCahkhKh1bbs5skTn4sqzSZpodU2+b0/8e5NBmPf60Wz8lMLK4hqHGGCo0CMIYjnSngri+4VriaLT0BYMjdhGsQGkBW+KuEuQV3ahplZfMQ8P4DgB1k7W9SRwRaIgKze7O4HdjSOJ4it3PVzTLExVkpR05mAyQL354XP9nXLk+fIACHdAifzNSdPvOTQmvgrqXkQXfO1XmV5ca8emGJ0CxlNXtABhCZbZCbiGm+BZEe99Xi+DVYJ3tUXRCDqINeRFmC2UjT5KA45glcfEMS7PQnmvS/npDsY5xwaNu1XE4dqXSz59Bkj093IIuspnKI6jPXEq61q9ODmE2Es4Hu5FQcMkSELqlxdgYfw6uGQY7LjeNYg18t+awHc3DB+bl/kZirpshhUtdLkOGBERu02YrwWmJM0px1ShdGCggx0OVUSZDV6gNPGd5BqxouQso1Xu/8/kv9sZJXuU4h7MGuv29ZkmFm/uiOUQZekC1eMI21xBxswGzJmg== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(396003)(136003)(451199021)(36840700001)(46966006)(40470700004)(426003)(336012)(2616005)(47076005)(83380400001)(36860700001)(82740400003)(356005)(7636003)(40480700001)(86362001)(82310400005)(36756003)(40460700003)(478600001)(110136005)(54906003)(4326008)(7696005)(6666004)(8936002)(8676002)(2906002)(5660300002)(7416002)(70206006)(70586007)(41300700001)(316002)(186003)(107886003)(1076003)(26005)(37363002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 07:57:52.1694 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c9d0eb98-d94a-4778-d0ed-08db6b1ab92c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3D.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7678 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Add missing netfilter config dependency. Fixes following example error when running tests via tdc.sh for all XT tests: # $ sudo ./tdc.py -d eth2 -e 2029 # Test 2029: Add xt action with log-prefix # exit: 255 # exit: 0 # failed to find target LOG # # bad action parsing # parse_action: bad value (7:xt)! # Illegal "action" # # -----> teardown stage *** Could not execute: "$TC actions flush action xt" # # -----> teardown stage *** Error message: "Error: Cannot flush unknown TC action. # We have an error flushing # " # returncode 1; expected [0] # # -----> teardown stage *** Aborting test run. # # <_io.BufferedReader name=3> *** stdout *** # # <_io.BufferedReader name=5> *** stderr *** # "-----> teardown stage" did not complete successfully # Exception ('teardown', ' failed to find target LOG\n\nbad action parsing\nparse_action: bad value (7:xt)!\nIllegal "action"\n', '"-----> teardown stage" did not complete successfully') (caught in test_runner, running test 2 2029 Add xt action with log-prefix stage teardown) # --------------- # traceback # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 495, in test_runner # res = run_one_test(pm, args, index, tidx) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 434, in run_one_test # prepare_env(args, pm, 'teardown', '-----> teardown stage', tidx['teardown'], procout) # File "/images/src/linux/tools/testing/selftests/tc-testing/./tdc.py", line 245, in prepare_env # raise PluginMgrTestFail( # --------------- # accumulated output for this test: # failed to find target LOG # # bad action parsing # parse_action: bad value (7:xt)! # Illegal "action" # # --------------- # # All test results: # # 1..1 # ok 1 2029 - Add xt action with log-prefix # skipped - "-----> teardown stage" did not complete successfully Fixes: 910d504bc187 ("selftests/tc-testings: add selftests for xt action") Signed-off-by: Vlad Buslov --- tools/testing/selftests/tc-testing/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/tc-testing/config b/tools/testing/selftests/tc-testing/config index 4638c63a339f..aec4de8bea78 100644 --- a/tools/testing/selftests/tc-testing/config +++ b/tools/testing/selftests/tc-testing/config @@ -6,6 +6,7 @@ CONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_CONNTRACK_ZONES=y CONFIG_NF_CONNTRACK_LABELS=y CONFIG_NF_NAT=m +CONFIG_NETFILTER_XT_TARGET_LOG=m CONFIG_NET_SCHED=y From patchwork Mon Jun 12 07:57:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlad Buslov X-Patchwork-Id: 13275750 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A63DC7EE45 for ; Mon, 12 Jun 2023 08:00:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjFLIAa (ORCPT ); Mon, 12 Jun 2023 04:00:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234803AbjFLH7y (ORCPT ); Mon, 12 Jun 2023 03:59:54 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on20624.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::624]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A8C1FE9; Mon, 12 Jun 2023 00:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+GWg+uJS3GB95G+qKv36IoapCOa0hPnG34hbILj3ckaVRckL8K0PCTtK8zr9okLwvZIQs/n15miT7Xh/QAtW4570yDHP0TwcoiUJ/2LCQFJiI/SKJpsXcNbGILtgdaqmOA3hFendn2gsEW0vKHnene3Wuzqf3/0zxcJDkwHv9VVVqsUgvxwemZwmA+YCw5CIAlLODNyHrXp43NG6I+vsBql3dj3ygXTgj/ONpLkd76Ypikvwb7ZNii2WjN6NO/TGwHUtXhUSpatj5YwaTuQQ/uIf/6afsbz1M/E7Cm3iwWoZs7dAry9/cQRZODuKPvQSzD6eXZgGINtKT9PpYXsOg== 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=0XaMJrk6apzB0YG2p7ST23WWYbGfcX4RJv5qRBWnWFU=; b=exNSoMgiqFuscl6+xbw8zfU4gpCxoqgovC6OeSZi5S8biSjEXIsy87YZXl5xfoffZg6lu6iiRSU6htzrr1BEMKLFZ/C0RuXytN6ToYbeI1wmvWOXyAbfppgZklP1bsXcMkvDYEF9I6FZgrQyvJQ2P9p6EF1uQbtkmSntmqG8vOaMjLl2m3NyVE7VsfgcRYwY9WZLdQFKdhU0qUxQQ+lSHX8G+VKBy34SRsYdoEQlclByX5C0rUgxuc60dNCWgkSc3TodZwdNwL+UGiQ8mjkZQ/5S5s4zf8k4gBM2I7siI9LUjfjIbwt1gfiXyBHoVY88oRphLJaJDiOovkrLL9+rRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=0XaMJrk6apzB0YG2p7ST23WWYbGfcX4RJv5qRBWnWFU=; b=Hg7tDzaT57nzJAiCgCHOuM2Y5HqPek/0j9T4CKKHIHFBV1rHvHTPPSuPQ4nUwg9aBr9e8aYD7x+RjUMMUH5DtkRcAqWMw+fI28juwNqlP5wXcnarVy53HIz6RM79saLhwOBFN/Xeioc2YUHWJPLvtcfDQPpPu5WkNijuEMV4EhD7LVVGFabT7d3jKQ4I5JVO1M2pLzBDH7eA4XO9TauWSegE2y5ZJhAOLBsiL5NEtvGO4Z9gwZtNa7LerHlj85tm6C3u47q8s8m8EEYvx3fzEmOObqWB3wWtGNzbI6eHPg+W8tdRDIwBEzkIxCupdN96VAyZlDImbE6dOc6KKWwEIw== Received: from MW4PR04CA0155.namprd04.prod.outlook.com (2603:10b6:303:85::10) by DM4PR12MB5915.namprd12.prod.outlook.com (2603:10b6:8:68::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Mon, 12 Jun 2023 07:57:56 +0000 Received: from CO1PEPF000044F1.namprd05.prod.outlook.com (2603:10b6:303:85:cafe::3b) by MW4PR04CA0155.outlook.office365.com (2603:10b6:303:85::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.33 via Frontend Transport; Mon, 12 Jun 2023 07:57:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1PEPF000044F1.mail.protection.outlook.com (10.167.241.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.22 via Frontend Transport; Mon, 12 Jun 2023 07:57:55 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 12 Jun 2023 00:57:41 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 12 Jun 2023 00:57:41 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 12 Jun 2023 00:57:38 -0700 From: Vlad Buslov To: , , , , , , CC: , , , , , Vlad Buslov Subject: [PATCH net 3/4] selftests/tc-testing: Fix SFB db test Date: Mon, 12 Jun 2023 09:57:11 +0200 Message-ID: <20230612075712.2861848-4-vladbu@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230612075712.2861848-1-vladbu@nvidia.com> References: <20230612075712.2861848-1-vladbu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F1:EE_|DM4PR12MB5915:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d0995ce-b83e-45cc-f7ad-08db6b1abb52 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MQhhx6laALgDGBcmLYr8BFTCpBURe/LZ5HdKRIacZOHJCbRB1HYIDkL6BvRbyFd6jLe8gXmKPLa+IhxefkaHpZSdptUovyMcFnAD7/2h5c4/8ZTm9K4nbFoz9vxK2KAGjEGGKv7BdQRDDCD0duPzx8SzNLr48/lsRg3hJCEcj+WEhhIUP1zFrhnEvTPsL1apYUVs6bYkHpWJ8jQYrgr8aJ/3ISgY+RUjZTAzIiHE3Z7C2Yz+tlSSSZpT9E7bN0ItLohL0R0WXIRpphirYy4+vpziVi8Hvguc3KrlliPb/9FWuqomGImMix+jYzPPBhx8hLIjC7Higqyteo147lsJDR/aUsWdVgz84Ie+3XL3j7lNG1FaF+HcYyJnR/EQaajn/mBKgBqYINNxnlRTwhbhWAPA1FvxfWtENa0qW/fgu0wyy/LvFqlPEZk6axgGH7apxROJ2vs8cnvhuWI4jLfi0+PbEfFNp8zxBfcbatizxG5mIIbBHgavsXsoqv13Lk0A8HJd+togC6iNINMJ/arE1gI9QiDeYvA5KNmTaQFDGwQozegi7KOJMDY1m5cwBsAXhFr3Fsve50eRytTRovySO28Tbxpk6DzmqJMmDpEF5NN5v9HjYFX4eq0VCr/akmeduXjEwkIs2Mk3s03DMQu/LVeJM0rWdutY/SAp6lXhwW2RShJD5GzEL0ueGh/ZqLatECcguHi+SEvA6H2vegNkcvgseWEsZzq3bgJnvPZ7GQK+qcIfLZCjMogH7bQA4xWq X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(396003)(346002)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(36756003)(86362001)(2906002)(82310400005)(7416002)(40480700001)(47076005)(7696005)(6666004)(426003)(336012)(186003)(36860700001)(83380400001)(107886003)(26005)(1076003)(7636003)(82740400003)(356005)(40460700003)(110136005)(54906003)(70206006)(4326008)(316002)(2616005)(478600001)(70586007)(41300700001)(5660300002)(8936002)(8676002);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 07:57:55.7593 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d0995ce-b83e-45cc-f7ad-08db6b1abb52 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044F1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5915 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Setting very small value of db like 10ms introduces rounding errors when converting to/from jiffies on some kernel configs. For example, on 250hz the actual value will be set to 12ms which causes the test to fail: # $ sudo ./tdc.py -d eth2 -e 3410 # -- ns/SubPlugin.__init__ # Test 3410: Create SFB with db setting # # All test results: # # 1..1 # not ok 1 3410 - Create SFB with db setting # Could not match regex pattern. Verify command output: # qdisc sfb 1: root refcnt 2 rehash 600s db 12ms limit 1000p max 25p target 20p increment 0.000503548 decrement 4.57771e-05 penalty_rate 10pps penalty_burst 20p Set the value to 100ms instead which currently seem to work on 100hz, 250hz, 300hz and 1000hz kernel configs. Fixes: 6ad92dc56fca ("selftests/tc-testing: add selftests for sfb qdisc") Signed-off-by: Vlad Buslov --- tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfb.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfb.json b/tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfb.json index ba2f5e79cdbf..e21c7f22c6d4 100644 --- a/tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfb.json +++ b/tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfb.json @@ -58,10 +58,10 @@ "setup": [ "$IP link add dev $DUMMY type dummy || /bin/true" ], - "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfb db 10", + "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfb db 100", "expExitCode": "0", "verifyCmd": "$TC qdisc show dev $DUMMY", - "matchPattern": "qdisc sfb 1: root refcnt [0-9]+ rehash 600s db 10ms", + "matchPattern": "qdisc sfb 1: root refcnt [0-9]+ rehash 600s db 100ms", "matchCount": "1", "teardown": [ "$TC qdisc del dev $DUMMY handle 1: root", From patchwork Mon Jun 12 07:57:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlad Buslov X-Patchwork-Id: 13275751 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 763A2C8300C for ; Mon, 12 Jun 2023 08:00:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230079AbjFLIAb (ORCPT ); Mon, 12 Jun 2023 04:00:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234551AbjFLH7x (ORCPT ); Mon, 12 Jun 2023 03:59:53 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2062.outbound.protection.outlook.com [40.107.243.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B10E0126; Mon, 12 Jun 2023 00:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJWmrPXWKZ3Zx65mA3LGnvecAvfQ42FKM/V1UYEGKbDI3EWRG3L4krVNIxQIa/uO3WKAdtbTqXy0o+KljVPjW578auFo3g8T4hHUAZmhOZukgjOIHPvKj+B/khCWP6nIObRxknaFlXNdS1sE70g4IwfCOhEOe2QsA4zzBuTaDQu9jcMVLfK1K42FUX07zOnk8y1lY8ZCKFl75GDb9MqG0O8yMTLg3JPcIH9x+Dk+N4EHlk9byMi2+SWuTFlCA0Mr0/rW44IqtBwn+GJPNMbeGXaGkPVgboG93XKA/FQFlXPN8+MllIT5KD6xLtKNvK/KtlakUP6/CXdAoVZ+N+VrDA== 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=9tL3jNN18M1rVhHni1etpQyDMyhCDnNd4a7AtFWdJ88=; b=gGIz/90j6ZVBWomng6+P+eGTXv12q3YT/NHDbLtZJCVInobGxBQ3LlGGIEOyBhBywfol6pP4+RnVB94qXmwSM0vGtQ0G4NdqbZ/MuelFi9ergca7dxVHJ99L/ac+lWOKtx/fFVvGVQ6G/rKisfdEE6EmdnkOreA0zxivdq5CoYLMHi8FS50Rg8eN7pAQPWD3SiaNS0Q89qRJzICMOhy5mm4DCIG4pb7GeA9ToVn7CRWutMjEtgGectc4w/5laJ/NRZZEAcsbsQAAS2/LyqAULDhTBCN4ES32yCNTLhyVIbKunCK1I/HqnSw+0+lTe/0Moh0CguBdfq0wRc08FIuxtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=9tL3jNN18M1rVhHni1etpQyDMyhCDnNd4a7AtFWdJ88=; b=pLf4GtQyM0ejegb6E2JuIKMwl1qyQeZ6i8wsh4ogXrqT4iSLQR5CuG/junXlCv6FIiB7ncZ4VrpbB6bDoWAkM/f5jDc2WEGAjih4uDVZbHelNC8UP8zhfIf0MNyqvASwlDFpjfha8TlSp6eg+m6S5IBd5taFepu5ktSZuJiCivIzy2BjfWLBheaG/P7WAjoWMsZW163cr/OgEGMdNHORsESNENXEU/kUv9VoK2Q0COXGhQE14lWlMmZRB5BMkJpW+vc5IGEgDi89PEPiQmjZqfgIC/otJHMi0ey/ygf2dPyJDFldieC+W8wgAZVR+o8Gk7S1MIthrg5Y/mAlKho0vQ== Received: from MW4PR04CA0173.namprd04.prod.outlook.com (2603:10b6:303:85::28) by SN7PR12MB7321.namprd12.prod.outlook.com (2603:10b6:806:298::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.44; Mon, 12 Jun 2023 07:57:58 +0000 Received: from CO1PEPF000044F1.namprd05.prod.outlook.com (2603:10b6:303:85:cafe::15) by MW4PR04CA0173.outlook.office365.com (2603:10b6:303:85::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.34 via Frontend Transport; Mon, 12 Jun 2023 07:57:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1PEPF000044F1.mail.protection.outlook.com (10.167.241.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.22 via Frontend Transport; Mon, 12 Jun 2023 07:57:57 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 12 Jun 2023 00:57:45 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 12 Jun 2023 00:57:45 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 12 Jun 2023 00:57:41 -0700 From: Vlad Buslov To: , , , , , , CC: , , , , , Vlad Buslov Subject: [PATCH net 4/4] selftests/tc-testing: Remove configs that no longer exist Date: Mon, 12 Jun 2023 09:57:12 +0200 Message-ID: <20230612075712.2861848-5-vladbu@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230612075712.2861848-1-vladbu@nvidia.com> References: <20230612075712.2861848-1-vladbu@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F1:EE_|SN7PR12MB7321:EE_ X-MS-Office365-Filtering-Correlation-Id: 87de974d-12e5-4bb3-fbd5-08db6b1abc9b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eczhdDrGI1YMyB3Weo92Io69/NJU48NprHDduPDjXZGwqTGWPNp46Pep9U3K2k5UJCYrBnTb1oLZvGteRYXt1PKySLG14qUmeMStGyoeFqO00p0SCVK7np+1DtEG/HCMageGkAZl/dWoQtY04xzF9+dbvPoKykVOhFCdoOehZyVrKaCyIxsaoa0lJckLMON9P6GQXDk8s1VFN/I4Fs1IBTzuSMCzN6RoQMCowTOfG4vtiebd4KzajaDPHhzO7jb//2QtMCFElZ/DhxNkIbYY8vHwkscCZLeLawIk/XDyx0ptKDSmapZx47NcSH1HDa/AEqndYQEJoJbGIHRcyqlPuriqqtWoJHtLvwW/sLSX7StjRvIqKgIDUef76PxcBmH/Xu87IZTOfgbkc92AUygCsJ4HZvNDxIjGg4Dzo1qBPytKGRSCW/RTjbGpJ4S3Sn3O6d+IO5CaEBCo3km5teye84DmB4U1UNJ4c2fSEU7sI6BPjUJVAowpUhSjr/W2VszhvDVKEUnCK1vfWZCjXgNoBw+pyt1Y2wkH3x4lJgQVC3CTvSY9R4T4uatYoRCAmHtdlDJjyv6g8VkCx2qfQbVghqXqQ943S8KmwrDt5hRh7PYhDOyG2shxvgTU/GRey+5izoFV+AVTXDJnWgBGzeOs4qIuubwVJDrBMfIPIdh5EJaGHau9ZyVPUISNhbHRzEFa2Eg5IBKLgq5Ca4jTnXx2qw8TQK9Tw8NqAHwRKet7gCWUeFbU3DbGgKTLwFr9QTGf X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(396003)(39860400002)(136003)(376002)(346002)(451199021)(40470700004)(36840700001)(46966006)(7696005)(316002)(40460700003)(41300700001)(426003)(83380400001)(2616005)(86362001)(82310400005)(36860700001)(47076005)(1076003)(26005)(186003)(107886003)(7416002)(2906002)(7636003)(356005)(82740400003)(40480700001)(336012)(36756003)(5660300002)(8936002)(8676002)(110136005)(70586007)(70206006)(54906003)(4326008)(6666004)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 07:57:57.9155 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 87de974d-12e5-4bb3-fbd5-08db6b1abc9b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044F1.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7321 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Some qdiscs and classifiers have recently been retired from kernel. However, tc-testing config is still cluttered with them which causes noise when using merge_config.sh script to update existing config for tc-testing compatibility. Remove the config settings for affected qdiscs and classifiers. Fixes: fb38306ceb9e ("net/sched: Retire ATM qdisc") Fixes: 051d44209842 ("net/sched: Retire CBQ qdisc") Fixes: bbe77c14ee61 ("net/sched: Retire dsmark qdisc") Fixes: 265b4da82dbf ("net/sched: Retire rsvp classifier") Fixes: 8c710f75256b ("net/sched: Retire tcindex classifier") Signed-off-by: Vlad Buslov --- tools/testing/selftests/tc-testing/config | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/testing/selftests/tc-testing/config b/tools/testing/selftests/tc-testing/config index aec4de8bea78..6e73b09c20c8 100644 --- a/tools/testing/selftests/tc-testing/config +++ b/tools/testing/selftests/tc-testing/config @@ -13,14 +13,11 @@ CONFIG_NET_SCHED=y # # Queueing/Scheduling # -CONFIG_NET_SCH_ATM=m CONFIG_NET_SCH_CAKE=m -CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_CBS=m CONFIG_NET_SCH_CHOKE=m CONFIG_NET_SCH_CODEL=m CONFIG_NET_SCH_DRR=m -CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_ETF=m CONFIG_NET_SCH_FQ=m CONFIG_NET_SCH_FQ_CODEL=m @@ -58,8 +55,6 @@ CONFIG_NET_CLS_FLOW=m CONFIG_NET_CLS_FLOWER=m CONFIG_NET_CLS_MATCHALL=m CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_RSVP=m -CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_EMATCH=y CONFIG_NET_EMATCH_STACK=32 CONFIG_NET_EMATCH_CMP=m