From patchwork Wed Sep 4 07:49:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789907 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2062.outbound.protection.outlook.com [40.107.212.62]) (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 32AFC14F9FD for ; Wed, 4 Sep 2024 07:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436254; cv=fail; b=KifHP2CuGme3Wr5bYI1XJxqVTYkN4iiUl84yZMYX0671X+xchyGOQyqq3QnRhmKjiJUO04vc+Yg59hAOyDCc96473nsvSWk6LLYBtHxzryfUMoOl5zNOX4Hz4f1E0JV8huviXApQWJRIqgqkFSaRKV/JMJNOMTv+PVARsKa0S5I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436254; c=relaxed/simple; bh=Di8qmlgkZs/cJAUscKdClbZHX4xQwrQTtN+RLe3xMCQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NPeBsjUWLnDmsaOGMWfL322MwOWMPvY9dkkMeK1sh7AUX+/b6eW9fTTa5XIh+2zlSKEB9ljyQB3GhoC6c2oHa34Hw9NzCn4Ig/r8eY0pSXcuQFipCXFRKNU8meU9ErrgouIwxQBlNtx+00C8ia0CRDPOFgw7g1KvggEZBaN12/4= 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=Qfe+lb2b; arc=fail smtp.client-ip=40.107.212.62 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="Qfe+lb2b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=P99GHjzBuMjKCXSt98Qqzwzaw1DvhpJYk+13GNpeYg/fhWjELddZcsuXj8/8ETF37XIqyi/vAXNWcwOmw5OUJgCCJNPkKuzHUWT3EaE1VbvU++ZAqifM1gZk7R7/RqIofyuTimD0FSC5XxBqTu6xCC/1wp2Wno6NwFHWYGeXGJEAIzHxpdeX6F72A0qHsjXyVqGdm0NqZknqLY4o2WoUDBBDzBykoXvB9rHuafjEODElEHMV0H9P3YH7qpSWRo26VwZFGXL0Gn4s0yB4Vq4V/k+IiFyvXtFPCssyi45PngxNjAYvXze32OkhgOUnQaz0l2HNR9YMXiunjRK2iYDAgQ== 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=Jj178cnzgngp/Qw0zjv2mm4xe4S6vFU5g20T4anuacY=; b=peceVzEUp0QdRtskB78d+bAgJHhf0D27il3QjcLV6PbOvsx74lUTVQZsERWrxlon7Mxvurw/I9I1hsM9kLn+hztim5hbzjT1bADqlhasGFdWL27wrDJgQjiI1QZDlUkgSw0LbZ3tqfi2qiiWOm+1FvQKve1hCPRX/1hUpB90oTAoolGZ2V+scnKq6L5FTL7yN1hnLbEFdsjuteIk7wzjKZ5i7QnKhapNCrES5yO7ufAiyNY8/lwmuoVCna9v6Q0TMEjhTi+wCQUjzvP9b8Ar5h0F9kdQ1OAG2Wh7/FK664TxA3JBkZssm/ySNJeuUdRoG8hBMZi8rtOIox/8dGUzAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) 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=Jj178cnzgngp/Qw0zjv2mm4xe4S6vFU5g20T4anuacY=; b=Qfe+lb2bH8Pnh3tz+mdlPDahxOIgwrIWqAkn3LZlYPZ73McB8gqH+eFHnD3TsSH0B9HAvX4NPaj+J3StU5/X51q/z1g/G5FZJn9qAR8/iYXMkzX3Bod5K12g7Umj+3WAUHMv/GYUqrmpYpI7qqwqsu6R+cutmreEZZM71Qs5+7Z1sIpmM7dKkeS8OXtMTL2CM7RCCnQvnqMEcZkAiXaGltpRHRi2GsBJoe7Tq/mGtWzTyNdFqghwZWWMuRaUKX7kPQ9Eeqr/hYW6kWKucZ+Vn56RIHzDvYW/ActKgux26waYLL06vVebdi82dIh52Y5oD8GndAnrZucT9/qcvYPWew== Received: from DM6PR07CA0120.namprd07.prod.outlook.com (2603:10b6:5:330::10) by LV8PR12MB9262.namprd12.prod.outlook.com (2603:10b6:408:1e7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Wed, 4 Sep 2024 07:50:48 +0000 Received: from CY4PEPF0000FCC2.namprd03.prod.outlook.com (2603:10b6:5:330:cafe::af) by DM6PR07CA0120.outlook.office365.com (2603:10b6:5:330::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27 via Frontend Transport; Wed, 4 Sep 2024 07:50:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CY4PEPF0000FCC2.mail.protection.outlook.com (10.167.242.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Wed, 4 Sep 2024 07:50:47 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 4 Sep 2024 00:50:31 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 4 Sep 2024 00:50:30 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 4 Sep 2024 00:50:18 -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 Subject: [PATCH net-next 05/15] net: ethernet: ti: am65-cpsw-ethtool: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:12 +0300 Message-ID: <20240904074922.256275-6-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240904074922.256275-1-gal@nvidia.com> References: <20240904074922.256275-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: CY4PEPF0000FCC2:EE_|LV8PR12MB9262:EE_ X-MS-Office365-Filtering-Correlation-Id: 4467b337-6096-4f9a-05b0-08dcccb649bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|1800799024|82310400026|7416014; X-Microsoft-Antispam-Message-Info: uDSiFgL0zXdha+De/TLbPgkL5e++gFq3qB89kXF7EaSHQhhRKkbFsWsgN7Tsf5mapv4Bt6Xg61gjqvPO1BSP0BMGOwOHAJO08yJyOVYD4SOfdO49nBun3oSxUE6oIlKcYPnRSRMLnBfbdT33X8V9LiXT8fv0E4bjzMl0W5UhQ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UiFIU6UoCXoLlipT9tEB5lapZb0GWXIG58A7r1CcATtMz9B/DhzUu3+7w/l+YJr4W3/mO64U0Whjo7/GNVn/78ka3u8xLgpjBSPaAYfFjT0HU2i/U6bfhN25XmfkvAM/CzosXDQrZOnxzqlNgcxtS3J0iC5Rzzkg9OV3dVWnl+Dk3bAcWG5RA1d63qaCQzuFvrRSXh39AgV1BRgPgODX2e21 X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(1800799024)(82310400026)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:47.2356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4467b337-6096-4f9a-05b0-08dcccb649bf X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000FCC2.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9262 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: Roger Quadros --- drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c index b60976947da5..539d5ca82f52 100644 --- a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c +++ b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c @@ -714,8 +714,6 @@ static int am65_cpsw_get_ethtool_ts_info(struct net_device *ndev, SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_TX_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE; info->phc_index = am65_cpts_phc_index(common->cpts); info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON);