From patchwork Sun Sep 1 11:27:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786401 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (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 623181684A4 for ; Sun, 1 Sep 2024 11:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190260; cv=fail; b=FTGhgET5+YLe28YmE6P7NsEWcIn2qtkfyktZz43qmH5nTqPMdmHv0HV9NMuERl5BlNDq+6lw+oDq8n1IxELKKkhmZ5T2AxZs7Pdlrnv+vEIkPXAIIPn50UawDVrula8y85h3Vmvog207csx2pB/0lO6cK/lURxdC5+MhEyCRvFU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190260; c=relaxed/simple; bh=k8UFacMuLGain9eTs7TqVUtyo/AJDj7O3QoeG5G9bIg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WrQUAV8ZXJ+Vlc0VIPWRlp4MXHt1zpyKjLTFkTbnika2eIk3ihOLUWrz7gDX4/Zh5G1hRTo0asBXGunVizb18fOXPwCbLmgzvIGHwiwmMLq+47Ig6mJqnmtRiRzmhvQ94xvIltiLx5nIScmHjNG2eby0DfZCzW9/0RByHPQmx+I= 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=TTLNDKXI; arc=fail smtp.client-ip=40.107.244.58 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="TTLNDKXI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xEr4OUE3+TPedO69hC/eISRCr64rP+G1V4K5ygt9CDRNeOtHrCes2ZCmVtRJcjK4tqn6t8nvcQqSZNUpbtdrxbnwpL+1uqHiA0W+Fvlypj5OKft6VP/sp2WWxKNz9JN+ZeZOZNeUdirYELGSIJqdoDpte5QIYA/IqPbxg6DrJGgIdHc2U4vRDubaMY30rwLqjfn6XqvjUkk5oj7ohsd/a4+2cKO36axTfzCFZGfQCxiKN8ypzikHbzo9JoWv5oq/UxO4vIp27nl1+JCXXesNaYoHSmVW4BA5mq3QdB4Gwl/Gof0adKUplLcHeBKzoKaTLDXWaNUHB4caycHqLGFoJw== 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=m/ir06wWyjEjxAQcap9lzpnYfSNiK3tLiHimyI+gJLA=; b=JHO+tAcZI15rnqOnAiYeM9K/DIwJCk2ahKkJfpgERZ0VDzup96PxVALPFfTONCWjIYWTCGVokFCpxW++3ItEYrRvx4o5E5fvgcAi6XSo5EUDeAFeb34aenRERG0Qk/PJYOjp2pmhN56tq1WEHDoVFHsUG/0ZHR3x0aIb8sdMJvok4nz5GiSGa8WsdhHxihTbegFFm4hv1qStwxZchGLbuoG8nk7OZmZI1jWuEkAQaX9Q/kCY1apswLhLqjtogWoFwsOilkOotd0XWPePukMuZnPVME2V2he7+SPoWQXQxtixI8D6R7Iu4DwfooHNnKSbbKbBOUCRSzZ/gfFW46SqiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=m/ir06wWyjEjxAQcap9lzpnYfSNiK3tLiHimyI+gJLA=; b=TTLNDKXImIKy35PxCfSmfcV2jccxTQyRuZymiA8/8xxXCxJpF2tK24gQsqAmqUrqQ6l8tcLmmWPpsGkL9q3LA2vFFUNzMTUqS2P28qW/xpnQzQedPwKsfQbS9D93v1u+3hyYYLPo1JgUovZl8cU3/NrC1YZTSArX817F9T/QoVLlWoxIP6aHV873ETFgwjN0cFaKO8Gm5jELOHA2NaHQD+54KzOJUJgShKXhPTtuSjP1ec2LUMSulpeV5DE5QrHQW8al7jbxsL7aClmHoxAIyP8HLt8zDIyUKgYrYzFHzmt+TrdQ7sS3ESSpxLret4X4hZxkQS9OyZqzZVMZD9GuSg== Received: from BN0PR02CA0053.namprd02.prod.outlook.com (2603:10b6:408:e5::28) by PH7PR12MB6635.namprd12.prod.outlook.com (2603:10b6:510:210::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Sun, 1 Sep 2024 11:30:53 +0000 Received: from BN1PEPF00005FFE.namprd05.prod.outlook.com (2603:10b6:408:e5:cafe::73) by BN0PR02CA0053.outlook.office365.com (2603:10b6:408:e5::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:30:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN1PEPF00005FFE.mail.protection.outlook.com (10.167.243.230) 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:30:51 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) 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:30:36 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail203.nvidia.com (10.129.68.9) 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:30:35 -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:30:20 -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 v2 11/15] net: fec: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:59 +0300 Message-ID: <20240901112803.212753-12-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: BN1PEPF00005FFE:EE_|PH7PR12MB6635:EE_ X-MS-Office365-Filtering-Correlation-Id: 88a1ee71-311c-4db2-9cea-08dcca79892e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: CKQzMqKOHznKXF0WGvMXegx5q2XTxL/KOJhg9OqZU2E5A/i4LQ6KA20b6Dlx07Ppzf+FMke/Tlr05yBIvg+44g5LCVXlDKwxvgyy/dNCVp2CIFQ56b4JNjhPtdRjwnI0fvN3t+OdUWvNLweUATb2qUsrOrOziiAfEl4BA3HdzzZ1OI3YtFdhSpoE/G9IXEXGjZq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46wRGcqyrofAJgAXjZOEsllB/PmVNgFTs/+AoAlTtaB9J6GQR+nC9B0oUyluWYgPse80xn26a2mr7EckkO3E7rJu4jGgnfws5EeFyeEy1nfTBjC57fxQDQTuNux+yHuj3Ph5ycMPJqnQhgTfjyfh+79wAzO7OwYpvFRFFkwpxI33GLUX+2BEvZhUMzvk X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(7416014)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:30:51.9279 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88a1ee71-311c-4db2-9cea-08dcca79892e 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.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00005FFE.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6635 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: Wei Fang --- drivers/net/ethernet/freescale/fec_main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 8c3bf0faba63..acbb627d51bf 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2775,15 +2775,11 @@ static int fec_enet_get_ts_info(struct net_device *ndev, if (fep->bufdesc_ex) { 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; if (fep->ptp_clock) info->phc_index = ptp_clock_index(fep->ptp_clock); - else - info->phc_index = -1; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON);