From patchwork Wed Sep 4 07:49:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789903 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2046.outbound.protection.outlook.com [40.107.102.46]) (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 5B29E149C52 for ; Wed, 4 Sep 2024 07:49:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.102.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436196; cv=fail; b=NSvhoHuwHPNscSlbtfHFB1cPUpd4bFG9wWNZKMnhXdzeXSV2E4ppntmPtQj3DMyk7szeNqVu2SHwLEKfXZCMJQNzj1e0MXpoNLF8Hakp+Qv+Vk4TePL3KX+W6aZRNCTgDvVse9LDJffvyURMxI9nKU5whRWkrBOJL77E9tLx9Uo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436196; c=relaxed/simple; bh=P0t8/z572OxbUBCA3Oi3hcRQGhZPdme9Mf4RIXyZkHk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AskWC85AtoRHnQNdHVj5l7EMuUKjWw62GJh1P+JphBF0HBYNQdb884dS+fanrg37Hh8cW6Qx1Vds8aEpuiLQ+emSTQ+dm5oyiQI8fAAU2twYElB8rMnDpPT1oBIyeogeSrke7U+1DEXoDZLG/sVbwROC/KsNCS+Rx66zT0zxBY0= 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=EggNC842; arc=fail smtp.client-ip=40.107.102.46 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="EggNC842" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ETe9GvfmdYYnzNMyBO4KPoofoNp6hCsYZNFoD4T+pzCVxDBd9ycQhodQy1N+SlbwbPOHLkc6oXfeJfANOt/hIzV8Nj9A95St5HJHdYTMpqaFkrWJyTZCqmRiu/o5oW5m8Sud+QkTBThcloLGr4nTZUjCbZK2GydvO8caEANQURpjc6+NzJCG3iALbrqSyATYtaP3RLir3/8ztOpMXIv1RN4BOd1DPvI7dPsFp1xHuYVd1yOaBreF4utRKNDqKQXiTSSqk0Q1fJlyPHLzmdar6ZzMr+tCiQk7Ep7dGMmSwAhlojCdbF/DHNEYoOAnrr6ijjUUlSuyIzvzSv/YOPkKZA== 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=Vkx/U3tOVzczt3FRtZWBj5Ck/QM1D0z2IudTxxtMsC4=; b=gaRZN1g5ryqS8vAfdwnRP6O6RIasZkJrPjY/F1SUo8OGJ6C2QkIcceTOZmHeG99BkeftnxgfHJ+IToV96H+UrOjkI3GWVDIL9SB4lJLDLkcU/BnuzsrUvjktGPcKmeAflAcu7snXlhw75eNyy3DHBlagKJYZvlrA24hRyGl1uK+3joRy8epjkH9z/3xE/Nm+nHP4M2KilbB38ImPzU9fyYQ5q5iMycMV/RlWjE2d21TYnoH53WC+Mn/6etl5IfFf+u/ULwRzuaX+jpYsUXlAQNIupe4XMsx9nGp5xTRMfR9Gai1khwO87yagz3SmUpewebG52jpPP47XUJZErzkxaQ== 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=Vkx/U3tOVzczt3FRtZWBj5Ck/QM1D0z2IudTxxtMsC4=; b=EggNC842YJZeqYc4/vHZUhonce6qGm0FMJw/VBiwFZtX+d4ZQ8b95vWh5rTaiVfeju6G0bnK+a1UapTfFTnpUlGVsSfipOiUvaz6VstUt3qCettqFCvQedkVdZMU79FfZo4YyIbL70xnEhKs2B3aZn/FgPHUJ3YeBnxBlPuZwXNHZ2lFX6NvxeKdu1Go4Jz56KTqTp0/clQmFH5w9bjgEj8QeRd+ZvqqKWnS0ZVJfatIRR1BK+mJCPUCsjzPPVT9UqHzPXeLUozVXkNXngz416VulVTgssTjnN+ECiGNQNMalY9UEI/uRXMw4smQ6vRyRhfZOWvHXZqAjfdDhOl6xw== Received: from CH2PR17CA0005.namprd17.prod.outlook.com (2603:10b6:610:53::15) by MW6PR12MB8757.namprd12.prod.outlook.com (2603:10b6:303:239::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Wed, 4 Sep 2024 07:49:51 +0000 Received: from CH1PEPF0000AD82.namprd04.prod.outlook.com (2603:10b6:610:53:cafe::b2) by CH2PR17CA0005.outlook.office365.com (2603:10b6:610:53::15) 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:49:50 +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 CH1PEPF0000AD82.mail.protection.outlook.com (10.167.244.91) 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:49:50 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) 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:49:38 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) 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:49:37 -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:49:25 -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 , Raju Lakkaraju Subject: [PATCH net-next 01/15] lan743x: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:08 +0300 Message-ID: <20240904074922.256275-2-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: CH1PEPF0000AD82:EE_|MW6PR12MB8757:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fa01b58-157e-4a2e-9db9-08dcccb627ed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|82310400026|376014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: P2qv6vXIT8z0H4L5hvuxqeYsixHPPKpT66c5QvKbOzbe7t6XrJtI6PLhErrMSkrgMHnTmPOuAJ7cU+1fXXYt6ahv/KpdxRrnXym90D62+45pdU7AHwNxLYpx9JH9NIxf6TfuN2d3naLZZarTcXi9WtxVxKnG1Y9xxVJ6XNn3VQI4BrslNCYINu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qXJrZ0P0bPAich4yxvFR1tbUdPbK1xUeFc82JoJcWQHy2hP3NRrVdb+0+Pee8wiw8DKL0or5Q27FlSrgnoBG2lcE+RH3/2nmsxXhs+qDdUpkL+rob4SWBAclNugkP/9L3ybwkos+EWVDfOMZLq4CbIGP4ItcEkuTe5iVPtm4UCV5wzpka55G0YsZdokzadF0yQcDpWczeIbss5ZZk 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)(7416014)(82310400026)(376014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:49:50.4359 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fa01b58-157e-4a2e-9db9-08dcccb627ed 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: CH1PEPF0000AD82.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR12MB8757 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: Raju Lakkaraju --- drivers/net/ethernet/microchip/lan743x_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/microchip/lan743x_ethtool.c b/drivers/net/ethernet/microchip/lan743x_ethtool.c index 3a63ec091413..0f1c0edec460 100644 --- a/drivers/net/ethernet/microchip/lan743x_ethtool.c +++ b/drivers/net/ethernet/microchip/lan743x_ethtool.c @@ -1034,16 +1034,12 @@ static int lan743x_ethtool_get_ts_info(struct net_device *netdev, struct lan743x_adapter *adapter = netdev_priv(netdev); ts_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 (adapter->ptp.ptp_clock) ts_info->phc_index = ptp_clock_index(adapter->ptp.ptp_clock); - else - ts_info->phc_index = -1; ts_info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON) |