From patchwork Wed Sep 4 07:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789913 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2044.outbound.protection.outlook.com [40.107.244.44]) (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 50BAD154445 for ; Wed, 4 Sep 2024 07:51:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436286; cv=fail; b=PYQS3a8KVQxED54No29hd895wK9c7fSYBclvZDGuaZDKMcyEFVFarPEIKF/kqHXNeIi28o6JmWZ/s13/mgOQs1PcnVqqxeeaC85PPiobKTCWUhDnOCaOimtGD55tU+CLebazvAkyAf/y9Y/v01kqxbRqgefpLiBspcBMlrPkipY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436286; c=relaxed/simple; bh=41TGnhZBSDZ9XhyIDz9YCqf+7ify7JoBLduz7Z8oXq4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ShC2pqLhxVsY5gDKcmSfv/ZBhNQ02/mWpb7uvztYFp9tZdpGnyKnrNWV+RbVTSCdAgnnnkU9bhK81URClZknRm+9CyHa1NQTu8cOp5TuURlJgwboGS03stxv2qsOXv6IBSIbWGT1tpy5HgNBV9a3Gw+LlQtA6JNbNpfV6RXAuTI= 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=h4gEwV9I; arc=fail smtp.client-ip=40.107.244.44 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="h4gEwV9I" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xUtCPWkBNE0xnT8sNgLcII8ebjYkEnKaaPxvA20KEPvpiFZjb7J+cx8S5WoijYCajfF8R7LIz/CAEQIsHUAjO4GWKw4BhX/owR4t18TaKpabakd6Fw16Y7VoN6HzLBiMMtA6q37vmz+lXbO4FNhBkUoFKnl4hrYPFetJ+FrdQY7jtm+K2V0UK/F49Qwr5/qZnySnUj1pjCBUmY7sHWWy1EbhbBMuIShWSHeL/2aLsUnen/NfllAcydtPO6IFc1Ldu3+Zp9VNHjgTWHthlbi7BI3o3YvS6uFl1cVohqhmpiIDV89zrpvGM55GV0E/XhIH69GJAQSUapFcWk9/vjgk1Q== 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=1Gvl+4m5GNwOH+wjaElc5iMVuEPHOVHCG+JXafE1hWI=; b=dtv8jypsQKhMS+w8rIS1+4S6YpUtV9WqYJuzKRbJuPMuENEEWIuDpCH7eycOoecaw0bbxeKFtEwUHB2Or+qpbrBMB/chGnjty2KP0gw3Kd/GwwKtaO4bfHGvuYsGElZmAL6nlABt/MXOsmOAiTEFO9sUxTZjBn9dGJhhdwkpaAK4e1OA1PhorxBovsbtrQX+qPZmKYhSMU1kiiuU1iS/gf9+aunrqMBGnAYTDrOLMwEhwEw4yZ7A0qiSwg2nRNdmS5sFYwy94r9fxeQWXSBbEBNnE420WVhMA2NB91Zq4gOw117gB4rZS+4rZDUVnzNf+E9gOwVP7uGQ9uTK+ZfE4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=1Gvl+4m5GNwOH+wjaElc5iMVuEPHOVHCG+JXafE1hWI=; b=h4gEwV9I9AaUzsuPjT/3+eKp9hInblObHOUm2w80N+Rv81tOyDlC/1McvnprOUE4gpOt4C7IM+xhI8P/n+uC+0egD/uZkBEl8Nf1di2XEAcJefRszoWhrB7OX5GdApnxixHEjmfPlrEr6qvArtJ/XEz0b1tTvqsnp9JemtHz1SXM5q2YTcxHNajuckPhvIZKDVdeC5YKfTPd2Z5wDwR7XuqKw+3DG6AD8mAuKWxyYhfJAC5kXS2uIyEF/AnNpt08bq9I/pq7LM3U5Cqmo20nMzzpvrSEsl7NwcXxsht/Rk0X+XQzh6C7FqjcEDYHynRPZflnYF51XrOhRtJLaw9wsg== Received: from DS7PR07CA0009.namprd07.prod.outlook.com (2603:10b6:5:3af::9) by IA0PR12MB7602.namprd12.prod.outlook.com (2603:10b6:208:43a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Wed, 4 Sep 2024 07:51:20 +0000 Received: from DS1PEPF0001709B.namprd05.prod.outlook.com (2603:10b6:5:3af:cafe::24) by DS7PR07CA0009.outlook.office365.com (2603:10b6:5:3af::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.14 via Frontend Transport; Wed, 4 Sep 2024 07:51:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by DS1PEPF0001709B.mail.protection.outlook.com (10.167.18.105) 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:51:19 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.5) 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:51:10 -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:51:10 -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:57 -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 08/15] net: netcp: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:15 +0300 Message-ID: <20240904074922.256275-9-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: DS1PEPF0001709B:EE_|IA0PR12MB7602:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e1ce4bf-3a5d-4bf6-fab1-08dcccb65d3d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|7416014|36860700013; X-Microsoft-Antispam-Message-Info: ITtIaF1iSQaMsOXywNkCQ4yDuTJNIyEULlDxBzl0a55lT0IyKCBNt58keRlYhMvHkEGiA6Mq8v9IfNQUKRVGjHzLaOrXMMZ7KWpglez2Tq1z5UEP6aTQcQoD7Pbz5gdda4tlkp8kCUY+mgEc0cIwIGI0bYav7JPxU1MtzS2w281vkZDhtHfdX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p2fhQiBlQy/BDkhIV6rpy20RVn8cy89aaxvBwC/SIYKOcKkamypiMSVEfmjMMRasPv2mm0EVq30dg3faZQ9w6t60NDGyEQ08VpKoLttDi/5TnC6hYlQFNe2G9RqaSwODfZyiv2zK2CaK//U3XD918hIQVIw3jZkL8OMQ714yFcBe+xC+IVUDtLMKNOgqW6Hmiw3ZQwLfRmmEOO+iBmIk9exmHIk0 X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(376014)(7416014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:51:19.8974 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e1ce4bf-3a5d-4bf6-fab1-08dcccb65d3d 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.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709B.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7602 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 --- drivers/net/ethernet/ti/netcp_ethss.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ethernet/ti/netcp_ethss.c b/drivers/net/ethernet/ti/netcp_ethss.c index d286709ca3b9..63e686f0b119 100644 --- a/drivers/net/ethernet/ti/netcp_ethss.c +++ b/drivers/net/ethernet/ti/netcp_ethss.c @@ -2012,8 +2012,6 @@ static int keystone_get_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 = gbe_intf->gbe_dev->cpts->phc_index; info->tx_types = @@ -2030,10 +2028,7 @@ static int keystone_get_ts_info(struct net_device *ndev, struct kernel_ethtool_ts_info *info) { info->so_timestamping = - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; - info->phc_index = -1; + SOF_TIMESTAMPING_TX_SOFTWARE; info->tx_types = 0; info->rx_filters = 0; return 0;