From patchwork Sun Sep 1 11:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786398 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2076.outbound.protection.outlook.com [40.107.101.76]) (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 5D02216C684 for ; Sun, 1 Sep 2024 11:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.76 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190203; cv=fail; b=mgEh+J09NK2KFgXB29+/GZelxenQdO1z/EoasKbmOTJ2ZWEv7W/moQr5soPxKPsK61Qy4DHmnKpZ0A8Q2Si3TThBMlSpgV9LF7XFOLtLuBmXS7WW/PprNkTAEUWNtAIBtT59lgDYR0J8kgHES3bEtlvYfnEQmjj3GfJssG6gAD4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190203; c=relaxed/simple; bh=Bm5oWtRQKtMQzWBOvse6P6sKM8rxf7X0VNY+AUfgMr8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GaI6CsnKiBOZqvSmjDTUso3gNEPycSCDSEd+aAX4T5HcWmabdxFUoeyNb6LIQK3E2HyHslceyMuYLI7Vf/MtQ+W8obQJCAFMB06k9hyHqB6NSPpjLpUDpDM6lDr14vuucDVIE4sN46zJJKv6lXzKX3WfFheKx3Lz0nrQb6/whzE= 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=aNnocdTC; arc=fail smtp.client-ip=40.107.101.76 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="aNnocdTC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JezuDEhp76+2UWo/fXX7McavmKLjyz/d6gGZAtCgiOp+9L/O1nPZzH/lF7zuHGR9lJr7n6JUl4gjqfl1IGTIcezBBEN8IJz5zVvt38OuwwRFiFRU9LZ/6r42RgBiQ+qQnpp3QWaMSuZPP7uUkINTomAu/F77+aKkZz3zcGO9GnSXarj7VicVpV8rT0S48My4mayjgDab3hzBeCotozkNc2evjOzV2uTLjMzrOMZnKO2TNajYyEgYPpckNdasvi6gxp1WQ6wznS2jpA8FdvaYOpHQUP79+rkCJ04LTmHV2RnjO8NmCi81wgldp7XW/gD3lu9R4kVVugKOO94tGjYtng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=o0P1znIM0fH8D3kPejRS+5gkYjHa1MyVgOGtQSk8xR8=; b=Dhda4eEKJMRKq5oqQzBrYdI0J1klZza20viyWch5D/i2+XjGSY9lYyb3BsuSAvKMs+5pPPGDbK9J5nYCT+PPxiz6yUBgM/JK8wB4+jKvFuEtLnkK7gJdJnJLV3blU5oQNOJ7/abwpCjBUv+M4uH1fYJYI0mbONruhPy5Ci3SHhO2MTR8CnVno+r3XO9vxwO9PZGU1rWzF7nPaSw3UXAS6TwaNOPYRqecrtfI41bdlsidEESWTtkzBizrR/69uOiBFwa9LzpX3vokTU26c4TkrbIa3apoe7w59K1oWKDuGcd5O/mIhcKXsPO6uvDqOtwF/hGpG83lDsBfN7nc4uibKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net 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 (0) 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=o0P1znIM0fH8D3kPejRS+5gkYjHa1MyVgOGtQSk8xR8=; b=aNnocdTCizmdJTojjW73z/HUE7GLivHXx9bZyG8KF/LGEybCKlPy1isiVNGpJNlNeOu+Jja0LzI5T4EPj7Yqhb4zU+y7SCoCiSWY0LIuhUgReQWxVRoCdWiRnp7hzioVDtXJdpVClCGziHWLu2MZcbfk0vnAN8B4h8oBsMBW/Rf85Jl24fHconx8n5LWJVGZvsSZhYE90cwy1BF8nqqfXGbZjoQ40egUc7VzTDyMIv0yIvkZVazA7LfVzz+vhXGlo09pxgay4TxjmmG6/Nmga8292QdffI1jKRhLGsJc/53zqj3x3M73ORYY7VurvHnovQJh0pdx7VH4bRRvVHL3Nw== Received: from CY5PR13CA0024.namprd13.prod.outlook.com (2603:10b6:930::14) by DM4PR12MB6088.namprd12.prod.outlook.com (2603:10b6:8:af::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:29:57 +0000 Received: from CY4PEPF0000E9CE.namprd03.prod.outlook.com (2603:10b6:930:0:cafe::92) by CY5PR13CA0024.outlook.office365.com (2603:10b6:930::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24 via Frontend Transport; Sun, 1 Sep 2024 11:29:57 +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 CY4PEPF0000E9CE.mail.protection.outlook.com (10.167.241.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:29:57 +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.1544.4; Sun, 1 Sep 2024 04:29:50 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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.1544.4; Sun, 1 Sep 2024 04:29:50 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:29:36 -0700 From: Gal Pressman To: "David S. Miller" , Jakub Kicinski CC: , Jay Vosburgh , Andy Gospodarek , Marc Kleine-Budde , Vincent Mailhol , Shyam Sundar S K , Sudarsana Kalluru , Manish Chopra , Michael Chan , Pavan Chebbi , Nicolas Ferre , Claudiu Beznea , Sunil Goutham , Potnuri Bharat Teja , "Christian Benvenuti" , Satish Kharat , "Claudiu Manoil" , Vladimir Oltean , Wei Fang , Shenwei Wang , Clark Wang , Dimitris Michailidis , "Yisen Zhuang" , Salil Mehta , "Jijie Shao" , Tony Nguyen , Przemek Kitszel , Marcin Wojtas , Russell King , "Geetha sowjanya" , Subbaraya Sundeep , hariprasad , Ido Schimmel , "Petr Machata" , Bryan Whitehead , , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , Shannon Nelson , Brett Creeley , Sergey Shtylyov , Yoshihiro Shimoda , =?utf-8?q?Niklas_S?= =?utf-8?q?=C3=B6derlund?= , "Edward Cree" , Martin Habets , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Siddharth Vadapalli , Roger Quadros , MD Danish Anwar , Linus Walleij , "Imre Kaloz" , Richard Cochran , "Willem de Bruijn" , Gal Pressman , Carolina Jubran , Rahul Rameshbabu , =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH net-next v2 08/15] net: renesas: rswitch: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:56 +0300 Message-ID: <20240901112803.212753-9-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9CE:EE_|DM4PR12MB6088:EE_ X-MS-Office365-Filtering-Correlation-Id: 063108f3-3760-492c-0e18-08dcca796872 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|82310400026|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YQqpKN7e63kOEXy0SBZghgHHneygQbM?= =?utf-8?q?f2g4/8ns65y0kPSwZOBVi+ku+ValiYsf8b/3L6y5TSYOaMLAHR+8MNUlH8An/uMyE?= =?utf-8?q?KRTgxit37BYqLVLwVpKrk/64iqmDf85K2hilmS5dUHAt9JtbpeHR5R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Dg?= =?utf-8?q?n1eonR1GamMfRnv8H6MVFmvIhA4KEFbBlAgiTCeU5R29rr+Bd8aR2AC0vslXUlTev?= =?utf-8?q?rI7P0oygvdReoXKSRW07hjYytAp/0r7sZJFtpKGLT0TrV4fidessTH8eFBfTg8lmr?= =?utf-8?q?eRepDCkRqPTAABvI/BUaZ0T4e5k5FloP2iOIoCGJZK5Q/Cy3D1deaNKdwdczmECFR?= =?utf-8?q?BCpDR8BaiKifjEaEtZjpD/bg3q1KITfwx2kKlNlvVdYOWK410y0gJsQ5HiZMdaayH?= =?utf-8?q?m1REs0gBGssApZU6srHBlYIZ9SUtzshC+pwlZtMcrdidQfG4TQLi0v3KTsuZkGeCR?= =?utf-8?q?ehWkXJpXLcZTq5AW1/fS4k3TGLcK3iMMXESi8sOhq544X6xxqZQXx2vMw0lbRHHGV?= =?utf-8?q?hAJj69Vz5PM?= 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:(13230040)(1800799024)(36860700013)(82310400026)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:29:57.1145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 063108f3-3760-492c-0e18-08dcca796872 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: CY4PEPF0000E9CE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6088 X-Patchwork-Delegate: kuba@kernel.org The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman Reviewed-by: Niklas Söderlund --- drivers/net/ethernet/renesas/rswitch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/rswitch.c b/drivers/net/ethernet/renesas/rswitch.c index ff50e20856ec..b80aa27a7214 100644 --- a/drivers/net/ethernet/renesas/rswitch.c +++ b/drivers/net/ethernet/renesas/rswitch.c @@ -1815,8 +1815,6 @@ static int rswitch_get_ts_info(struct net_device *ndev, struct kernel_ethtool_ts info->phc_index = ptp_clock_index(rdev->priv->ptp_priv->clock); info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE;