From patchwork Wed Sep 4 07:49:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789912 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2071.outbound.protection.outlook.com [40.107.101.71]) (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 9C01116EC19 for ; Wed, 4 Sep 2024 07:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436276; cv=fail; b=EIr4tyzxWPa+coqAcvG0MOx+gDuM5SXkLsbfFXoAq5V8dJPfEn+oPVFfMa2QfzzrxjcasS5PXOu4b37pyUDboF09vBcvzkuO3v22ivmdfvRNIqf29Sa7uuC6NAaI3uR+YUDa8BNrzBGt+8RtFQLNLlysrfBFDcXBxZVW0YJWDjM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436276; c=relaxed/simple; bh=BxeF7pTDqZ3F6e2TyVHtgfeJD8031exN6a+1776WJKo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uHshNpvU3imdZPf7O5x7DcqKeD7UL4Rhkjws6AvSMMJQkUXHtKSXfynCOBM9exf3M2W3fTc7nzNbEYGxqEBBx+TdE/EMOZVz9oF8CttxP1XY+VW2Jg+KhBrXhVChz38HCtRcs94Dyi+eP1UQj9Wi5j7CX9nQbxx3ocM7G6RDgho= 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=QItsHlxP; arc=fail smtp.client-ip=40.107.101.71 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="QItsHlxP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VhMVbC+1yM1/194ypvb/vfeoLo74syx5lj+8oPTHrdc2Fa0efPLaZu7d6BY+WGyRRSxee2YtQ1e1lIIA9E9M1ke0iApLbiyoIaKzE+3b/JPgOm4JzvsgpIjXZhkqP8YSkJxIfuRlIPfbeiS5WFbel+uazf7d3TtR2ksqNRr9xg4VKZdiTE9BIQyyUeBJaK+Fq8ZS2GOW50PFGB9hq0/doEbJOFKYWv+/aGfnZsJrRNErWuX1dDAMrFzXITy9p/a9qIzp3IZJHzR/3/ETTvfE3LRRBTBGLIg/MTWsq4owwfnazFgJtPAy6MxdmeUxGiGSOraKUEwvs1KmEOtAKICw8w== 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=ht3UrsNE8xl9RD2EUy/+sNjQXWO2vyXZvfYYXDZyG9Y=; b=xj+yXs7f5g520h0QXDawF459AD9i4aLjvXXma4x+qivz9pifWWNr1LBJmwsIfRAbLNmGgzsBosMWe0KYE0fmY7iiYSYsu2FXyGMuEZG+8ugtbildbh7zAo6zUojcpnPzoxbVqrhp5LbRVRwKqx33SiO8GdUBf+YdKrt+Z+NY7+cZp4TPLrDrrj9uoTI1deJwKhc83ITLTbLXFrPa6pewi9wiilP1cCGlQSq8S6NqUi4qMTbavS6cSj9w72+mgF9oOQ7SSm/ylUPXWbZ/xqfowcdRyzMHHC4W9tFCQ7Lx7S6e3AmXCHWopuvIcZj4Bt+UVLlLAVpDjtxSLQHpxmLR/w== 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=ht3UrsNE8xl9RD2EUy/+sNjQXWO2vyXZvfYYXDZyG9Y=; b=QItsHlxPHBtfSZoFJXy8GLJrY/XuLfJFbQXud1OSwxKK6exwUI97IGckkt3LzKMWq7pEu/ZzMX02+qypRAzAVxGrQaQfXh6o86h6u9506qC8rv0wCdAsTbbBY8mBLyRdpVy/6Uz20qSv+tvNG3nRcdmh5soKtdeLYN4grjHRJ7vJIrlMeD0k1vEoHTFJ99ERHRHaxHN/PLNv+GIb6mNEU1FGYRbUU4GzbaCj4XiMglRHPyFrIsDZ791zYN3ckK/1VhfcuoeliWsX0tR57AFdTIJr42z71pz3rbb1GAK8AaJy43zNGqBNzBqnFRp2JVvlhCi0VSUc34O7SAAiap6FsA== Received: from CH0P220CA0021.NAMP220.PROD.OUTLOOK.COM (2603:10b6:610:ef::11) by CH3PR12MB8481.namprd12.prod.outlook.com (2603:10b6:610:157::21) 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:10 +0000 Received: from CH3PEPF00000014.namprd21.prod.outlook.com (2603:10b6:610:ef:cafe::9d) by CH0P220CA0021.outlook.office365.com (2603:10b6:610:ef::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25 via Frontend Transport; Wed, 4 Sep 2024 07:51:10 +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 CH3PEPF00000014.mail.protection.outlook.com (10.167.244.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.2 via Frontend Transport; Wed, 4 Sep 2024 07:51:10 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) 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:57 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail201.nvidia.com (10.126.190.180) 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:57 -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:44 -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 07/15] net: ti: icssg-prueth: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:14 +0300 Message-ID: <20240904074922.256275-8-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: CH3PEPF00000014:EE_|CH3PR12MB8481:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fcc8184-b245-42f7-8575-08dcccb6576c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: EG8d8d2yOPHaEi9wqa2Vq6ZJ2Xf0tWGgTjBIVWwHEVXnza06BH6zEQZqa319SiAg8zacRsjCpPiD629v18TvQehMblP08CGu4lOwUfi6y5D4tF1rnPjSXAwvgzr9iB/X+A9O7FuOWDyP8OcPXbONo9lK9nrOOXuPRaPWDnmVChmF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aaqs31NcT1atQmAtsm3O2zMT/0uJ4cn5wQPL59t3oXFrz7JSWlVMA8Kmy++J6s6poJrfojJqiYvizy5MIkVL2idkiTWQJZGRY5UA9XG9+9o5wHBcK8qlmwqt/zcvB+fPeGO2iVm4ix+84Ex4dPvyr1mRY5o2GH3Of+jIgfcJkRJHWGsLZvcKaWBMy1d8lf8ArTnu+h6XODLQaMe/XJKTneo 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)(1800799024)(7416014)(376014)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:51:10.1361 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7fcc8184-b245-42f7-8575-08dcccb6576c 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: CH3PEPF00000014.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8481 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 Reviewed-by: MD Danish Anwar --- drivers/net/ethernet/ti/icssg/icssg_ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/ti/icssg/icssg_ethtool.c b/drivers/net/ethernet/ti/icssg/icssg_ethtool.c index 5688f054cec5..a2df9e527928 100644 --- a/drivers/net/ethernet/ti/icssg/icssg_ethtool.c +++ b/drivers/net/ethernet/ti/icssg/icssg_ethtool.c @@ -118,8 +118,6 @@ static int emac_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 = icss_iep_get_ptp_clock_idx(emac->iep);