From patchwork Fri Sep 6 14:46:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794316 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2089.outbound.protection.outlook.com [40.107.244.89]) (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 4A9991C9EA1 for ; Fri, 6 Sep 2024 14:48:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634133; cv=fail; b=Ojv597UYx0LR0qAyEEBR9sb5F6xsC4R5HRTaNDAoWuFGAwSkVJ6vYBiFAz3rN9N0uD25svip8zy0DvQFttFV4Ij0WsHOPf1lPNHtTq0zfgvGW56MtMlKFUa07vE4dXnaNRDJZ/LZpm5070IbP2WN6ILLEEvJVOlQuU0a3/oTexI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634133; c=relaxed/simple; bh=/+b/6w2xmdbEma9Jy1yjO29ZW8dKUhA8u+giES0AR/g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NqNiq7mdj58tEX6tRC+aR/mBFhAyir9IXSBxsOmOBDn3VufXQsVBkItONOfWldCD9lVa47dB6g0+kFZIrGL/4f9zSrcz0DacJdYOa6UXE3hKoEJFwKpno9RuBQhkJmmAhKtQTNv/NZhLpi/YxAUbVQmyLhjhOmd6Bk6SgRY8WlM= 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=RwoWR7YO; arc=fail smtp.client-ip=40.107.244.89 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="RwoWR7YO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=q0z0FriU67/hCVqL+5vi3IpFLlpB50pd7pSs42W/xCIefzL805CDRh+D5vtIko/luhYwU6sguvzV90gtAn2lmNQ6Ie7km2bJneFpDXvWvZSkMiaqXbtdyDpoz5KC54GC1LnA4Lwtwl6Cnl+6/MykgaODh2p95zMjtnOTDg06TrjqCkvjU2lxds76/X1MKjuoU1OHFIEYoS632iRKefRXUYZqluxrPePzRHJFo1z4SQwrBrYow7/Yz7I388ilZvcUsrk8d/lf/yvlJy6nrLXposSqaMTDSwCwxdAgNO9A8W9WbkrbbUlupUq4/xfMhKEPZO5UnFurKBiQBrLiR8udoQ== 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=da64austCjYguQ711PFlJUAJ0xZrz1HcMqTT1x1J8/w=; b=ykDD2ZRIdGM5En8bEHXt+ZtQU6rBi4ScoCPJDqs2lX0OVWnjOL3Prezla3tSaxrvuRTI5FQMStw9tGqhgQgNuETc/vQfIgVHU3WdMQrzets+N82k7hmaBm6yPWyqXrgEP3Y6Xgq5J3OgXuMLmqBy2LyBVQKovYz4yDg3GB/9/zBPjfJ9vOK9KYeNfyF1G/tdxDZ12DMZgfVaHpH3GGoOD+pMDePhXtHnTJNIKzX+0S8jIx1L0MPY87Yu3Ju+lkngd/PWrsSQLDPG0JDeSpLDUOX/MCO7UyUspMpweCN8AQIrIBF8ZKX3Ib8kzKzb4MlOLTuoaPL65bBBauX3U61N/g== 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=da64austCjYguQ711PFlJUAJ0xZrz1HcMqTT1x1J8/w=; b=RwoWR7YOARadju36GvmD1mw0I15SU8lFCDw/s4HGzKo47gUWp1hDN/aCkZ4si/50LSBcK1MRW/ptCGMb+midYXfrn6gFQ5sUWNjZoUliHraJoVNjxtpR67UJVErjrSMMyuQGvphqWS/SBX17zLjP//YwiMaOdsmNcCA/WyotI7z22i6FrIER+A8F8upXewmat4Yt78/xU5qOWo08XzqMePCfVyQKiMr4ESuVIo7v5KMyV7bTOSYzGNWNcpDjufpcWvdgLfa1AFLyMkgwnzQ73ux160rIPopHixjNlxONsK5gTMkGVY4UZ3Bn2okHYjvYKHlFZ5Os039idY/qJJNRCA== Received: from MW4PR04CA0303.namprd04.prod.outlook.com (2603:10b6:303:82::8) by CY8PR12MB7515.namprd12.prod.outlook.com (2603:10b6:930:93::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:48:45 +0000 Received: from SJ5PEPF00000208.namprd05.prod.outlook.com (2603:10b6:303:82:cafe::c4) by MW4PR04CA0303.outlook.office365.com (2603:10b6:303:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 14:48:43 +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 SJ5PEPF00000208.mail.protection.outlook.com (10.167.244.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:48:43 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Fri, 6 Sep 2024 07:48:36 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:35 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:48:21 -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 09/16] net/funeth: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:25 +0300 Message-ID: <20240906144632.404651-10-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-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: SJ5PEPF00000208:EE_|CY8PR12MB7515:EE_ X-MS-Office365-Filtering-Correlation-Id: e86f9a48-2127-4bf7-6a17-08dcce830127 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: o8EezfY84nEcIzME77wKpVius2DghrqLbPYZnHXcAbNfstkod6jK6Bv3NGe8qt3qxOk8JtRaaNZz3gOuoeWulKyunmfVvlO/V/p/OnuiVHXCIgkibYJi+qG6R7ZrBOCDQbML54P6NFQvM7YPMTnnCeOZdzlgGTn21dhwiG+fx8ZQ1JIHDh5Z0Zwifa4mWgF31RzIe7vfNwpZEvw/1rZ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tW4pPGmYnz5hihklbHViVP6QeruRc82Met/QcTdPiwPknsbtPQmlcuty+A43vjVK7VQbiKgQ1aJsCz3OBMgLtb0AlzeWu79IS8Ue3jY7Voq0iNqItb+psHONrht09ionSLJCQNmPjLV8PzwHP5JVhdrv2hToXqw9Npw9oySJrhVEWCWRaxBfzxy1LUcdvHUOjOR27 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)(36860700013)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:48:43.4228 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e86f9a48-2127-4bf7-6a17-08dcce830127 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: SJ5PEPF00000208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7515 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/fungible/funeth/funeth_ethtool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c b/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c index 7f081e6e8c87..ba83dbf4ed22 100644 --- a/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c +++ b/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c @@ -1042,12 +1042,9 @@ static int fun_set_rxfh(struct net_device *netdev, static int fun_get_ts_info(struct net_device *netdev, struct kernel_ethtool_ts_info *info) { - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_RX_HARDWARE | + info->so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF); info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); return 0;