From patchwork Fri Feb 23 19:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Rameshbabu X-Patchwork-Id: 205625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp799912dyb; Fri, 23 Feb 2024 11:29:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJRKjWMGsF5UvYTaRYWVIo5CIsqkZXdScR38v5RiTtRYldEzfRt7RlZUv0RKfEFl/l7DGW3rmFoUAFN1t1Olk1FX7ATA== X-Google-Smtp-Source: AGHT+IFdVbtA6cZrDUmiwlPIiBAPTZ8L4ZhluLJKCHa7W8MF9u4kpawUh+g6hHJoA9yQRs4EXXva X-Received: by 2002:a17:906:355b:b0:a3e:c1ec:7bff with SMTP id s27-20020a170906355b00b00a3ec1ec7bffmr467336eja.68.1708716567152; Fri, 23 Feb 2024 11:29:27 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hv21-20020a17090760d500b00a3f707a45f0si1850134ejc.783.2024.02.23.11.29.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 11:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79028-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=cZaKutPU; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-79028-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79028-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 97F4E1F24DDF for ; Fri, 23 Feb 2024 19:29:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FC08146E8F; Fri, 23 Feb 2024 19:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="cZaKutPU" Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2080.outbound.protection.outlook.com [40.107.92.80]) (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 3C4201493A4; Fri, 23 Feb 2024 19:27:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.80 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708716491; cv=fail; b=Hh0NzxW5F5z8tPKCEN851o4dBv4gfo+3pNjcAvY8vVHloOI45k6ClKnYWZ5WWT04c9Kojko8nx3JPurFAzhtZKqxrNhl4IFmgFntAs7dNFFEnAEhDEmozgKHnZQuzXhM4RBLrr3kNauJI9CPCIBMmpuBSspUncrqONNhZdkNkio= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708716491; c=relaxed/simple; bh=FdKtC2xeLuvnFo1OAMsfhSvhgOj1atR0mwxgyBqVKCo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=NLzCWwEWETcOx20JHNEzvXbXj4S9sSk4Igxe7uE83zbLhvXJXWzbBDty3NaqvQfBHJdrVaaJ9DFbeCWrNmsocjEeyUEqOHpHNtOhZg/ZlhCw/WyN4KNjlu8Cr2di5BVcCfBUMHiasxmh3v/7jN81h0d/Bh834nNO/tmk0/ejx94= 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=cZaKutPU; arc=fail smtp.client-ip=40.107.92.80 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Azo2ZUTbiHabM2YVpAxIfEBmIp/KXQhABcvCrqcOW2RGptfzYClvrwqbjAeYKJWLG46S8te4teIT2MZ0gMlRYgKYTvB0ftJl43zxERMxt+EMXJCLgyaNnIhP1EG3kYQVi6HZyQhWTfub685MI3e8rqgMETeGGWcH0Tk+0wbIBsCEqm01xZg7DVSM+mCPZOKFMMNVwpYAjcrbuE199TWrRBBZqa7Lb1XJqBbeDZ3kTolfaak5G4ytqMMXoGVfaSkBzBIWOKh8xuYMtrYWLYergI17M/rVr4xbXRxM3hrJWbe+2pE9aXgdSCAPEV0Td+2fHxeC8KCAfu7LDwaqZsizug== 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=H19rLmz575sVJWqGExnyBhaIQJlHq4JmgjnCV36zkNE=; b=ijNu/HtLjnvkhEgjt9QjDJNkSj/LBQ7gQvQboK9Mlf2XkA7EzpED6w/QcWDUR3P3dGOsIuWLgKI4olEIIl1gxKyOIuNkdMWUve+eHMrmDodt06kuod+QDqxjcH14lYem52syiyIdAIuNkdBi7WzPT7V/VXtZAoC3yckqy10t82amdp6JE2GYxgoQHiTN+Iu3jftn4Yxt/BmnRqvyg5f1aYoOfV/CyR000xIWcJ1wwJ72/a7wwhV4x/3X8KthxtRu2ZthdNXCdHSXT6S1fZTfFJIPy9IuBbdcNTyXi587OeQreBSl4UpenygGWatPRCyMl/ych1HK7C0rKRPhV5gUWw== 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=H19rLmz575sVJWqGExnyBhaIQJlHq4JmgjnCV36zkNE=; b=cZaKutPUFgYs66V8Rb8B+zqzuR+O9JTrLnpq4H85Z8cNGhoT8yco2FjJW6fd9pFb72HZfeWtl6QYuMhcvjzrUAYauOsvrzSP0rxk/wGrgEiC+7C3yj3UqQWsmygzrooZT5F+tJ//GrUNwnzYDL+jnPi18RO82IzAMsuH0pU9YiL28GeorwLB+3DOHQfgXLec/foJTsTdXLWY9FINIL7K9rpleJdTeP25nZqbiTq4cyonXkERkJQLEjL4iMiuWZknoXS3c19rul7Z7PKYgD/s3aDjMdtThKOhbGZui1zK/I4L0soNvCYglzSYVM6k+TYeAK0uv2eqMIxU/IX1qMQvfg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) by SJ0PR12MB6831.namprd12.prod.outlook.com (2603:10b6:a03:47d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.20; Fri, 23 Feb 2024 19:27:24 +0000 Received: from BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::459b:b6fe:a74c:5fbf]) by BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::459b:b6fe:a74c:5fbf%6]) with mapi id 15.20.7316.023; Fri, 23 Feb 2024 19:27:24 +0000 From: Rahul Rameshbabu To: Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Richard Cochran , Tariq Toukan , Gal Pressman , Vadim Fedorenko , Andrew Lunn , Heiner Kallweit , Przemek Kitszel , Ahmed Zaki , Alexander Lobakin , Hangbin Liu , Paul Greenwalt , Justin Stitt , Randy Dunlap , Maxime Chevallier , Kory Maincent , Wojciech Drewek , Vladimir Oltean , Jiri Pirko , Jacob Keller , Alexandre Torgue , Jose Abreu , Dragos Tatulea Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Rahul Rameshbabu Subject: [PATCH RFC net-next v1 6/6] tools: ynl: ethtool.py: Add ts ethtool statistics group Date: Fri, 23 Feb 2024 11:24:50 -0800 Message-ID: <20240223192658.45893-7-rrameshbabu@nvidia.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240223192658.45893-1-rrameshbabu@nvidia.com> References: <20240223192658.45893-1-rrameshbabu@nvidia.com> X-ClientProxiedBy: SJ0PR03CA0016.namprd03.prod.outlook.com (2603:10b6:a03:33a::21) To BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB2743:EE_|SJ0PR12MB6831:EE_ X-MS-Office365-Filtering-Correlation-Id: 1cec468d-018d-46d7-5999-08dc34a5764f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TIDLJKvqEXeAPuyPbHYEtO38CASajNdQaVGpYIJ38H6MokuoTcmkBZfx8tE988dxRsnl/2A0wq7odyLDNjcWLIs7gfOJoXDTHOy4LK8yMveW/K/uuWMMnxqDUv1F7RRMd7DNNcaG9rQWzcckEUYlxNUQK3k4SAgYvw+ZGe+c+87OichhPknH23dM4ij67VamYrf2cugIdpmZ/RkvQAjMT2SpPCqlbRqmtEUQ40JR9Bd4TPotnZSxHb7UNpFpOTHtuNGER0Y0eE2ZLvDq94EaLBu2lrp4KZ06bnx/y/WAejMsVFXNryQAactlRdkijZg8n5gO1EWSAWzQ/5qWE5105FjWZ0OeG87IMUmLsbaSDAmTOvS3Ytk7rRY07B9n2PTocZkSBHGy+MyiSTxgQg+w8NumPXt0UyXEg/MTH/ogPiktkPEPAVpL+6UypxePPdORy77nK2puBwZhbOdHwk7Ic2tfOdkaTsaI5j3/le+H6ZDDPPUjtdPG39RsMkeo6f8WIHXo500SjaSBNE5dL/pDQXIDvRxRDUfEbMymdlCNwwhnlxR5JwI5Way6mONqmcN6WlmsWm3rV9gXDmdqBrVm9YH60LbaERRv7FfEUlgGxuQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB2743.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: C4oPmNDvhgM1PMC8iy+jjVRmt2lcUyGIorx3stcvgk5VVq1YhRya7xiMws7LCq4EqNPpsdxy2Rr46Afa/puJy/nGI44uc+BzspulWZBFJW74IC35HBHhJiWqG5kuX95EVrIA+1vdutBLvXt9WPcc6ZbsrJpJOpzpkXpQDnj/SIQHor2Y10TtDEG9TR7DJehF8lYNOsl5qoo1NGVmb/MwFTlqN8fPq0o8404lDq4LAj5Q1r+NkUm1G00sG0JCrrLSTJdQdolnzmS4ttXgWPpiLpUlszheHkGF9HH70Ceg/lXcaI9z460ZMrXqqdUjCBxmYkQE27QNFbNAGs5HS/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ZFT/4+HKNdfJfdbAZgCj8OgZJHSm5xowe3MmEgHUUKuxU8iDl8ZJFSi41JFXGY89wQrxNPDmvvBKRG5KT4DaopojsTcTv+64bIHuMC7qEQJl6JqiM3KQEyXOW3G6aY1EyZLdEPiDBzzY6WtS95usx4Y4NZwX9JcrIiKOngc9s/F9gSfFlxJ7/oSwbzxxNI8syDv4tL1tqNYZ4PP0TLtA== X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cec468d-018d-46d7-5999-08dc34a5764f X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB2743.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2024 19:27:24.0894 (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: c/HQcqMp5rvL3ZoHl9KZnDX/ooZxiK0FHN/cUk2AYoNnyqSOedoto1BpL72x3DUkHhKIaKsbHkxOS8qpk9Wt8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6831 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791719183077232291 X-GMAIL-MSGID: 1791719183077232291 Add placeholder for hardware timestamping statistics group for testing stats-get ethtool netlink family operation. Signed-off-by: Rahul Rameshbabu Reviewed-by: Dragos Tatulea --- tools/net/ynl/ethtool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/net/ynl/ethtool.py b/tools/net/ynl/ethtool.py index 44ba3ba58ed9..d3bf3690d3a5 100755 --- a/tools/net/ynl/ethtool.py +++ b/tools/net/ynl/ethtool.py @@ -314,6 +314,7 @@ def main(): { 'name': 'eth-mac', 'value': True }, #{ 'name': 'eth-ctrl', 'value': True }, #{ 'name': 'rmon', 'value': True }, + #{ 'name': 'ts', 'value': True }, #], }, },