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+45pdU7AHwNxLYpx9JH9NIxf6TfuN2d3naLZZarTcXi9WtxVxKnG1Y9xxVJ6XNn3VQI4BrslNCYINuvFAGOm3S1kwaLPaHHIix28dIznXdRreg/0g0laVrlUJGG4JmSHxLzpWvw4DfVwABDIHuw0WPdjow9B1SrqQVx8679XwVK9p5UwS8xMnKYOtqs1St0RRuiRYhmpDlN/VCOI6dlkq/V1SKzEqvcUwP6c9BCi0GCAQWj71+4Ps71M/QVT8L7dx/bUyzqpv2/HqwDMKpC+FeuQipgb8lRTSFQ0GcVUsMZXz7PKSmUjWMMGhc7Ux5pTDOJfHopJecUyVp8MNCsqEA4IJPCWWDI5GPog8LDB5NkbzU19s/bTTtv3+jwPaJ4VL23uTYmA8IyYUYZwX5Q7f7EXm1gKtp6pW2jerlDP+ZseXLl0r6zO+xeylVvQYTo6t9MwmRJkNCVFgYLFI9uCOEe+VPicd+bpJ+ecEe0QZTgXgQWnAZW/pRLQsOkGZQAG0ZN2dcs0hK4eCFeZMXkvAWfYwHtQzqx4TygWMzb+EDsMwzUOwLBww91BZxvH4NFz4drgEToJJhD2h+dzHgIh67WqCO47XmWZ83lfsXfJSLsKe12ovOVwUu5lJcckmdpmHix+WWfZ+i09mdgbWlWB4Ul6h/oWrjILLiZrQ10MaJNBx7wgyBBvuH5zmDCt2/pdcSXwwKcSl1lNlV19ifjEFGN1adbi8N9yOXVcwrpT5YoVb1VzzawyBf3u/7FbVJ4RVV27iD9chZ+RnPHO37unjJHxfKVnZcNS4iu/D8/5AMSTfSH8hYLXZbbEmDAhLZBehlVZfI2TWNXxVIR/a2/kppRw5h58JBxEdK6H+mzs1VkuuvQUF2coij4jXFc63ypWnEb8CY1s5oKOQ6VOR4vWua7s2tdWmJwC06sYLDCbCEZQPgK2Wi+jH1QymPh4zWgrdbcZRpX4111SeC/cEXzJunFjqjc8qI8MPIhmrz+3zA4mvP3FtiehxiB81tUx1cbfbLrNi6YF+ucY4jJyomhi7+NErufWypJK0EMaYcbengvUbcR89OJ1t2oJlFpGNIszlLAm4xOY03q4x7+66JCszV+xIR85LzBd0eQjtuPNWb+P4KTSGbuoA5SCp121Phg3lczolISqXJrZ0P0bPAich4yxvFR1tbUdPbK1xUeFc82JoJcWQHy2hP3NRrVdb+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) | From patchwork Wed Sep 4 07:49:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789904 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2044.outbound.protection.outlook.com [40.107.223.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 A5C0E8121F for ; Wed, 4 Sep 2024 07:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436210; cv=fail; b=e4niAYZ7alDnMEEZx+CjPA+wHV0dnusd6EwA6pJqehlw55jmPsfZdMi/FpksUZ9BqmICBJ3f1XRdtgvg2RSWaqNEn4ucMhviQPxfWtD3KxDpU7KBSiy1n3NeUbswx5CSUkT7RgAGC1Qmqn0lRhdoQYp4z/IjSDI6CGpmSSa6iLI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436210; c=relaxed/simple; bh=E0J6NCTrNZRytcP9SGNKLfORzZS6oVQ7xaCGPpI4aG8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oO6XukbSLaPIzzBqCQ1iagHVC3RyjOVkYDgV4VJ0iPQiLMkESqaKQhpp+1xIsiCtxUxPafx93HsCIAxKEEHtOjVJdDYnTbDM7jtCleM0eQwEtYNZBHc43VSZPEUJr3oModVP713O3KrGaTCCFQILeKO8yMDZYUb6ZNxilhBG8mY= 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=C0dXOQ1F; arc=fail smtp.client-ip=40.107.223.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="C0dXOQ1F" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oSxneuilMsnRHVK2W//o83yoxEyWOUrtk0fGxVrRQxBhgWPXgmNBHj+pV05m4hGulu1P2lrq1HDGgw6QwdUJYjBUh6jw4HtexRITnk1W205QDfxS5GfidbAaucDb56QcPoQwRICN1JUKCT6KIMKW2UrJ81DFbnJaVZgQS/eZhDgbuUZsdCxrIcyw1vEPJD4WGxFdCxem4d34NccYGx2HLM0J5g8wWg7p2ey04k+UYE/HUsSnml1z4D2VhKzbAUL1Ufep7u6OrJrBQApQKg+rEiYKu1Qma1lbppv3gURmlDZe8v3QRwAD9ipWJK4eh4IJR7npKdgS5qMo/NHAq06EbQ== 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=36r8ifTmzkbRX8ogXzOrmLzoeig6djW7ZWW+N2Fjd0I=; b=R7Paeld8rCh45/mR+FUFRXnkYxTmn8LeWm2qWE/RrRHwhzX7xxaKeJsSXrz26QzRcM0hRg1OinW8ghr2RWgvP0ZPb/YIR5IQHUpCoKkwv+kzd6xP61So9GF80m/RTqdqEXunRxU11zGDHxfGEtL77KkwvSf+djE+WFte4Op8UtaodBXrZBk7esEF4VpFLQHs2nE8N+IhM2ee76Eevlpq5MHMcam8k553xG/yyIwRVv9Jxn2iOqLNy8jWPKIHRNc2eOimWx8s/eZb+HD1FTdbQMe+w9giOWux0nWodGvfMzI5/TtC0XBotlG9f7ARep/FFi6GQUAcjvpe+lWUC92pQg== 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=36r8ifTmzkbRX8ogXzOrmLzoeig6djW7ZWW+N2Fjd0I=; b=C0dXOQ1FLFmDnK1j7gxtTCXcDhwBjWiLEz+eNGFByKTjYzgjNpYteqW2ooJlF2EoqL21d7vGSLyfDenvSrCoVTgtOft4igTPYmb6teiECl8TjFIrsqo50T+0P3x7ugao9HZnw0K2TPFZpJkTCiv6WR/W7uJWcRLj+x70zVBl08vGQiTROgTGAAv1C1ObjtgHZFD1wIp8DrRGKiLDPFz+b6iW2YgXod4pB5w12jBbGg6sl3UJqusz6+Lt90tEGr6X2lB4144Ifq85t89YZU83eeN//eygeJUU1qFFcm2KujBkJs73xdMXiLQEkirVXy0QBw2bqLs8KnBGV17IPWWc7Q== Received: from CYZPR12CA0019.namprd12.prod.outlook.com (2603:10b6:930:8b::27) by PH7PR12MB6443.namprd12.prod.outlook.com (2603:10b6:510:1f9::5) 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:50:04 +0000 Received: from CY4PEPF0000FCBF.namprd03.prod.outlook.com (2603:10b6:930:8b:cafe::44) by CYZPR12CA0019.outlook.office365.com (2603:10b6:930:8b::27) 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:50:04 +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 CY4PEPF0000FCBF.mail.protection.outlook.com (10.167.242.101) 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:50:04 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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:49:51 -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:49:51 -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:38 -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 02/15] net: lan966x: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:09 +0300 Message-ID: <20240904074922.256275-3-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: CY4PEPF0000FCBF:EE_|PH7PR12MB6443:EE_ X-MS-Office365-Filtering-Correlation-Id: e35d59df-99e3-4e4e-116a-08dcccb63013 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|82310400026|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: +NyZjPr+mxxJGNL/jm1dTpufSnCAeDCfUNuul/dJ1HYLXoWJTI8ydRHkaSYBgWjjtQRNEpubNQmzcZ6YdwmhZipL6c/whT7xFRM47kqZaBJqX37WtIRrYNOvvWPy6Dw25BYfjmoUA+PQ72sEx9ROsvddqyieAr8/xmo6F6Bsz7wtkY+5uIk0PsW+Cx90g8dpv9JSI8TnFzeNFj5pkqQRnzb0A58k04NzaBnB92Sbh/akv6b9KyD7gOziJiJbHZney8mW/5vElNmMd0kqlV5UJqffw9+Y3QNlINY9MwZ/D/UszOG1P6Gnt7GLV33o9XbCCl8tNL/bguE6wf+BGeSqiMmf9PlydyIfE4W4YfzlZUTUkcDaVw77r4gn5FrfV03wTN6zaKkkOiHTZIry52urbW9qle2+YanK8huVTLxW8dM4dsV1I+Q/+xn49oiWAzmuBX2nktg+dRhscRy8rKoKbYayCRl5F1TOICOVPQylhv/1W3zYlK3ePUUrMKICwfQNSfv270r2P0NlyeSSKphpimETi/vYG5DfIQBoCiYVd4IKJDk/SvV/JvxE8hZSUMG8s+armFFcuUeVmhp46BOKJxUNzf7poJ5L240Tg/PNyfYNw/ZetAWkc0dXa45p44By0Te29fQ62N5rOUo5dNbSiNI3KTjWDg5IeH0LKD15eyD31lQYKsApSZkqURFkzaui8D++oND/eksDFoR1M2H1VmwaxEyfwBwuDi6/MjUc2ZL18T9K12DKSsgA25P8X1P8Qr5uTTIg/zwubBJySqkTkpB1lLtatMrqp9cV4JvLF4WnWOorK8tBckO0HNbPT+BVdye9AKijwZplHON3PgUOHriY6v1tBYWucN29I9cazlM8QW/FtDB2PwFvz1UshHC4zvSZV2kb8RDuUtkpCm80zi8Smsoivb2hNuFpbZ4D5RNY01U4lzaXEAqCoqYVdbJezZ+yJ/skIo+HJ1gAduUEM0bLRx49RLhBiu7TDXzzoueKuZz5KfrBsA9cJ0FXxEqezUXRP7P6WizoIh/mNLSVY+8qTuuKp/1VReIXXXP9Qy/iLggnT/VDIhpk3V60CF6FFHM2rUbzhoZR0QJGG8T1GdnJc31RsN/tL1wRya8tzBPZwus0w/y/GyH3RCm850wBNN0o7mVVO6VvReSvzixO9uqHVqAibu3rZy9WtSPNnfUNODF2dwBVMWePELHYu4KbjWBs3F9glgidWbPU+ImI0hYj7Ld11GGaBubxCJPr2S42IpCcM7eqxSs6usvKW6MSFEJfPbht6ERlz/enzc0+hlorTy+fyWlmVSG41feQxpAvGAX3XTaSNHa0Y86RDBkzYrCesMNP0r+cFXygCrADlCWIa1DPzaasmeSlm9vF9f/0OqvGSOhzG6iDjeeniRs5xbJNVCJra7RFs+IK2Se+5dYS4EZQ7+0TkitW6jJdkqKYqVBEZcELEUygrlZ6xrMS 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)(7416014)(376014)(82310400026)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:04.1655 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e35d59df-99e3-4e4e-116a-08dcccb63013 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: CY4PEPF0000FCBF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6443 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 --- .../net/ethernet/microchip/lan966x/lan966x_ethtool.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c b/drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c index aec7066d83b3..2474dfd330f4 100644 --- a/drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c @@ -549,16 +549,13 @@ static int lan966x_get_ts_info(struct net_device *dev, phc = &lan966x->phc[LAN966X_PHC_PORT]; - info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1; - if (info->phc_index == -1) { - info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + if (phc->clock) { + info->phc_index = ptp_clock_index(phc->clock); + } else { + info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } 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; From patchwork Wed Sep 4 07:49:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789905 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2076.outbound.protection.outlook.com [40.107.94.76]) (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 E0B39148857 for ; Wed, 4 Sep 2024 07:50:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.76 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436219; cv=fail; b=rF4m/m+iRSUl0/JBsAV7IgY/nEPCoxEe7WvfTS+gl7DXDeBIGrQh4QA3Ogzf91r6+6kEymmdMugxJrPpavN8T71acRo5M9/z/7q9HgorQfdri7t0blXIzTDa0QRbaopkeHVoASPo1vig0pdbzfhRO/p3HuFiKNjxaCPQMSGi60k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436219; c=relaxed/simple; bh=5e5imLt2wSWew57+phbECpCrw0lV060aU3f2g+jxYck=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WcvfDzWTrW9L19jKX/O0ge6H3qTvOs2Ux3n61Xs9ORfxPPNg8JXK5M/GlL/U/bky4T08ILuKUPH14S8A2A2PCJ7d2gxsEKoPASzesa2r9sj1pA8nkIjLXpD14c6AeTuDQbCNjOqzhkmZb22E93FzhweO1AMB4pH3x1uVu7LWhD8= 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=Sqi0KhWQ; arc=fail smtp.client-ip=40.107.94.76 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="Sqi0KhWQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=j1nruzTx1PW+DSCRitdmjwOH61Gho4sF+i8nH/sICrSTNfL18hdRs+s1eCXnjkfXivefuf0eL63nwbuwwSpFLcF0oyhY2J75tq4niaybEJefKXYBWSVZVpTtechT2bQ6kAPykksxHdx9BAgacgwrQmyrb5vv8HXhIsZF49BDRexV49LYKp/LR6Z+HJ3E3e5CtvuBGbcRxNVZAQhCGCSZ0Ppa8BlHZuWzSSxGD6ASQ0ATmpdo5Me9IQ9EUKvg8VnYhG0U76tv6QYABAop5CJp7Xc7iK6v+Ukg+tFSexQFniOFuRBIPsPbVPObpIfubqN0oqoYKrfJzixNQxZwPf+cjg== 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=GnRXfQ1EIZ20qADpWdVHETvsN2BUTPfbK9vPsgInU0g=; b=QVUvb70XClpT3NYsE9rPoN/UZQ2gXauB8dWUuC02vSuEYCPxPcR/waay7W/zIRjEjtc8CyN9QqGhkK1paAvQ1Mcy0Up1Ofql0ChDW5vhLWwCDUqO8F2wJAPFUfuJx6vqYwfKZ3iIk0fQo6kH3NqxneubQa35UzH852q7pcYMB+ygPCmDPBcV+WNaL/1QlSWT20kqZ322uNcblhEZ5F0bhVhc8p9f2cX3immJ9Gnl9RlarEXJ45D3fAkN/4kubtGG6y00ohBeCaTx7T2FCLq6kEnZzd63jA1rdbz+T6LKNLqaWUP5CTlXY7csrMTAxrAg05qXWvFmF8qegJsgxuCY5Q== 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=GnRXfQ1EIZ20qADpWdVHETvsN2BUTPfbK9vPsgInU0g=; b=Sqi0KhWQl0PRc9RvEj2DEU+tb0/Y6gb5JKCepnB9MYHvuwApfEBQr2fGIT/zW2RCB7N0xADDjF4SYiVCfaT5EokPejYIjkR5ItZMTA8pTB6/NZncWeqbQGA/Q41q2cxVPrO9/VyWZdZWL30ew7KP67jpHNoZ0P4N2KzW6VrPBXJxtqE+6vo4DXsCQjLIdjcclUyzBmwxYnWCAtgehJe0vSkvCkFwQynx4/Cl8NGiI+yaZdPZIPqSluC/qOBCzTeAx9xAn+YCvMfypWKiYWwYZDQRlrRWULX4W2/1JtJHbpv3VmaGFS1yNhqeXoTmaUTxZWeKDlLoexZHOVR6wAQQdQ== Received: from DM6PR17CA0024.namprd17.prod.outlook.com (2603:10b6:5:1b3::37) by CY8PR12MB7706.namprd12.prod.outlook.com (2603:10b6:930:85::18) 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:50:14 +0000 Received: from DS1PEPF0001709C.namprd05.prod.outlook.com (2603:10b6:5:1b3:cafe::9e) by DM6PR17CA0024.outlook.office365.com (2603:10b6:5:1b3::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.26 via Frontend Transport; Wed, 4 Sep 2024 07:50:13 +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 DS1PEPF0001709C.mail.protection.outlook.com (10.167.18.106) 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:50:13 +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:50:04 -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:50:04 -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:51 -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 03/15] net: sparx5: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:10 +0300 Message-ID: <20240904074922.256275-4-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: DS1PEPF0001709C:EE_|CY8PR12MB7706:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f167a64-7723-40ae-a1b6-08dcccb6359e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|7416014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: G4/RSJWfIzD+Qig5ghf6YZU0XtThGJnuyUDxUFbf+QJAxOnNw2Us2mQk9zcK8K5L4KcD3Y+8wGQ3Bk3S91yZ7tB5aX/1zs/nLAzXePd1K+OKOeip5qshtt+KTt8DT2ZL+1PoQ250z07kTXoMR5lP17kOCdfPvW0Vk6ihdMdH0YbEBVJbr2i1DxD8xYShJ7KHhgTj+8lUipUPvLdFpNTiAE4H/iZhtz7u1okmrXfh5C/m1BZ2yqquhGkivW5lbJO+IS1HTgOT0JfENdacxx+3SFhsotd9LXTP7bGDh50n8uqqF9QTFwJgB3J8qYep1hoNZRbI0dDSrgWuEYjuR5O1fAcy0H6LswxCY4CzjSa9KNeR1Q7031R4sCcB/X/xYUCCXoTVJr2nkCehzn4iFWmghZz/4rAEiEnNDSS5oWH46E4mkbGtkbvys6cIaf9g2Xq8jngoHkFyPHrPUO+jCNYH/N7aln6r/Zasy7UDy0wd+2oonGnj3FxKSZaIfLGo6gNS9QdoJIXYNF49bWQiahJ7bk0piDn5DdFJttjd+akuhi1LZZXw6C8k/O6lLMQ+pxVXgEdCq81bYxDbxwASSjINVtGjE7nz5v88FNRzlUNZy+b+pYorMcPKjK3WidgLJxIA66YjQLP5pnMO4in2ngd2kCb6fw8mD4GHFWqcFhRzsZrJyvSHFX2Q/f0niz3YwMVfumn/jXBPQKxalHuGIWK85PBXsUXRGWEk7zLbIn+5UUG0mZTbd8PvJRyrSdcc6O6kvcyH38zDoH3sAGn8z/UrUZR/Ju/Atf07e3PO+JvYy0ydwhkrm0G1+44L17eXwUUTAB7kKuCgqfp7n9p5fNltqKFeZbi/DZvM15rSWBsBBRioNzjIALcnb28Rp5eL2WeWwu3+Uursm+1PcG+3OvriVbppIQfru+RPM0EVBwJ3FrmBL4fF93xvMW01rMjL6pMk0E3yUoE8/VC0dDLMF6xfotRnsTby/4pxoGpcceGTlQIMf4lp3Puj83Lp/oCbC5W3MaQuuMMjXY5scf2o1pYgGJq7gRUQu5WXPNewZghebq5eTj7QmFls/TieVOIP2rOrAKcOg6/YHMlvGBTh9xzAUqPmCKzPsbh+TQsMl1A93gjmCmfCnR7owmaduB3kBFxaYK8zCO6bGuE/G+6bs+m57+CpOIRjP8BEYcH1SnQu+MIqFJDspPWF8ynVSBT+bWfd54H7iGcAm1OJDWm+ZaEw9oj1s+82EqQKk5r5OhSI3e4+Vds/MQQUOWCgo9Qr4Y64dBORywq62OnBjIHzurWA6lZ4vtZfw2946wtARUG7Y4Thg/qObeQQCHROpXPLao0NSUaBCYtdrHxsBb2Bcpa5QMiy0ia3ohbdPnV6S/HnSJAFNtNDSemDF6AJwxlywJQFFoJMiDueZ4ufO3mXShc1cAEqllRU+VStNm0vPQZkP4RLmv94HqzJZA25SODYails 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)(376014)(82310400026)(7416014)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:13.4376 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f167a64-7723-40ae-a1b6-08dcccb6359e 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: DS1PEPF0001709C.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7706 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 --- .../net/ethernet/microchip/sparx5/sparx5_ethtool.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c b/drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c index 4f800c1a435d..d898a7238b48 100644 --- a/drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c @@ -1194,16 +1194,13 @@ static int sparx5_get_ts_info(struct net_device *dev, phc = &sparx5->phc[SPARX5_PHC_PORT]; - info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1; - if (info->phc_index == -1) { - info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + if (phc->clock) { + info->phc_index = ptp_clock_index(phc->clock); + } else { + info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } 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; From patchwork Wed Sep 4 07:49:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789906 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2082.outbound.protection.outlook.com [40.107.93.82]) (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 81BD88121F for ; Wed, 4 Sep 2024 07:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436242; cv=fail; b=EU/QJi0ts7Hx1tqAHAruFDGl+mycJY0kySBT7jC8llEBCpMN18gaMSZ4R2e/aB/Fo7izqeeWO+xbHgdI+milqIPihkykFTLMzQ59Ci149YtKP0FnVtfnki3RydnT11lOzaH1z6MDW3Hlk0eOgh0ho3uHU7MN4pDiSCPbmOuLU7M= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436242; c=relaxed/simple; bh=uDA96t2WMEVu03YxoI0r0+BNm9kg7LvFL918+Eyi26Y=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ellUS5AQjkcsDS/AqS5KJVyZ7og25rgj92mf/bL6XM6DIyhDQ+ORpZsWI3IM5phz7fJANd4MJXahzszr65ZnROM5y037xdGSPj6c2rn+nDYC+YQrBR6prkUwCXLMoTTq5kDbyaYl1+2El9sEunqqiAeTBC8oVzpbmWEMODuyj8o= 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=T9TB8U3D; arc=fail smtp.client-ip=40.107.93.82 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="T9TB8U3D" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UrQGOTyuQ23SbhZLVIzLzKjRDcInFvC7DUUVv3pH//v2iMSFIGlm4VRmZLsj0AnOxW3YwjbYR5YP95eTdOTb3Wwyg3plPfaAZx3R5VjdK0ATnE9PhWLKKM6UGRa52C9rafK58Tc7luj35FyO4N5JUGrB8eKNx7pmcsW0yn7mR1umM4tsvIfEQeo2TMije0bJeCDO3CegHDqqd8rN96L2q4X64ZiW8/HrbY541dttZm16bpEoPhOvXQlGW4ZFk00/5XQccuXVVLiL2D+u9AHD18NIuHROX3fObQ3G2KaT0+J6iDKEqYaR3AenPAyc40yzgxqE44vc0F9BCqMQTUggJQ== 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=Utvebj1AMupXj3+axKD2zkt8cYYlJQJ+SdTElUmWvIA=; b=rKT+YhF7yHVecrKjtnai5b6DE0nktclq4SN4A712hmEClLtMaieJ3LWcqKASTYqMgJCtGF/1j8ZEfqE3/hE2x+TdjBKoCGFl2dBd1ZGyQPXTdToLu2Ayhbt3PhdUUnKcLIAymlLOLfIuUkrB9+MJiBQXfRT8XSAMYkMIdOo1kjbBbrFpzPBtGQO+TYX4SEQeZCr3SHB0HLv6t5g5QaqiVzZ87GGc2JgRvZ5Woi3FT7cLbdud1ntZR4YcPCbl8uEIwhVn/V626BkT07H2GPgXHJ0qpVzBQtwNzrAc66ZSl0FC1HNuZXmtsVT9j6by4Fa93ToqkiSGWWUD4RVfyOQ8JA== 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=Utvebj1AMupXj3+axKD2zkt8cYYlJQJ+SdTElUmWvIA=; b=T9TB8U3DImH6zvrz6BNKaO5q3oanhSJOgsd4vdV/qbxrh6ZdItt46jWcxsAx9/qVo1clidSwm+YiSzClur3UDL1ESSEWiTsg6AWkz0ZTPzdv+hEb9yEwmyOqzOfp9RYFKYZl93IRZYvSAMOOvLgKTabOTxWjiUIrWCHyTbS58pYjCRpjSrdxtPQ0OozKT1xBkltbxourl6o1Eqr+8iNDaiPtcV0plm6oI5gAmnmBQlHTSt56Hj/qeZjSp74T+cFkJfYXnua2GUsbVez4Y836Jyp+6a597jX+fR7gcGu+FshyuUs3Jp+9hej5c5xnYL3adXhGHmTn/QDr1XyjW1aadQ== Received: from CH0PR03CA0281.namprd03.prod.outlook.com (2603:10b6:610:e6::16) by IA1PR12MB7688.namprd12.prod.outlook.com (2603:10b6:208:420::13) 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:50:35 +0000 Received: from CY4PEPF0000FCC3.namprd03.prod.outlook.com (2603:10b6:610:e6:cafe::9c) by CH0PR03CA0281.outlook.office365.com (2603:10b6:610:e6::16) 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:50:35 +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 CY4PEPF0000FCC3.mail.protection.outlook.com (10.167.242.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:50:34 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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:18 -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:50:17 -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:04 -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 04/15] mlxsw: spectrum: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:11 +0300 Message-ID: <20240904074922.256275-5-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: CY4PEPF0000FCC3:EE_|IA1PR12MB7688:EE_ X-MS-Office365-Filtering-Correlation-Id: 25aa6d62-f2d7-4787-0da3-08dcccb64234 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|7416014|376014|82310400026; X-Microsoft-Antispam-Message-Info: cKLvAiTyY9FuNb+jq/mEaOAsC9WgUrmJpVUT420owU5bTBVt1p7ARhCGLIC3RLNYNCFboLGkZVdqbQALoJC40c53lM5HEuPDbs2Gq9+C+JG5PyulSw8hmpb+pXUaipHO5GpXDJqvllnvqPbEZ/TDcnFO9F1dAiXke+eBqNXEQ9wuOeNWDR9O9x6NYezupFuMJibGKXy+/lwcnph8kS4Xw0N8pSGQt1K8JJP8Hh0q0Xfe0oWrJWkLF/nf8hnkPxn7E/Ds9D69+FGBM85kXGvaEA1Lzl9uI0AQuIfHTh5ICLO56nHzBmjsSpPfNaCc2zIut5dztEdqhQ+Q7bAmFCXYIul2Opm1uUr4AO8I/4xHf3qFh43pljSV0JR5DW+B1yYKVvXrY/PM/kE67YxEwqKuiUxLGJFSaift06KQ0j93Myb7rNUIMsK/04PsdyOhgRJdelVecLfEJZFxH85jI0yuR7opvYuyzC605NSUXRIX7sc9xVNp53JT4/HEt6W/Oe2QA+m9l8ebz+jRWDM9+DqfbJWGTM8JZWq9DQt+snbOnFa5ffy7R9N8jj5ZJPnPdroC6rmBCkdlETOAxM/E6kqwtlbIlKbD7LfeYIBOB9WI0TvHsuVj1owLP/Zbo0oiUL4Rr0SaVIJCT8RtGU0R+ijdIwz7sw/2Vl88jKeyYI68LLrCNmBD+0x9g6IoXLHL5zScP6Ya1DEl2evKUMTvf3u9MYe05/2ZsZ+kHscfGH9J7hHDYw6GRVKCj0qN5Wt5H7iYm9L5DeRUx0gF/ySV8uamszy+otae3IauWJfzMk65CKzYDMd36u3GCoybYSoMQ5Hq1O6xgWEs887xgqJrrApLoovo0r2lk+ENjVZMwl7m+sAMYsnjn1Fz9nj1mrMbmp2tcrQ7aeKdOEgkf+5homa/Ll1nJD21bqKZlDeEZ6sjS/xZgwrZQO4Vj/3ycR7bRKT+fpseEZafKvK1fSOCXgmVEOPywcJeyP7a5t/pW3uYWRSmNf+C0ElhqCQNcOkTs4eRz6/PprLj++jOG9LVMjXq4nK1RXtJooPCK5E+veZIhcnjhTmXjGOQAsb7f9byCElHyhL8Ehn/vysUEbDSGnKThXXADZ0+EYNqMWv9BuQqtrHsKDFiaGjlXy7LL2I7s28Y7ACKvupmbBjhza1aWjvUMsvcIqiFA16KaiZeNAwR+aw+rlPw1qKHGnwpBVVhlmH5en30pEUk3bXhTfyMH/gwJAPMRQUynN/S8degDWtXsQeMk2XPB0rOtep4ZecJqr8ImvLeC5jO021w+4mIB++vBV+aEp9mrLJ8eLaYeEg60ckqUjRHZOo/cUZdOeVNIiaVdqjkFEOl8c9wbKWOmwsq/D4DcU/xNkVHimR2uSoeXc7c646QhWvF8yh9jePsj2dai/Qlaj3bZv2+cehfnOFoYyKIS0bTv8n7NgmX5vHP78w+cJKiS6s1+zBiGTQhYUOV 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)(36860700013)(7416014)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:34.5652 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25aa6d62-f2d7-4787-0da3-08dcccb64234 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: CY4PEPF0000FCC3.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7688 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: Petr Machata --- .../net/ethernet/mellanox/mlxsw/spectrum.c | 6 ++++++ .../ethernet/mellanox/mlxsw/spectrum_ptp.h | 20 ------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c index f064789f3240..b749879b3daa 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c @@ -2784,7 +2784,9 @@ static const struct mlxsw_sp_ptp_ops mlxsw_sp1_ptp_ops = { .hwtstamp_get = mlxsw_sp1_ptp_hwtstamp_get, .hwtstamp_set = mlxsw_sp1_ptp_hwtstamp_set, .shaper_work = mlxsw_sp1_ptp_shaper_work, +#if IS_REACHABLE(CONFIG_PTP_1588_CLOCK) .get_ts_info = mlxsw_sp1_ptp_get_ts_info, +#endif .get_stats_count = mlxsw_sp1_get_stats_count, .get_stats_strings = mlxsw_sp1_get_stats_strings, .get_stats = mlxsw_sp1_get_stats, @@ -2801,7 +2803,9 @@ static const struct mlxsw_sp_ptp_ops mlxsw_sp2_ptp_ops = { .hwtstamp_get = mlxsw_sp2_ptp_hwtstamp_get, .hwtstamp_set = mlxsw_sp2_ptp_hwtstamp_set, .shaper_work = mlxsw_sp2_ptp_shaper_work, +#if IS_REACHABLE(CONFIG_PTP_1588_CLOCK) .get_ts_info = mlxsw_sp2_ptp_get_ts_info, +#endif .get_stats_count = mlxsw_sp2_get_stats_count, .get_stats_strings = mlxsw_sp2_get_stats_strings, .get_stats = mlxsw_sp2_get_stats, @@ -2818,7 +2822,9 @@ static const struct mlxsw_sp_ptp_ops mlxsw_sp4_ptp_ops = { .hwtstamp_get = mlxsw_sp2_ptp_hwtstamp_get, .hwtstamp_set = mlxsw_sp2_ptp_hwtstamp_set, .shaper_work = mlxsw_sp2_ptp_shaper_work, +#if IS_REACHABLE(CONFIG_PTP_1588_CLOCK) .get_ts_info = mlxsw_sp2_ptp_get_ts_info, +#endif .get_stats_count = mlxsw_sp2_get_stats_count, .get_stats_strings = mlxsw_sp2_get_stats_strings, .get_stats = mlxsw_sp2_get_stats, diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h index 769095d4932d..c8aa1452fbb9 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h @@ -11,14 +11,6 @@ struct mlxsw_sp; struct mlxsw_sp_port; struct mlxsw_sp_ptp_clock; -static inline int mlxsw_sp_ptp_get_ts_info_noptp(struct kernel_ethtool_ts_info *info) -{ - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; - info->phc_index = -1; - return 0; -} - #if IS_REACHABLE(CONFIG_PTP_1588_CLOCK) struct mlxsw_sp_ptp_clock * @@ -151,12 +143,6 @@ static inline void mlxsw_sp1_ptp_shaper_work(struct work_struct *work) { } -static inline int mlxsw_sp1_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, - struct kernel_ethtool_ts_info *info) -{ - return mlxsw_sp_ptp_get_ts_info_noptp(info); -} - static inline int mlxsw_sp1_get_stats_count(void) { return 0; @@ -226,12 +212,6 @@ mlxsw_sp2_ptp_hwtstamp_set(struct mlxsw_sp_port *mlxsw_sp_port, return -EOPNOTSUPP; } -static inline int mlxsw_sp2_ptp_get_ts_info(struct mlxsw_sp *mlxsw_sp, - struct kernel_ethtool_ts_info *info) -{ - return mlxsw_sp_ptp_get_ts_info_noptp(info); -} - static inline int mlxsw_sp2_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, struct mlxsw_sp_port *mlxsw_sp_port, From patchwork Wed Sep 4 07:49:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789907 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2062.outbound.protection.outlook.com [40.107.212.62]) (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 32AFC14F9FD for ; Wed, 4 Sep 2024 07:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436254; cv=fail; b=KifHP2CuGme3Wr5bYI1XJxqVTYkN4iiUl84yZMYX0671X+xchyGOQyqq3QnRhmKjiJUO04vc+Yg59hAOyDCc96473nsvSWk6LLYBtHxzryfUMoOl5zNOX4Hz4f1E0JV8huviXApQWJRIqgqkFSaRKV/JMJNOMTv+PVARsKa0S5I= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436254; c=relaxed/simple; bh=Di8qmlgkZs/cJAUscKdClbZHX4xQwrQTtN+RLe3xMCQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NPeBsjUWLnDmsaOGMWfL322MwOWMPvY9dkkMeK1sh7AUX+/b6eW9fTTa5XIh+2zlSKEB9ljyQB3GhoC6c2oHa34Hw9NzCn4Ig/r8eY0pSXcuQFipCXFRKNU8meU9ErrgouIwxQBlNtx+00C8ia0CRDPOFgw7g1KvggEZBaN12/4= 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=Qfe+lb2b; arc=fail smtp.client-ip=40.107.212.62 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="Qfe+lb2b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=P99GHjzBuMjKCXSt98Qqzwzaw1DvhpJYk+13GNpeYg/fhWjELddZcsuXj8/8ETF37XIqyi/vAXNWcwOmw5OUJgCCJNPkKuzHUWT3EaE1VbvU++ZAqifM1gZk7R7/RqIofyuTimD0FSC5XxBqTu6xCC/1wp2Wno6NwFHWYGeXGJEAIzHxpdeX6F72A0qHsjXyVqGdm0NqZknqLY4o2WoUDBBDzBykoXvB9rHuafjEODElEHMV0H9P3YH7qpSWRo26VwZFGXL0Gn4s0yB4Vq4V/k+IiFyvXtFPCssyi45PngxNjAYvXze32OkhgOUnQaz0l2HNR9YMXiunjRK2iYDAgQ== 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=Jj178cnzgngp/Qw0zjv2mm4xe4S6vFU5g20T4anuacY=; b=peceVzEUp0QdRtskB78d+bAgJHhf0D27il3QjcLV6PbOvsx74lUTVQZsERWrxlon7Mxvurw/I9I1hsM9kLn+hztim5hbzjT1bADqlhasGFdWL27wrDJgQjiI1QZDlUkgSw0LbZ3tqfi2qiiWOm+1FvQKve1hCPRX/1hUpB90oTAoolGZ2V+scnKq6L5FTL7yN1hnLbEFdsjuteIk7wzjKZ5i7QnKhapNCrES5yO7ufAiyNY8/lwmuoVCna9v6Q0TMEjhTi+wCQUjzvP9b8Ar5h0F9kdQ1OAG2Wh7/FK664TxA3JBkZssm/ySNJeuUdRoG8hBMZi8rtOIox/8dGUzAQ== 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=Jj178cnzgngp/Qw0zjv2mm4xe4S6vFU5g20T4anuacY=; b=Qfe+lb2bH8Pnh3tz+mdlPDahxOIgwrIWqAkn3LZlYPZ73McB8gqH+eFHnD3TsSH0B9HAvX4NPaj+J3StU5/X51q/z1g/G5FZJn9qAR8/iYXMkzX3Bod5K12g7Umj+3WAUHMv/GYUqrmpYpI7qqwqsu6R+cutmreEZZM71Qs5+7Z1sIpmM7dKkeS8OXtMTL2CM7RCCnQvnqMEcZkAiXaGltpRHRi2GsBJoe7Tq/mGtWzTyNdFqghwZWWMuRaUKX7kPQ9Eeqr/hYW6kWKucZ+Vn56RIHzDvYW/ActKgux26waYLL06vVebdi82dIh52Y5oD8GndAnrZucT9/qcvYPWew== Received: from DM6PR07CA0120.namprd07.prod.outlook.com (2603:10b6:5:330::10) by LV8PR12MB9262.namprd12.prod.outlook.com (2603:10b6:408:1e7::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Wed, 4 Sep 2024 07:50:48 +0000 Received: from CY4PEPF0000FCC2.namprd03.prod.outlook.com (2603:10b6:5:330:cafe::af) by DM6PR07CA0120.outlook.office365.com (2603:10b6:5:330::10) 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:50:47 +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 CY4PEPF0000FCC2.mail.protection.outlook.com (10.167.242.104) 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:50:47 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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:31 -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:50:30 -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:18 -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 05/15] net: ethernet: ti: am65-cpsw-ethtool: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:12 +0300 Message-ID: <20240904074922.256275-6-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: CY4PEPF0000FCC2:EE_|LV8PR12MB9262:EE_ X-MS-Office365-Filtering-Correlation-Id: 4467b337-6096-4f9a-05b0-08dcccb649bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|1800799024|82310400026|7416014; X-Microsoft-Antispam-Message-Info: uDSiFgL0zXdha+De/TLbPgkL5e++gFq3qB89kXF7EaSHQhhRKkbFsWsgN7Tsf5mapv4Bt6Xg61gjqvPO1BSP0BMGOwOHAJO08yJyOVYD4SOfdO49nBun3oSxUE6oIlKcYPnRSRMLnBfbdT33X8V9LiXT8fv0E4bjzMl0W5UhQocaILObHyyDdLYtnDWF5NR0UO9pPDGQcLxesXmCymfLwoNkRfuaA++/PHCYxxsPwtug+7FgbsCGp3YdIzUJ0pMd6RI2y7bLSraDxT0RW14N8a1XzaPmqlt/RBUYPW3fwpuvU4rLB0dJChD3Rk4ZAxSOeX/90b3LpABDwOPQN13+Z5/lHAXZP74/3kKUE0VIj5TO3Z9iBpBCMDzBVJweR8fUf4CddbVJfEk50oHpu7ZmppUd3+I+GRSXsaXN5fqzlAp1WV9y68RuAANe6z7J850xFLLLKqqUbRGg9kqtRqfwa8jtSGYpgA6i9u05tdEnJnaf6W3wI011MKKkqqexBnqSwWHRy9fR/ClXNwg7uOl09YidihIHQsHs52UWl/YJsPpPs2ptIgqCzooS1t5kpGK0yP1PhNs/yqfFCjzinvFTwpYjhcN/4gXgd/+tfIaOjczZ1KnJIoZtcrMhEd7OTUi1xoe5UoruAkehisDRBemb0GIX5I0mueGgu7uD/2nBNxEclDAY9nwSo52S4IKqhQJ10iltiZIJoj0amzn7rwA56DzWublFC7VRm12AvwlEMEOjceP3wXj/oAI92pIJeRoVjlFnBwst4RK2I1/dUnRiVfk7IrtRVi4VNh6DmOhC5cCMhxhLK1yIjTPoKc28oh2NjHC+uHNFWyffk0Mziku8scbYsdyJoZimmVLFKrt+EWXSK18lQ8LZlfS19yDLjd3rtlxxHLfjuSQoQu6yhUnDmg9bSV7Z+BfYEObqXLzI4YGAiw8CgsKDih6tBYV/nlFUkemGIYwQPVDmquQy3gRxopb9V53S4E2wlzcPc3RGgn4hUMnJB63ASaxSQtnxoqipoBF0TwUwflS6QQYBZxU5V+CTAy4RCvIjEOnJdGhddFXJ4Ebcupf6VDj9nK/vnt1khkQTUXIuxZouD0jRF/xmpgjGeqyVd19eKp2UH0m0sSDvVJFNQnELD2m2MBmPB9mqWQyo/qbjRWwnwjYENbCHXo45ErHM2s7nSQ4cwO4RffTj8RpwAnEe9vyG6M2XgIGZ8ZlR/aROlMp8c9gxBWEUuRs7f4KElLYhXXlfKffjUiFIU6UoCXoLlipT9tEB5lapZb0GWXIG58A7r1CcATtMz9B/DhzUu3+7w/l+YJr4W3/mO64U0Whjo7/GNVn/78ka3u8xLgpjBSPaAYfFjT0HU2i/U6bfhN25XmfkvAM/CzosXDQrZOnxzqlNgcxtS3J0iC5Rzzkg9OV3dVWnl+Dk3bAcWG5RA1d63qaCQzuFvrRSXh39AgV1BRgPgODX2e21 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)(36860700013)(376014)(1800799024)(82310400026)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:47.2356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4467b337-6096-4f9a-05b0-08dcccb649bf 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: CY4PEPF0000FCC2.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9262 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 --- drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c index b60976947da5..539d5ca82f52 100644 --- a/drivers/net/ethernet/ti/am65-cpsw-ethtool.c +++ b/drivers/net/ethernet/ti/am65-cpsw-ethtool.c @@ -714,8 +714,6 @@ static int am65_cpsw_get_ethtool_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 = am65_cpts_phc_index(common->cpts); info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON); From patchwork Wed Sep 4 07:49:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789908 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2041.outbound.protection.outlook.com [40.107.212.41]) (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 DD9B783CDB for ; Wed, 4 Sep 2024 07:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.212.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436265; cv=fail; b=G9Aa/OlO1jHPM7ck6S9o4ILVzNvOY6OOG0rHuIJcOZUtVDyG5c4CU7nNCOU+HFIuFm309TZ+F3AQtW9l2Gvn5tgrbU4oj1ttwC+Frg2v10UZx4vh9URG+EzgkUdi0eyOrGjN6poIYMmmayC3PYe3WwfQhAe9mDEchG0mXR/+0U0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436265; c=relaxed/simple; bh=/jnahzwK6uJaOCsghMwIu91jcUje80RzJ82jsmquXjQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GB8JJd+CG+I4oCR+BWYcnBPtCrMqm2AB3l585m5uhVJ2Y3Hm1LejwarUboLUj5Bgq8AyGlZ2asVzYj7Ke97ndJINwSmZHKjRjO/pzvbsDGpx7ni/6t28OjNWA6RMaoxIKHHg2APOSd8DgJumzjE61J513HRW2tP1sXKM+J4HUaM= 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=d8yC2u2T; arc=fail smtp.client-ip=40.107.212.41 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="d8yC2u2T" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ySb5+gEeKBueVFskCZOXR9PQCJLDnjoy4zM7FwdMo6QPKT2mf0AWqVdg2TkSwbjjI4trQV5fOqwyfI1m3HCRsBR8mi3MO8nnJ1J5TxyZaY6rtC6XT2Lyt3RHcy6RVEIqM1AAx7Sz12tKyC8Ykm3J13UjchRYQInex+KrP2rgQaXjU9ShN4NgSKn+ruMfiWHNC4h4H3R2RSV2WrKoLNimJbHqDsnmeHAxjBug0grQiNXHj8cybMA+XGziO7aY3VNyv1gv5g8Ql02q+RKUkoQAMo+wZi0S81pXJZ1qTmiw3J4FUYrfY9Ep1BLzByszpv7TXR3J8CUJD+uXz1VXYcl7Bw== 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=zDjRAz1aj/2LgEnlYuWdGxzGFgaMWlqM3MkjsPGQucw=; b=uebvIcRkLrYf4V1PEtZDY9FAHJ7vCTdOO+COCys9RvvQ7aT6BX+zo2kMES5l03fH+E6y0Augvg2ekmISQkh0/ACaqoKt6oYghD2X8hBlQtAvtjrwfDrBi2mRTWZax9YVaSz5wc2maqnYATdX4PV84zy89E9TZgp/nvkqG/c8Oh/I1FmD2kxKbpYdiuFzU6G0EK8eSzyEW4BKKQib4bWstla+3lBiTa9sRNxsPqo9mMWLZd64oiir6ZPGzcb/9YoXDMIlYst+lmXZWxdlvr9cnAS6IGMn28X0aCDfjeRMdRpDWUajlKZ0uvwn5SOvxoSnsx0tv7z5Wz0nadnLt6sSLg== 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=zDjRAz1aj/2LgEnlYuWdGxzGFgaMWlqM3MkjsPGQucw=; b=d8yC2u2TTYZbm56krO3TgF5phE3ylqz/tKnLuJfFVhUAYiRgC7+hiASVTHVVolTIsFSfCRKwAzZ3vReYkFvP524ZcW5POADw3itFRlVn5oh0/D2CnVAk+WEd3eNsFa+hYZAemUWVjlbeZaccVOfWpLIGwn0Pze7o9Qb9L3wlYV66kgc+h5eLBnvUC9j5w4+jl/i56zpRijdYLhl6ldxZqLR+nw1F+8cjL12N+v/qrcJwaPxgw2H2hAvx8wyPeggteJbhl/M1uJJaB7NN0q6Wh2KU1oJl6i5GeVgNJu/E+vonf3ahItJxICAOoM2XlG4/cYn+tnKNiUaIXKWbZESJQw== Received: from DS7PR03CA0214.namprd03.prod.outlook.com (2603:10b6:5:3ba::9) by CH2PR12MB4103.namprd12.prod.outlook.com (2603:10b6:610:7e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Wed, 4 Sep 2024 07:50:56 +0000 Received: from DS1PEPF00017098.namprd05.prod.outlook.com (2603:10b6:5:3ba:cafe::e4) by DS7PR03CA0214.outlook.office365.com (2603:10b6:5:3ba::9) 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:50:56 +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 DS1PEPF00017098.mail.protection.outlook.com (10.167.18.102) 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:50:56 +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:50:44 -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:50:43 -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:31 -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 06/15] net: ethernet: ti: cpsw_ethtool: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:13 +0300 Message-ID: <20240904074922.256275-7-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: DS1PEPF00017098:EE_|CH2PR12MB4103:EE_ X-MS-Office365-Filtering-Correlation-Id: 0de33523-9115-4454-7b4d-08dcccb64f2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: 3ZmM4/k3/Y96eZrbQyiFl8uETRs9N0r4oypV5k6YcoA3rE7ciYSg5COLDX8u8cnXGu3frQ/lbwyEtfGjDvpzUpKfwT9639yHortd81e1/iOnOALpy0Q2HLZfgN0wb38IJciRmumfCXrg1XKumFI+cfUus/qdF2OOALkMoCJfGPeroZNSuCzbPXqjWUOR0xSz9Kzu8A+EfTBU8nd2OwmfsVH9v+mGaTN8Aoc2PhsAujwfXXxjyREBNEYOfaoq7MOjKfcFE/TztIWGNaLK+Vg2uAHOKKSFUt4NIvBifcODNORUgGcuesayKY1dM/dBLfGBZ/BSk7qlQRROouOGO1X+X0IpfbwpSctwn2tWhjrUGm07wDn09pSjcMWIN6VXH/Z/oWDN7GC2xMnos3CABHSdox7hZRzc/XW/H8FTLzwp7NziXzEtpqHCVBzkh6mximdw96AIPgO1v3FiMnIcYg+oNbw9wYSXjz5QeslKezSttxKK6E/lVIQxnwALyazmvggwdYY0lbih4uINHfdvnIXqepwivOI1h/WlITktynd8LSDpGTY2SJNJ2xkKsdu1I8+RxPSXAnNMJAqHOhhppXmkM/bDo+OkLHL9dkbSEyJHhUJYQdbZTw46Oe1q0xBEautJxq/dzwy2e+qf7vP+f9VULV2+KBIN7nc+EpXUXIJ+hXU/B1T+q9mPFG/x/Ok5o0XKWFba/zDE2qly6gQZUt6QEcNcfVyCGwJHqVxIMWUkdedDhWEst+3Ju4QQLR7DavZBNdBACJaoXafxgEEkLDEelPiy/ew5faMzCHdGU5TAX11DJNaSS4pDvNBMjNqTpd0Z0xcNIcLOQQfRtlMb6btS9UgGwE1Qa5ssSg0+YGfuKdiSMPgg5d5+THWl/qrCoesskYb5jDdWdz54R+fR4gT0cHDeKoetdDcJtkRguSdjX8prBWyiXynKNPCzRAEUP8av+XmcEPn04bRrvTc89mf4nPSvDgYWB+PkslzDT7A2Fl4LCcikhlo6xbZ5npB8PkvQhbk46z0ipOBDCKk8Se9hG73Zq3/fjbCaR4BDsqI85dxC0ycAW80D8xlpHhTnIrQDKVSz5+Zr66CfM/CwLfI90KxFRR/0kPiAU/omMwSgpv3XWWbvZ1wnXZPAxeHcKxrr15AdPEG+Smg1MZKZtuss1eUXmi6D/0UJiDslGCZ2cIP8xcpC/AteNd0KxMJmmEkDSzSMjlicuOrWaD0Cizs0FnqHo7eXcaLYGjzHYoUZFrXR3eZI1jFyu/zAp0AhVnx0bD5z81tM26JQNficlzAuKBxwixdvWJVoVwpzOoP29fK5lK3JmlBJVv2Urt2HkNPqcu5fQzM3GXI/4Dx7WeoUvdULuB/Cz7aKtC9GqxfN6B0Ps7PtCklLlqaPIi1y35W+684b5DreZ546ox2WWI6A029N+Lr9v2yKIAuRidD6hzqWVkj9X8fevaoPzJHtCk3/ 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)(36860700013)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:50:56.2659 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0de33523-9115-4454-7b4d-08dcccb64f2a 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: DS1PEPF00017098.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4103 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 --- drivers/net/ethernet/ti/cpsw_ethtool.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw_ethtool.c b/drivers/net/ethernet/ti/cpsw_ethtool.c index 53ed23d68722..21d55a180ef6 100644 --- a/drivers/net/ethernet/ti/cpsw_ethtool.c +++ b/drivers/net/ethernet/ti/cpsw_ethtool.c @@ -725,8 +725,6 @@ int cpsw_get_ts_info(struct net_device *ndev, struct kernel_ethtool_ts_info *inf 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 = cpsw->cpts->phc_index; info->tx_types = @@ -741,10 +739,7 @@ int cpsw_get_ts_info(struct net_device *ndev, struct kernel_ethtool_ts_info *inf int cpsw_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; 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+A9O7FuOWDyP8OcPXbONo9lK9nrOOXuPRaPWDnmVChmFsrKzWdpyW0v1M6T61Q4ncOYWODasoIlz4hguwTo2GBJYbfvURZu4m+CPdSBTQALhH+JsXBaeDImdoSQZprN30fgFyN974SjU2hqTUhVht794JJzom/FzIxicEPkSkxD6ZtFAA7F8rT8B6on8z0k/Sr7gjSt/0AjJbpv3IFQ1K4wY5Ft5AsOdqpDW64vF30YMWiB5Y6he4u6FdckquKOV5/LD84f5m1Ey38SnXW0zHQhtasN0C/hH+ZE4xQb2eUuFF7+WGaDsLb4iwMcFMOUYR21RECo/uK1ae+eUGP7ry0wnU53ri8wILOFZc5h4t5CeAF2Jysj2Ho4AuvLy1Znkm7/z+dyUF/WXWgDU5qS6uVfCdtXbFJaYjBZKulJq9umZCn8j/lH827yCK5PxZYEY9jlum0XaApm0CxYkj2ZonBU0qhkWvu5YL/NYB7gjNQhxvTgQwVh+BDJFV+3Cud2HobThHIPKdUXN+CHfOcqi4yDV8FlbdpDZv7BwUeK570g/VhYKu5boxQUu9Iq0fJO/61wmFLirvU3hIkvfZ0ivHW7l4E7PSPl0hnbzpPIg7ON+/cyzaLxiC9jJSVloY1fNLEi03bpOoi8L7J5ccWgbA//9OeZ6iTa3aJlxoy19ugz7sgUTUOP/mz5tycJu5U5/AngMis3sL0TfRXBdO+a4cH9joLyng6XpdaYU65kQxzbq79IQg+rWeUAfghtF/dFMTOwCAq4zGzBdugOCLJ+t6RwCYTt8KseHoO7/38lwuuvYCCqJEquIEZTAzyKNy7UTSW+vY3z5xzFS5X7X2AC2SMt7iDv2K7K+AdGMEW0uDsaTEHMHch1fqru8Mrgm3+kSszwAES1RJh8GkCVpOxESxkeZdOJRNkyiy8nVeESuufEXeBaYkJRKub5qRID60Mgu47nh8OgMSbJGAZPdSEFqKFkWintLu4aDJscT/jd9pkZkcGX8/EXmwxqO8RAYupkjD04jP9huep2CQIF0ixYOpENtcbeFYSq6hWK+U9FkM+VNfXYKoDUTrfo3sP2Ix4kQwvh3xiLCI5SJMSHkMxQOrLu+2vUvusqt3g0ySYlu4Aaqs31NcT1atQmAtsm3O2zMT/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); 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+mgEc0cIwIGI0bYav7JPxU1MtzS2w281vkZDhtHfdXr7NVLOrFVDHECtOUxQ3ecAG5Dz4ywJ1W83QC0I78Hr6QsVJHlAoyr2+w5EjVNWrNI2EnArn5Hydmqg+yM5xL7DecPYPlwO/qdlR8GfiFxDjIZunNF6DPoK/Pdhtomke80ax2UCvH6HK5+Hai4P34z6TTyOzkATUmBg6Wsn1ijqgxFSAKIzen+Te2r1iPSkXL5RdexSYcuu5JZdj8stsm1Os09KHDHFQJNHxi5kP8AVIdGGzDP1OBuHQOXuH8Wr4sjaICvCuvsTY/F8cvdUmARWhkZ7BDLZC717Ts0t7ENx5WPVI0HZ5wq+/IecTzBGuFBjQu5fQ6KdOrVIbaxxnwhyf0uA1YAKRElCToTZpB9HmRXUeiFESkjN+cPr3LkCmuR4Hg96up/9jhI+6ZixiBno85v0BvuDFqziX9AmnB8VLr0jtdE3IdPJygEMnpS7NxSMSlIgJuWHUgjSU5nZOtftKNoXYyn5BAC91r99xF04MhKL7f994lrp+Hhk4UwBo7niQcunurMIDy7DaWNzvZ38G3yAk8lWB2q0bkj68h5OH+S7qwIzUkGtC55nf1jkmlX3NZgySEAiTk23G+RhR63aW9qaPiCZa2NSpDpytIYeGE2zbRRqt9RyGHXVLt5Kuqlu40hLfpJ0vqai2xMv/mFNBC5vdAILK1T30zIFx1iqvgwjMH1ctfr8+hYuD9aZ6UyVtLDNU9uKSABMu9nKc9u+GytDZrFyfl64AjUxDnOwQ8EVtL9l0fWkeR7shux8lADImmuf6u0MakXDqOo3/mXWMAcTd/yKDpTn7xz08aJpsWTuyl+mofNkNjMPdJD2Tdu8a8LWu2WSg8S3kKc5kjdKoZRZh0pmRZsoIBODyamjbR30uj8oDNrFIrD+c40Z4mvjgmcDHW6/W8DaUOKpmwvDwUmbzSUVlSP8tm0f1SB3b+fPcX8g6dGT3gznLQrfThGTvPYzyc1VG/uXvlha5YNGWv6udZplE2eLYFI20oVO0a0uXuWi/wC46qyKh1bMB6ZLzsZKTI5W9VLNsyv3Gr7Tmq5GqDBHGAF1HAOP4nKVmSlxAp2fhQiBlQy/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; From patchwork Wed Sep 4 07:49:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789914 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2082.outbound.protection.outlook.com [40.107.236.82]) (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 BCF7A1494AB for ; Wed, 4 Sep 2024 07:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436305; cv=fail; b=F+g96T5gWwoaBVQV2JifNksx6zKNdYHtLJgGBoSGE5IkLv7f709Q6oZ4YDS20k2y/pxqNiqJpEAROwcwTmGeiUrCI2NpqZqj9CmMoIojKuWoWLE1Q0d2nMZ6pbNDERSRMV6Ycqqe97//OX0mfDWbsqqZRND/G7fzCec1cbxlARA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436305; c=relaxed/simple; bh=pVCzAYlHvw+POnnKlqeN0LaB8PGg6FbQCF/N6Bv9K5c=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VsTPbeCLtuHAHE3BzclH8/1Apdc8ZfOcI499w0Mr5PVCG8eBB5OUJ/oOO4FMVmBLHErbd7YZYEd+p5IfABgSzeGlV0ZazPnDsUtgjfPKYFL6OxXowqrcn0FnzGsjIzLYgH9aS7nF+7YK04KDXcF1uecswmwj2e0imj9NjkEhcX4= 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=GPD8wDzI; arc=fail smtp.client-ip=40.107.236.82 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="GPD8wDzI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZyZwoBDdxhUU+0Gx4Ev/I8jThA766usoeTQP2s6hWrbF3/fsbUSObj9seR/9fu8TNf5EpIuJUgnUqu075OZJABKkhhTNVO8Bvl1Xhnh7jQEQhOSJ2ur8jCMCMN6cfsd+HhhiTy8ZYf8DyoivNb56RdFAb3ChC9LPKf38Z3tAL9v+QN0/UbqIbas57hl60sTpugl/+V+4zZPWy1GrvPoXTXLoDV+f1uaxr1A4EhRINH5S/1tqTTtuugx8r83LPK6oFitSwPaPnbq4Qg9qCPqrlvGYqDuFfz9qrZR8CoSPdVujYwsDAo8QH0+993G8UacTy/JLgAnQZ6XO9vxiJxUD4A== 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=g+MHLMrSk9HpmsF7/iiAoADt6Qp4Xs+tnCbKzG1tkQM=; b=NXryOZgMRuGsGbv+KIe8/9MhcK+PRdLsSVam/BInIGrDvWnjukzNu5C8vRM9koJXA2TOpyq1N6We36id28jirCCEuoGgdIj6j4DyrclZJoIwTi4jr5Asp8pnFAm4wNiD7yDyl6HUQxLp5CTOnrCIOc6IFltZWJShLyxzATnk50YVtMXkMUOPH3y7XQiaDjntlCAd+AZ3sKe53dPO/lv9vJhIf8x3ZAj9VQfiTvEC8TVGyY+J4HXz7PzqjJ4Iyb/LxyKohf/JW+3HPnxcCRLmx39MFPxJGUWNxtaApiAHISZtFabO7w+/ZLlhlVzeOcYirGJR7XdQB7jnD8zXkTyhvQ== 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=g+MHLMrSk9HpmsF7/iiAoADt6Qp4Xs+tnCbKzG1tkQM=; b=GPD8wDzI0GJ5BorbdJ9gFi6E1IQ8ihGMQ3bIjZJjGRX8+TqRHlWaYg3DPlLRmnDcIE9lfvxDOdpldX0DcckdLIcYSTanKajGzOTFli+d9RwkUhYmsOOLZQAb3Jloc8lYnhAYF04AisDuQbWukNPwe8rpe+eb2UueijbegGJbxSXeffCHmASyoVyIIfPbMsJkFN85AqXdkGD1h9a2uLh6Nq8CzSEbFbCnf1FLh7ynHGW9eJafh/MQEUrhvldzdsWnXdMiEORfvYcmgzQYUkzLDv/96Obzh+LA1Tpiq6br/7s41c/8ueyNXQRm0Df1cgzH6CQb7nWTo+DKb6JjWaMakQ== Received: from DS7PR03CA0140.namprd03.prod.outlook.com (2603:10b6:5:3b4::25) by SN7PR12MB7348.namprd12.prod.outlook.com (2603:10b6:806:29b::11) 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:51:38 +0000 Received: from CH3PEPF00000015.namprd21.prod.outlook.com (2603:10b6:5:3b4:cafe::c2) by DS7PR03CA0140.outlook.office365.com (2603:10b6:5:3b4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.26 via Frontend Transport; Wed, 4 Sep 2024 07:51:38 +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 CH3PEPF00000015.mail.protection.outlook.com (10.167.244.120) 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:38 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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:51:24 -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:23 -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:51:10 -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/15] i40e: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:16 +0300 Message-ID: <20240904074922.256275-10-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: CH3PEPF00000015:EE_|SN7PR12MB7348:EE_ X-MS-Office365-Filtering-Correlation-Id: 21776187-42dc-4360-acd4-08dcccb66820 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|36860700013|1800799024|7416014; X-Microsoft-Antispam-Message-Info: ReoEjYf+0Ph/yNs/LrAWdBS5XKlIMLD4i9apkh9GbKvl/8k8oze2C1RhSAsijuutDjG3fsaeWzXmJZkNj0Lt+Yvy/ibgn8XyfV4uaSi7rCPqXq+5V/1FHXbYiEUEWURQZ2U2bNxJcy+3HXgD3lIoToDWPGLfslC1VSlUTUQ6O4p+LjF1gXFoFhXEgOsjpb6ZuStPUb6erT6FPe4nVsiRzeQW2BIF5PKbgqI9zmu49+TRMlsngYcUdGQM4vGgJb9xETNFqIHk+GP92WXmAUsj3t0qjkSVHXDCZs40Xp05qpJpP+J5Rbzc10QHMsAo84HS4KAm0/epPjgh08gzEi0ltUSo4tR+Bls7DBP/DCKuoGTB91ybDQBsRm9P4/VWya5IAb/Nr7vl04CrRtAJX9g0mRv6MZUMrpNCJ19lv7GjP0YZRWkI9NLEE45vsej/X4FRVRzPl7d178+P+/NJZofJLbCIjOs+xzWJ3xN0iMPk3BJx47tGer0zT3HoWt0aNVcuqG/iG/DypKzEGZ7gdpEyz9UsCm0ZYW2iYvYo+pIXR5LMKSfYuLiiIULe6N+gmKVp1p9HBL9lJS3BVfBDesKgwuwzs6BNAIrI+WDXPtWlFVUWmCkjLPwUKn3tWdh0uZVILCGjx2QY/joAGMX+zjaJg1/E4tVC8gBj0ieHRUSyuVNOXZeq4E2By0XMhw8DLzIvn1qrhgci0e0ERPJb4A1ZuHi9F+9EC2ULL2Y1a1dCNdHXmIvhSp6EZCyUlf+14lrNikZVEEx8+jfn8VKwQuc07cvltPFkB3ZF9lQwkytbqus8r5sul4CEwavAzipqnxr/RddRwcfhpalILiiC/W3CGCw1iGsgWG/l1rpwIU7NCjVW8d+d1Uh5O8JydarMAgyZrOrSm2LVe2kC3uG95GMJzlS3jgY3P1q/NarX6EkIR3STZn9IURXOx6EdygfE3nWdb4PW3BqMfNsimWplR1vD/r6hcQbCWyghGvBMqhQBR52MuWHx5cb6YE/arD9y37r893VIYQTPVNtAS0mDwz8ebM0xFmgTGJSR4/DNFubex0XUeDfzimczvqZcs6GFCiJw7E8M1n0lisJv6Mr0OriFQNjpuvBtkgK2k0wOMjCR6ecpXqu36eC4q8AX794Nyw980aoh5w8HEhtLVGPjcCzLZBtdpdvWE9owZi5M8sIaxahAWyFpXu1afH9duj+6k4D/dQ22JIx5InDNY28krBTtKxGOX61KgduL2d8cbKbCUHmJdR4eafAP8Ah5mAwlhktS9Ft3OWn1OpumnnNkPtHQVWRgvdI3t2ApFhUzwq0vgY4TrMBIbYMB2H1gZWbQOuLHuhLDoIAzNDqkFyyHQ3gbpL4Rt68lHLvuQHvVSGKD7epYxBiOeANNLb4Z5e11/On8ax9+aWWk5ViZSXIQ3hgwJwLjTg1eOAR3irMS7Uv2KmLxkRiY2JK9hiHB1iOpB/ww 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)(376014)(82310400026)(36860700013)(1800799024)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:51:38.1447 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21776187-42dc-4360-acd4-08dcccb66820 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: CH3PEPF00000015.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7348 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: Tony Nguyen --- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c index 1d0d2e526adb..2e57de16368b 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c @@ -2555,16 +2555,12 @@ static int i40e_get_ts_info(struct net_device *dev, return ethtool_op_get_ts_info(dev, info); 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 (pf->ptp_clock) info->phc_index = ptp_clock_index(pf->ptp_clock); - else - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON); From patchwork Wed Sep 4 07:49:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789915 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2073.outbound.protection.outlook.com [40.107.236.73]) (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 69E5A1494AB for ; Wed, 4 Sep 2024 07:51:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436320; cv=fail; b=VbEI16+oO25IYhgjN/PYNDV+1TmAhWeRta2hem5Bj8wI1yGSQ8sk1lsOMAnJjliCyAyv8uUDrQZWBY7Eyv9oFAFEPg/7NaMGp1pVpbjY9wCykVsr0P3uMdAyXGdBOt22ggIAGHWFc5sMbTAxk+PPD9t0fEH4N+TqbgQiCEEalQ4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436320; c=relaxed/simple; bh=fkB8gCuIioIW2TEyvoWy2C/gQnsXxQvq65CVEUKYmjg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HIGNErPZP73m7qCxDtXeHL3nJFIZEd6O1Cie+WCQ0fY0qR9k7nQ3Ejin3VlwcHNtosBnmVQd1QGTXHpPwoHfYRYWqWIsomfrqaJheAQAC6R5KcjfOvDH6D4fYazuFBsVUj+8aPfh8QbLgAFT8d+6Jez9hWDDOmUmxeyJmu2X9Xw= 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=PKVUUEZH; arc=fail smtp.client-ip=40.107.236.73 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="PKVUUEZH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YbWyeG8vuC0fDoEogr744e/PWYqB3XtZnqrrjhKfUqHFS/Xwdfl5AJWA5BWzH2rwEKcZtdAu5EZ002zLouLyafyHnqAreMZi+oGjjQ3sNR+PaS381n+5J4WKkElRsIaomiY6+QqQVS9MOIzcNClaiqMsXXTJL3xUFktC6zECCwQWFddpqZLDE2ew/YFh/Bea78/py2WTpaHs74Q/il5ecG/0pynKZRlXGUFQu4BFpN8IsBeJ+jLmeSJdcTRzrkEbXM34A82NlBPN/QrBu9Bg1BWtOtePYq+PUydd1kKItiQMkGs3CVAt+5FmioPfPPVRjoqLd2ILTf+6CxWycKWa5g== 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=f5UY4GqlVzfAlFrAipzA77mr3kTzSkgwACED7Oc9S04=; b=eppPsN7tGXwActeNRlShIwiJboVzuVPAUSuM4gKFwjxUf+033JHqKiPVM+2OnOmmhaDWuIhD6mMIzyFvp7/0mCgynY5R0LxwbWidcGVrSENzXVhs4kMCShA53+yyeABSzXi0SjhcQkTQ/AyHlSZo0biETW+7olhW58UrVS5R1UATX1ghcCL7H9Cv0WGkJfK5Oi1C7EL/pXZQoSrlZmQI3GJIGtyVmfVkrxD1Z1HxufVuy8rLWofJIHKPXbe/8ylk6yzZOZmIudeGo3vkh6kA5ku8OgaftZvMKUJ6gVX7PMlxMbU5/iV1hOCMnMDm13DQcrPax1b4kEjrJbB6blMjBg== 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=f5UY4GqlVzfAlFrAipzA77mr3kTzSkgwACED7Oc9S04=; b=PKVUUEZHzf60+UqnFmGhGm9EOKrb+jP4hMuv/+InUz94ikqDjYm2VT0Oint+9vTz83TcvGEbjSXjBjE1xGc+OF6mptPpaQE3MkgWXDAJRjNK03PaKA4+66VlbI1fBH99jLll8Y0bE8UNjyB9QSwWWkogdRRnZBKnKmY38+IquSjTGhHOIzra5vRuQeJMziLc+mmlxFekNXcYvNHVjpKswB6e/Qa6QY7Kf1MZYiq25OO24WV3Rt14AztC4NK2O19FWKBV2AWzAD1jASrHOwygrwJY6YXaikBf9ArD9/ZCNzj2nPXCVCcUSgNuoyHjwEPHo+LD2JMw4XX6tABPHZZRgQ== Received: from CH0P221CA0014.NAMP221.PROD.OUTLOOK.COM (2603:10b6:610:11c::12) by MN2PR12MB4174.namprd12.prod.outlook.com (2603:10b6:208:15f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Wed, 4 Sep 2024 07:51:55 +0000 Received: from CH3PEPF00000011.namprd21.prod.outlook.com (2603:10b6:610:11c:cafe::dc) by CH0P221CA0014.outlook.office365.com (2603:10b6:610:11c::12) 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:51:55 +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 CH3PEPF00000011.mail.protection.outlook.com (10.167.244.116) 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:53 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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:51:37 -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:36 -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:51:24 -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 10/15] ice: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:17 +0300 Message-ID: <20240904074922.256275-11-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: CH3PEPF00000011:EE_|MN2PR12MB4174:EE_ X-MS-Office365-Filtering-Correlation-Id: 1370e5d9-049f-465d-0850-08dcccb67206 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|7416014|376014|1800799024; X-Microsoft-Antispam-Message-Info: /vuyPrzPufOsenO4sMhJy7cP7cggBRKsbB4rqRN54Z4nK5nfYJ31aXe3wn5rwGUROh//qwbEn970/TFl4EYtYILkLVIdWDy54J7knfSMLXGaF6YLlIkAB3HT4TUTCZnlSgmoH8chhnJxwqZS087lyea3pSWPYQhKrVcypSOFDOnnQtacgzuaT2ETxw9FZOb7morSpk3cvjgb0MzXKFUpMp0VATgH3jZt6CTsxtcF7M5c5/2XKu3XdfuBV7X7nj93aQEzB7PAYiW1DIqCSudogXh78NocaU7/WL0l8BtdKSkVK9YsSOsPRaaDUABmfGi4cXPk4C1bZmotGgDcHg7I0uPnExBMG4MmWkp9e0onsyDuaGPlket2gV1fegQduo7FyOh7r7jxKGSdyPT512TnAuUqqSa2Nss+xjigZsnu22GPXYm9wgWXCnAjUkY5+69XbgNPAJFrInJJnv1H7vxpo1BFVGtTZ7q1zwvHSie5oQVSaJshoUa2HUoGbNfSo4mAL+HzJ6Qiil5z5Zq/3tZcAZZk3P8boNQR4CyPYs2DBosFlm/R8zPBzxzwA57mNmNeKpbP49Kw2A9rkT5MtzXOdHFsGyzptdOrU3n1WDKgjE7/MCaAySMWDNx06/UcsEP6ivohZ2kLdL9koOxu9bGgdm13RhNiSdFb1X0zu75NBhP7ROx1AZeiMZzZecqEICcyW3clT/1EsRoPPxsmalvkAZo05pIc4ybWNGDRWj6fRw8UMjJenML8RCR8zWwES/U4uZ8b3H3iZgbw06RKCfi1WqfbUHYkj75j86Qeql8/hlRJUUXnA5erHFWMvVjM2cyFS2mIrOq/i7hoeyxC0OXKZfpuufUgnt6wOZpkPOd/R3fJQBFSgR3sj+/qFs/qPAT0zEFVYNSkHR/yJLeeXhlsmpEOkkfLQVnAQBDKFY5GhpyTB+ShjO6qCTfbRPjY56d0/xKzzbYcx3920wzk5UASnzYUcolVHz4L1MJkao+v4ed4YvN2wcl363bZsQmhtoiIjEnk5CGk8jx5vZLYTlfttmpbQJTCKRqJ4HW4M+24GSnf768v9dnyXGWJ4uEJfKlcMsCXYtBbCQQ2N9s8re+vyudmP3TuH1rpq6vL9w7OYv4nYhwAoiL9m2OWKM6r5XqU0SPMXuldUGrM8hqTAapKeM+JNzEE7qd6lWLRms6y0GZtmGEkkE7cfVWbh1aYyvxsY472HLw4CoZH4jqlY2s/WRdOltyEWO3vpzZMEqb2VWm95m/M+JN0/wJWD9KC8Bq3ovST6XvTVKGpE8XzCOt15JkMPu3hS95WjxwHGkkoPuRNt4gkeeXZ49WZ7jMx7kee/+9gwsvfHTnPmpXUKMOI2w0vv5NYmIU4M7M6y7VXRerCpm9LmT+OdDJ7H/GtjB1baK5TxwQ9GqhfK0gbGpf4X95z6TjILxCg0bAkV2LCVTNUAURZRxk5iMsCUrTrrih6 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)(82310400026)(36860700013)(7416014)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:51:53.5286 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1370e5d9-049f-465d-0850-08dcccb67206 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: CH3PEPF00000011.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4174 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: Tony Nguyen --- drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c index bc79ba974e49..8a32c225e22c 100644 --- a/drivers/net/ethernet/intel/ice/ice_ethtool.c +++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c @@ -3792,8 +3792,6 @@ ice_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info) return ethtool_op_get_ts_info(dev, info); 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; From patchwork Wed Sep 4 07:49:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789916 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2052.outbound.protection.outlook.com [40.107.243.52]) (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 9383E155A4F for ; Wed, 4 Sep 2024 07:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436326; cv=fail; b=kqkd1Btn00HetWOBPJpEo97nWv4S3xj7ZQKPcYVuqHd1KgbjGxVS3/SYKSb4znJgzvD/o7YfNUkJYnM7rOdhZ2tgHvolLDwfIxj2HYTDjb9G1UbvaYjOiw6bvFdbk8cINcybcHktFf0dvUeEdUxSquqbI3uJMsSZIE24fHt6ejc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436326; c=relaxed/simple; bh=VuNM2RokQvzGLvXBDsL/w670+Rwb8iKOzmSHJimHQmU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HqXgd3utc7hFTFjcoZHc2Mgarn8PlN+vs6wVHjwdxuhKppzDkt5oP5H4qOsKMHm7IXtnlTaJmLWTy4yAergDjXtMxXGLeRu25f4vBjBuHgRDsCUc9rCTa4xFXoSxBGny8pD9wN1VhnftbqmjTRVwqQmIFLtLwcr/m5JKwQHJrzE= 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=lzlUIZXQ; arc=fail smtp.client-ip=40.107.243.52 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="lzlUIZXQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SN+/iSNVcGJbtuWgAB24kefJ5D4MfXpXq5HB8FnLzleX2Gb2yBIVsk6qOsprmzXWkozPi84Y7vGc/Xz4O9ycyg50f2e/ErO08vQPGGzixiB6bxL3fkpFeWbqV6rZziMWuLwp+rRJ+Gielmi+13RLOfQ5/0XZD7nVmzPX2d0WFWABW8iLv4BSQNxT4M7VxNwkpbbF/qkrE198fYzAApkA9ciW7bbk9Yulu0WtZ6lmis8WsbELSiC8o9cqS5vkt5dOf7MP7iODuSkNETMyRVX/C0tQPWp4KVe9e/Z/qNCD95qbkH4R5CBMnchRwOS4qFcvHG1SDt/9/MraxLgqTUmhWw== 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=0bgGOZq/53yGzqCvn3p8pXH0Sve5eUIfmPF9/ku3Cpw=; b=krsn4hnY2j2PsMNy+Cs81CEF9RqsHEkALRP+NssWxkiPRSMK11wJizZ1Aoblx2wnrqLKnh3Xj+Fdos9DSroXkSyv0o96xpROjFi7sIKFOiPwhsBcL8E7VPyLwrdTNUKXH69lbtF462KEM0MZohFQ6WmS0AUdpG5aJDbBPYRjNRapfPz6N/rs1E2exJHTg8AMqEPvh6YCKd81AHngAK2LHcQwVVKa44AkK5O3rfWxZMsDWJqAe0gVC212S+J0IJCSJyoXSjFjfGu0dQbY5X9uX5c5NZnfe5mv/bmVetzMnxSwYe3/UbV3l+fkQvShdMTzCxgfntf8iOjw7spLVOVcJg== 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=0bgGOZq/53yGzqCvn3p8pXH0Sve5eUIfmPF9/ku3Cpw=; b=lzlUIZXQIQPC6VD2EXju1yZES3gZnlAtB+PrQ+eHUBIrBkthUFMbj+6IXR7KJSevwEMVmw8elrh3PqCd9BxvNr0P0tk/GtOfAXSqTGZb1IEPDE/22KqC3Yw7r7ifk2Lo4xRK+fCdPiCnA8zMiD2PKx1DupX6CP6lFVNzj6mwZdfNb3Fu9/dOTqGjMo8qaTFcBSz2O80qNIC5dZH8ybvITisInJqrMWQ0QjhEOMHFOBewmEQ61gQWkCXSklUblFBBfGHNeZviW1bPT7wrOYssxsR492guABSnUoB/9oEMCF0256jSntXpdGS7b0i2VpYrhBsZzP4uP4pkYfzfYVG6Lg== Received: from DS7PR07CA0011.namprd07.prod.outlook.com (2603:10b6:5:3af::22) by SJ0PR12MB5676.namprd12.prod.outlook.com (2603:10b6:a03:42e::8) 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:52:00 +0000 Received: from DS1PEPF0001709B.namprd05.prod.outlook.com (2603:10b6:5:3af:cafe::4f) by DS7PR07CA0011.outlook.office365.com (2603:10b6:5:3af::22) 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:51:59 +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:59 +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:50 -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:49 -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:51:37 -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 11/15] igb: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:18 +0300 Message-ID: <20240904074922.256275-12-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_|SJ0PR12MB5676:EE_ X-MS-Office365-Filtering-Correlation-Id: f08ba1c8-2a0d-4995-f5fc-08dcccb674ff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|7416014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: txb6h4hhFSIqCuJEI7Pc+8RUozo+E52rI//Cq5zeeAInPPI1iRsJEuA+g3EWJDgHV9ALHt//0UN4zQbZZudBbo8yzl/3xrjQfR5VioSfxEOpxTLx76Gglvj/IynoG8Omm6YSw1Iv3Ae4DHFTQF8QBqr/GIvSU7MkEuLxvySgeI8VExBNzD0ZULc1w+7iCRvYdOfOowmMgd27IfBr22/4ua7G+9L6J6vPgtuy3cJgGpgbVJHiYSpegW4rpRDa9I7ys2V/hfjmT/MIgMQWiOvgOL0jH3D6gLGthchZ41kka45LZcq9AVbiioB/7qoE6YG6yaCVPhBH7Br99xtYbXFluz7/+Kg2448W1/zp1LuejqKg6RkhZMG6ktXP4lz/vTtVLuvvJzfDS+WtcX9qMNbOwUoJ7Iy8K/r5HfpJE6t7mjVVtoftWttoABDUKjf99FFrZ3m0jEQyL2tYTyhWErCY/fLr68FFTqHGfcJ6d783gTUynyjVio4xlu6gz6KV4+jDDAm1fuzMS6t7WApzQCAEQpRseSwE0/7VRr5UT1XFE2EP9o7nla9vGWAkK4iarWssp1MsaERrWaVLl6sqaLGBHplAt0IMCM8l/sbjQMNJghiKNHynwoJW5RElDXPpc0Wj3s7VP3m8tejL4d+Ezv5lV5+RPdmKX46K8U6Y/1oK+rcdp6PLQfntL+97IdhASS9MgB4hvYRPZ2LNtRuKG1oJ5XAVJn1j3eF0pdquNtzJE+XpnHYVoac/c9+tuCkZsxCoQWB7btxcDgK5YHI36cJexO4bvJV2IJuw6q8o61vKdG/YNxJt9qkHCJu8DxPiEPzQzk28M71nEpCIFXseRsCXEzxdawAGHe9DF1qu/8lSjbujPf0JctOg2AqYaLfjxLsDRjbl4bq45aHjhwjZiKZTx3EPjObGwFCwaaH2r9cCEALA1pPjgGqMYx32nmV+ry7Gh4RvgDyCqqG/DD7xyeqUhZ5OrwAvoqWkEGxGhG8m+f8Q+iBuAJD9/Vs7raBKvtOa/II7QdrZxZhOuo99yqjla/E0Zk+QvsvhnhMeupehjdcYagS0+jKaKqMlUvP20HU01f+nG98nZzilUcAhoxTXtCd1UZLIjyfiqu8VlIUpoqyFuUfBm3ettJGqIDQqQLeczw/fSsx77Qa9jlu4QznwDM/kOR6St8pji+5fNQu2K3UWMpEJUTClYExUn/bSQcpIpW/VwB9PLDY/z9HAkuQqQTjogeX5XCV4wdJos+PfTVesQj4tSJc6dM8wk4x6rzoBmSlqXBwxFy5VfCESIg4/lJtpXwvyLNRwHU5hPzNj4FvKMOubkMhCu/RG+mXzZg/gBI8GogUQWtlq+JfI4KnaoxXcJ6xWltLiJw8CxLK1YqtHslaTrTdbgT2dlAUki2nCuTxObF/MWe1/obu0QCy5dLV6CMa+qnygkBHvKfZJXeUg6LbdH9ucCE/xav5KEoCo 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)(82310400026)(376014)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:51:59.7719 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f08ba1c8-2a0d-4995-f5fc-08dcccb674ff 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: SJ0PR12MB5676 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: Tony Nguyen --- drivers/net/ethernet/intel/igb/igb_ethtool.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c index 06b9970dffad..ca6ccbc13954 100644 --- a/drivers/net/ethernet/intel/igb/igb_ethtool.c +++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c @@ -2387,15 +2387,11 @@ static int igb_get_ts_info(struct net_device *dev, if (adapter->ptp_clock) info->phc_index = ptp_clock_index(adapter->ptp_clock); - else - info->phc_index = -1; switch (adapter->hw.mac.type) { case e1000_82575: info->so_timestamping = - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; return 0; case e1000_82576: case e1000_82580: @@ -2405,8 +2401,6 @@ static int igb_get_ts_info(struct net_device *dev, case e1000_i211: 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; From patchwork Wed Sep 4 07:49:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789917 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2051.outbound.protection.outlook.com [40.107.94.51]) (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 DB31717B4E5 for ; Wed, 4 Sep 2024 07:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436334; cv=fail; b=XJhgCTJef6rdjirYTUo7TJWWgB0sD27uD4lxifwZSlTAoM0bB2KXmlf/um0wsZc2x7xbejX/gQUXR3t/R5r7sCR1poi/Tw4BpRzkoVcDfdZOMA4LlznYpoLeiCzAEw7qI0dSFo4GULzJxyAZRwZAF68n4/l4UmgZ9yxckYSpk0s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436334; c=relaxed/simple; bh=KyJY+GiWAZJZTD9wQrAFBcUNjxJmDmvlIzxW8hugW1A=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EXfmxhMA4GN/+EEnDu4Oeiz3pINhSfQjOBLxh1Tt5AUWlGrXxZM8Nnw+kG5Auvl55Ft9NwFHdgTpHWNjIGKJ25KFPYSmsIr+zfKqcRPMthFIg8PmewKp4+BR1fv1we3QYWPlk+PnyrXYra7mhcySdlTMaP+O5scIfOcVI3fTk28= 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=WENv5/ex; arc=fail smtp.client-ip=40.107.94.51 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="WENv5/ex" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aT9KoeqeTjzo8WqQwM3S/dzSdi/mlX9g+xEgxdh/XeG0IiBF/H1rrazPUwQpHdk7ZjgQIL8MNv4tW411/Bg7PHLeU1TAbZFVB6FPNerGgtiKqzNFRb0QiXSDuqYJEPKvoa5e4heb5Nv16EInvzQ2rkZpwyk8X56f0nVEqT42dOLY4Zb0vgJrAOb/QTLW2J6VxBzN3vzJoB+HwVK8rcysMlrhtuoRT9fU9+3pQJjj2iTm5TIpkCBp714i3+AzcPrlhOYj9P6jsaHIKuoKTz+rJFpo6/OcWX+7g19b4bAR1KP+3pf63OaD6SCrtorsAhidl6mVR7ZjSVB5D1H9LTTnRw== 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=MyqPveLGPpJ4tnFE1hM1TFaiU3FjTE/gOZV6pmhZ6Bs=; b=NDZD3oMASi/Fla3LlwxERd62mYzNar3qy+ndJ/MaYBVtee9gSpsRxrKAi0VwC0mWpjimwAt3TnPaXU+7WZJ0Y5l7O0Flu6I1KjVGtECgXwkrQCf1ZPSoq1T2NaJ7mk3lKOM86ozrrfSnTw4iehQ8VsDxrCXtuJn+nmfZabbIn2F+Zvy/T7klDTg+8kxV7HD0WkJ5/6amD6lRj5yBtDFmhVhZ9jpzp2yIkfktS7rmd76f84ebBix6UNtxbViVInl0fvOSqaJwJjTm95oALQns+OL/j/8gIPKsG6xjeE6lFJ+OYV3dc5rCtB1U+P2Bbk1io0SmiOVLerbGVa4iyB0Vkw== 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=MyqPveLGPpJ4tnFE1hM1TFaiU3FjTE/gOZV6pmhZ6Bs=; b=WENv5/exPoBjTJpK84+fjEksvlmo74hNzbxOMT8+NMdEA0Vw1SgaGNhKyBJMPers/pDOzMVTJMpLHj/0RiXVxmHz07sZkLeV2uku0Zr+H/BwaCknDHJL3jUslNXrs0FS5YX5whC+C/jh9QBOeabZcPDaB2tQxE31bxZw3wtE58m3HLeb9VXGP/BKAUS9irAiGSKPKJ/0UBrvPNBmWuvrDxblaSKSiIP1+3OPQLdaq52CaNDC2B29xY1pp/zYjCgCnbA+kk2yt0quCo6XxpnD+L1yuN4jOC/g4w5Jwwk5QiOLk13RaCuIjQhyOaC3NLlgd84RMVjAMwkeo/poLcTzEw== Received: from DS7PR05CA0011.namprd05.prod.outlook.com (2603:10b6:5:3b9::16) by SJ0PR12MB6903.namprd12.prod.outlook.com (2603:10b6:a03:485::9) 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:52:09 +0000 Received: from DS1PEPF0001709D.namprd05.prod.outlook.com (2603:10b6:5:3b9:cafe::43) by DS7PR05CA0011.outlook.office365.com (2603:10b6:5:3b9::16) 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:52:09 +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 DS1PEPF0001709D.mail.protection.outlook.com (10.167.18.107) 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:52:08 +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:52:03 -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:52:03 -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:51:50 -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 12/15] igc: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:19 +0300 Message-ID: <20240904074922.256275-13-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: DS1PEPF0001709D:EE_|SJ0PR12MB6903:EE_ X-MS-Office365-Filtering-Correlation-Id: 7856d553-5c0b-4c20-b0ca-08dcccb67a37 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|7416014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: yDgsaELNMIQNO4zT4CKVwf35gtf3i4LHqbvr9tYpf8o4J9buxRsbA47lQl3oA3evPkRG5PDj0dGnmL/QvI3y5TLucUXwNXone0vxRyzFW1cqFKdFuTssw9ulnjlLnlwdif8qmTxQW3pLGr59ZFTttqJ3lfPq/XqDVEqNL5J+tr40B/rViUY9MVtXMkqa+vTzna6fCjBTiii5TQtwuguK1hEqnmNipy1gv3azf9xgBbwNc+F1Fa7k/6w4WnrovPp/o11HZASjZSmJ1W/nYnhr8KCjN20CisVG6G48d+7a/3zANJpkfKKTgYHPRJ4WVs47TeO08QHBzX1pRXlOt7IB/iEtSY4186ycnAFal7YugKVWnI65QfNFSMBKtq8wtJQ9hXHO/9A+EV8ht0V/tx3wB8HX2cNFHtSMvuKAGJ9x0IhRzUb9APoV5ezGo2HTUxXvNI68FeWLBT/agxhC4PlPm4J/7DLe1UHpToo8+1S1Af+iZZxlelOx58lcYWa+h5sCIcoFIurT4Pg4Yi+L8yORxv+GbIaJ8cHjg5mucdlyYNm5r2trYNpQRDt7WC2SxmRzAw/ucZjPOcigxxM14UJGbDlUByMJhUcCpst6t2kKSDKmdVtl+TVgyPP6BaLMEfRsQE213kZx/gr3UfSEd63+gNCUVk7GQjlbjykOJZd0TrIO/DJzLWj+JEWCCvh0XJb7e43YLR4e+o3IpHrEP5FJJ7VeAM8MAstwnPaIDzpgna97M9o1jsToh6Nv40NxEwI36ZHgPdo5666UTe4KUjuxwv3sucfuq4XpyR2ctpz2Xrj5wkO9PN5/N9tWnpZKaetJ9EsXdw0i8cqgVz/O2EpAME19pPyMV3TrJmN9z6M9j1TDFebtMY5L6Z6sGdTjr+wSyeGvDeS/+xdrGC97RpB865HxhL1uquQhE1novmqciZqz9WExUrr+4v6Q+q5w2Nd1wXSrLvyhvPF/byiWY2rb6Z2JR469Dd1Q8qhIomN+1J/pbuTjuxkBwd6Rvb0e/waZTlFc5fuL9kRazGVr6x+zokrSPmAqrY5ph/Ng6QF3pq4J7zDZ5wil3xVr6WpDqwBJ+nJHFSQ8Y2OW1RkApny6Ee8x9g7XB+wKcM+yy+LH5CDcC0z6l3P2kaPldQsQty+mO2T+y5eanJFe0mGZQJDy8q1z8D51w1tztXzKZsbDBXavHRSMkfrFPde1f2p481/voohQ/UhrtbrZxJbWGboV8FTXwKyy+XZpFbjPfb18mO+Fah6qGKsF1nxp9MkhpiEQ+Dk3rSG0kdxLejIT6eskmOIsnepDXdzonTdbPgIK0l6NfDOxCrCHAQ++8KL9bRYeE1/DBMe85pJz9d8fjmMvRXAsr5Y5mg/ACmbpdGPgF9OEiaMp0i5+QEqJtaNUiQ8jRXkYVbFoTIJLc5Q0okyXXWZFNjmJhLgn1V6gepLqShkHgJUDjvbKmYDFK9+Cq2Vr 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)(376014)(82310400026)(7416014)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:52:08.5258 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7856d553-5c0b-4c20-b0ca-08dcccb67a37 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: DS1PEPF0001709D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6903 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: Tony Nguyen --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet/intel/igc/igc_ethtool.c index 3d3ef4e1547c..fde6f2b3466d 100644 --- a/drivers/net/ethernet/intel/igc/igc_ethtool.c +++ b/drivers/net/ethernet/intel/igc/igc_ethtool.c @@ -1565,15 +1565,11 @@ static int igc_ethtool_get_ts_info(struct net_device *dev, if (adapter->ptp_clock) info->phc_index = ptp_clock_index(adapter->ptp_clock); - else - info->phc_index = -1; switch (adapter->hw.mac.type) { case igc_i225: 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; From patchwork Wed Sep 4 07:49:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789918 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 93F2C1714C8 for ; Wed, 4 Sep 2024 07:52:29 +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=1725436351; cv=fail; b=FM08G4GMWlbkdcLrx3D9AtoV/ePEI2AmsnoQqR/LwFrXFomt33oIz8gP3Wbn+1IpD5vji2CxVYyQJAlZuV2hhqvMsWKoJMDYdlaU8Po8C332a0YtYsKS4utZi+lucyx+BYLXLP/q5PBNswjwa/EwSLIw7N1YzFdYXdfYO8zbEQw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436351; c=relaxed/simple; bh=Z+EAbKMX3Bdd6z91hnVbFo5Ba3NOIWTIO9EWKyIyYT4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=h70heSGEqAz+9sT/Plmw9wJdkFoISywEaC4doMNOdi/g/uH1TY7OJp6PwVXVil0rJLsHkiWU15DyS7uaHUq3Aryp1dq0C4Jb8smz0hq7oi4L0Lha0hi5zkX8V3oWC7XKY3b9CkO8CyRfBJ3Lf2fpFf22e1LoAMcaVid6GATOk1U= 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=m3QJY/wp; 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="m3QJY/wp" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dFUPrDBbHXKGt63c7I7mRAkr8My5hubgZYlW6ORUCp+04n+hwmxAhhb44BHAe2RfqBrVnbVO6vNT1Pp3IQHqzzVNHR70EvflbVclEd2RVRLVZrR89Mh84Z70PnYUF7m6mlH0wL5lv5RcYrI8NJI1hYvnO48lwoNfbNgoB9y52l53LnRlLoH8cVwh0VMmWUpg6eCVs9+I50edW8UrZPN1A6gjtY2xv/pnbAFYza7EEMjuR9ddAh+8vCKEcP5TRYbp0+fOfZUrZWyL69osr/o0LR+85nuEnpsdCIQA31+9aj+ZB9uLGmQe5GqgrFijAs/1N8QTKDaWovArxoWJ0jVmFw== 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=IvrDe0iuA5ACfHG0Am3ROfJdp1/0BR/G8sIA49tcN8o=; b=Twy4/Lvspz3nWUwtsYR26AaFtJZbTHM+a8MEOzxPRKyEPnaRcR4Qgi3hY7GkYgW6fOruKxqvZYb7u68i1tjSrs5+Z9T+O/CJz6JKDW/8KDepEEB97kU5kq7WdZZVt5yvfyeI2yataHa6+dTbg/8/Deu8uQE5kL/gHZwEaLlsZv5+m9AaS5a28p3sbtecbJYjk6FiIfb0QBTA1g0bIiSbFvM8dpP2THyNEc5EyZfdyZaziRnMHeE0wv66w208vakgK+bu7XNxyAtluLDdDBzmYU6y+kgNF8ZskDHt9t3YSPKVAnp+ldsTFWanqJaDwLEiks2EeXPyJ9i9pVOtF6mvHw== 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=IvrDe0iuA5ACfHG0Am3ROfJdp1/0BR/G8sIA49tcN8o=; b=m3QJY/wphwRCgo2PYUl7hOidvJhb6FhUntrVjiXfWGzqr+JbE7DJzdLTOIHfOEPP8cOSG5yQPc9CeV0WZLemHoJSdN2S7p9GZiUSga2y/tj7KiaddqpWpcOl2evcavQr8AULs1I9ldnhVPiKj1hO0A1rxKGOJxIEv5opWJe5uaE8ZDsGjvzq/8/L2/idnxDVfugG5q6rm+okcD1lGygowyn2IBPTn43UG7TMW7Sl4K6NwBJoQXjW3MaTDp92g0A0DV13oxy44817moGerlg/IcBpHLGLWh8UGuNNyEiV/7bYggockbQyiObT5gxvsO8tU7A+ualyCHwSSa+9sFr3hA== Received: from DS7PR07CA0012.namprd07.prod.outlook.com (2603:10b6:5:3af::20) by PH8PR12MB7136.namprd12.prod.outlook.com (2603:10b6:510:22b::5) 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:52:26 +0000 Received: from DS1PEPF0001709B.namprd05.prod.outlook.com (2603:10b6:5:3af:cafe::aa) by DS7PR07CA0012.outlook.office365.com (2603:10b6:5:3af::20) 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:52:26 +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:52:25 +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:52:16 -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:52:16 -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:52:03 -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 13/15] ixgbe: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:20 +0300 Message-ID: <20240904074922.256275-14-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_|PH8PR12MB7136:EE_ X-MS-Office365-Filtering-Correlation-Id: c90c0949-8e39-48ad-0978-08dcccb68497 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: w81vSrfhWcwvafTFAzYIttGTl5xrOwIqcincJHUjlD6IhnnLYq6lFE6SSe1CZQWAYW0Nk+mrJYrUphfNHn0Y6cqUZ3l8HirDhDS8T3kzR4ipqQ2hnfZL1UDkBTXhJM47+rtOVcuTlbemcw2AcYVT8Tq9PVJCLB76DX64Zzf2O/bVzT9jTmFW7ia4JikrLpkk9Dk+pAEnXo5+ASsGdL5tPd6J9NZ89nOT3/WqnS1bz5szmeDKVLW0ud5pc11SlbVMdjGNmB8ja2E/FroE3IQGuE3WyXzppn8HQBtzk1K0MITekPU57C4juzenl5SA0JvvlUHc/svlM6cqG4FVAi2i1MlN0O6mai0YS8CfOmG5A+PI790Ld5bxWjriCgNm3KzjifyIH0Ee7pP9G9jFsKEVSUBIvi7KDTrmEHKJ/GdIalxTTISuZ3n2kzGOxSMBSvlijMKoHjN4O6MNK189YGhbfYmYeMMy6RywdSp85MzU4DRI8PEi61LG8HlVZiFtl8hl0ELtU922FOLzhU//xZMKl/ZWYYcQr8Etwj4JxE8nUEg3QrpkYaiSUUip6QTfXcrRNU0kcgcVTLw2YFX0vOwxpHFcvIHhvWoHZYJgC1Bs/Q1NHuXDMYYUmpL9ynUJtVTMM/ZU9CzYCz1GD3dQL7H9YP/Qr4l8zAAWdSqdRmVojGsMmMQLEcmGeSsp7FuVgPAfV4y/xQ0FcITZMRlGGmPqhWNDjSIffWZvXlGDICSwYD3urtdgfU5orIa9ocyA4WyZLPfZXeCKtHCfd8lSlq+p9VAx7rK+iZrluryhCjMcIIp4PtbPrwSx9URC1hIRN2Jmp6BJImr/qLzmx8B0RS5ufEGtE6cmCt0lV7cI+aoB1Honjgai+gIb1YX3Gx6JjlYVaupqvQpfGBexfe9MU7M4nJehxsJ1NxkcfRGXvzNNolCm5StmENsqWkJxqfYmzVAQK8v5/gWUxI7D8gnLCThHQfsPmVcbggrXi9atwaUCJpU67hts7LgyTLcmbjndkfy4zVWLqkXf0VVS5dn3gvCTcBClbihkTXdRJy/PRNuwPgNGPMvB9HMCcbtaCWStrgvq5WTAe8VhZw1rCOaBAwnZDUcsOGGfSz8RMOsTHg8Mik6oEJBN2XmC8wGrIOFpzKkqUPa8E+4v+lFnIcx8bSj8JlLXRfUp+/f/RYd+HdzKe6Kr2qmr1Y5C7FNlVweyPa2X0LdHlPzDOX/hn5oihRxpXxLfQfnCw5t9jurgEHAWfLpfzQoGBHRG3e5nRcaKNKBOr7iDJlF86gflSjjfCvN93UCP4wO8m43c/lhPc/iClvC3B5pK4pXCTVYQQGhu13l+NHc4HNX6xB8IlM5CtevY2ugLcxnqCY9qXRvdUBbqcAAHTsBZYoTJG4EZhf0iQTkO5OCkgNSGSCMZaz8GM32XWdfRFhbkUj/XkKCMe/WNPKY6rRjV1i47B/N+ryaI/SS/ 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)(36860700013)(1800799024)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:52:25.8810 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c90c0949-8e39-48ad-0978-08dcccb68497 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: PH8PR12MB7136 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: Tony Nguyen --- drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c index 4cac76254966..9482e0cca8b7 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c @@ -3196,16 +3196,12 @@ static int ixgbe_get_ts_info(struct net_device *dev, 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_clock) info->phc_index = ptp_clock_index(adapter->ptp_clock); - else - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF) | From patchwork Wed Sep 4 07:49:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789919 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2043.outbound.protection.outlook.com [40.107.95.43]) (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 C836F148314 for ; Wed, 4 Sep 2024 07:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436366; cv=fail; b=mnvxreQIGCw+QtuMBHjAThJtMsCDaFL+3MBsNL2vp+c7AwQU/hFb2WUDh0irPKRcQnHH2o+QZSGTjIR+TwwvAutLUDwSsN0oQ5SX0sFt9vVwgt8u+dR8ebq9wQAr1lBRGxg7ZnDL9STFwWxUvHqOBWqi65u5rS4/okbrNgP+vQk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436366; c=relaxed/simple; bh=dKF8+bMS2Y4KTDncQDJhaq9wrW97n0aQI0UDSw/I8QA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NwY1yO8pLYULOzIP4E1eh67IyQpm/u0dC24UxXEohHU7klvFMpNwqrOjwWYXPNxl8/9L+8+YPxE7PwSdi8dMU2J4iaq8OpHpCeYZ/PZBCE+CEkTHSNM3phyU/tt2AsunRz2J4dVHvzPu+mGXe96YJza3gcI9+KibNv9Str72Ydc= 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=SSEkAE4S; arc=fail smtp.client-ip=40.107.95.43 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="SSEkAE4S" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v8uVInOQdHIixEnHYd+vNCLYTvm3AvnihQD9njjmZRsoGx6fW7m8M0AiSamov+n7z3Lb3Tqcxn1lYM4RjsWyZGbhVknV9YU3046hnbDGi5DzQ3DFGMrIrIPBXPO00TZlLOzD0Ks67R2gxzIEYUJBv9p0D/Y8Mj5gOTvqGmyv1AZ8Jc2fFy5T9jIWBsY/Mp4U1VjowUlpwPI4spIlCmGSG3r3RPgsXpQKaMh8CRX33GJdQPcsGt12tzaD7SdpVQNHHvFFqp2XFJwbhpx2xW+9uYZbJ8hqUcKCGZQFGNzhcAqB7flj5/w5HMtebTuyEbGPdZE51r9ZoGnphjayCXB2VQ== 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=29piGvi5YicHx0o3p2Mp3L4TK51exkLYjC8m4bkXkhY=; b=OLMyRF9W/91boy/Azm5mCzJggV7IM3sfgX+xXLJh6HDX0u7j7EoQ4/S3KWSSP9AVhgZw0dCop5OaHdfOyh68bN+PNuLBycX/lBNNxYraWgWRnoGQtZGZ3HDWO2fd9CwPyVUmmDQGpTXNCajhzvy2SnzUsxBDpletLki2q/Hn51r5KVgnhisDPvZi39a+j9BBFBJSQJclK8L3gmEKrukJT2DAzOnsMCMnCF8L7Bt+TNrEJaoddLf2Rb+y3jnJyZl/FkZULyCPpmO31FtBqcYJ7h03MKyhi174VC7nFdPfUZVKDKPddk0+MJMCNDd/rQFAIYlnLhnWv3irKPaxc8afvg== 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=29piGvi5YicHx0o3p2Mp3L4TK51exkLYjC8m4bkXkhY=; b=SSEkAE4S5jyX6Y73QyEYcAI7Z2fVghFJ64WsDgpOqPy6wJ1QPzdggevyQMO0B8anYg+brJkBcH+DmkJFKFTo9ocoYxMF9G50VKW+asJWP9uLkLnnH8DwfuAmwfSE57vyeILWhJIgjHNaCkhI/exmJvcNpwwqUf/VSnzN0AZK04XY9oxHlfx7gQfIY2Ptd8aFW2Mlzz1OFBuhCCYNZMF91T8rxxm+tOYGEb8mzZXdm9JCpBWMXy04wvPwy29+BB3cIQHHToVwHC2tkfX/kQCX+UX4U1lU71VFOhFYz04qnFRYyUP9XioP06aIY8PcEV/5pNu3TpylzBXDKNPfWOsURg== Received: from DM6PR02CA0107.namprd02.prod.outlook.com (2603:10b6:5:1f4::48) by LV8PR12MB9135.namprd12.prod.outlook.com (2603:10b6:408:18c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Wed, 4 Sep 2024 07:52:41 +0000 Received: from DS1PEPF00017099.namprd05.prod.outlook.com (2603:10b6:5:1f4:cafe::59) by DM6PR02CA0107.outlook.office365.com (2603:10b6:5:1f4::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.26 via Frontend Transport; Wed, 4 Sep 2024 07:52:40 +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 DS1PEPF00017099.mail.protection.outlook.com (10.167.18.103) 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:52:40 +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:52:30 -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:52:29 -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:52:16 -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 14/15] cxgb4: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:21 +0300 Message-ID: <20240904074922.256275-15-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: DS1PEPF00017099:EE_|LV8PR12MB9135:EE_ X-MS-Office365-Filtering-Correlation-Id: 135a8232-c4ba-43ea-0cd7-08dcccb68d12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: +y8r4bsRqXPbVtTAp79BGGiB7z6yR9gQYgaZdsaEO/n1RWKNEtZ73w/4kMK26dprvelL+XPbYRMhAWh4nNObqfwkDTParc/CCkbdxaKzdGnf3iaCk9MVkdyfUCXxc4I2ruKE9Q31iVDSjArOWwO27oyzPHsjYp7JDKjR+MC7uKKEEPOsD0bTkHNOSS+mcDcotAmkX2gwUQMVPsVRRWkWcO+Axjg2CPGTA2BalE8bv6TtTEX3aGDxat2iCumjXPrEWQXX3CGggQWniOJUQppMXO59jpW63eKKKfLSTepRRtPAH7H97DzEEdExNeq49NZTjBLzgTfj99ZMn+0DbcLLiPMBIckHd3TVx8gSBOZX/Yt/o/Ux5r2SU4C8UXBqa7MJK8BxyTVcih/5MAaZ2WpyS5RK9zwkimep5HjeHKA8F/kB2WFPiC6HxqdJYgO4bZMZyS9jedISJ2XTC7zbLfQ9r9X3HjMJ+Tjqx6CRT81+Pv4JY6sWNEynIwllJOTz/LlKc/1zTg6gZcoIUb0q/iuTq+BSLdla+fEaUv3Bsj3z5wdoJBARmojpLQbhlOcSLlu309C4t7H8vcxEIM9rpdR0fW1yZtkF1ThwsdhwIGzqyu1BAGCz1IkDo0ehHFKCc6qjNLzVCZur9B62gycJ5PW3AEZ1uiAKOoEJQd9Ftj0jDq6BK5+IIwVcnpbvcQTBiz77b3pyFXiUxDeqAVT67/G5+BnSGsqMPJjzUQS49lISgfhV+lFxp7d189JXDUW1ZG6cc0W4eTwwJ/FB8fDomSbF6pAaF9MG7tlq49XAmvRW+M9p4NcGjOXyt+9sGhrCT/CxmpU7uXPRlp7/lyH8YE1dmrd5lY1HkiLSx5RbvNqMxJ08gvIHiaOV1iratafpTOtNC50GC3Xkk7nO7A8IGK+jKSadyp6hHM5jXwezbrQe+uVZr9LO6VfVKc1OTGoSC/IBTfp/doye4t+H/xrNn9nx4fNTAp7RMB5UsJGKYumMrCyv/VGvK6elMdp02k6UmYyRgVd/TNWichDw+N3nZT5F+FIzkQyQvXEyhkoLNFAElp8PEbBsq8HYPa12jdo3ahBO0MKzvcrILrtMPxk4qu33B0oRvXUtz0/VtyphskhX6uZr0YyUAr7KzNznk9u4CWnoKVKzKHNDhbMnfXJvVsyJYzeD1/n+jWS2a9/giONOnElPY6DK96+7JAqytpz5xKbdJoU8A5jRlfgmVcXlXYYZEFJdOkItTajlxGIGHq4Jro6FJeY207d+HRg0YvitIhjTPF/8CMaaqCjIICggmPY1uYoZ1ChxFji86YadGC0VoAujARMkn/fY/FueXFEM11Iq/NzGEEALHKPuJf0XsdANZW9zikCq0myOPJzM8/280i4stI9eg91HrQrgVLWe65RV+YIPQliZ3srk66RfCEkqwVhI+Uqd3MzqnV5+tFhJds+KeNUwE0A9VDjxpmjm48mS 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)(36860700013)(1800799024)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:52:40.1402 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 135a8232-c4ba-43ea-0cd7-08dcccb68d12 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: DS1PEPF00017099.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9135 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: Potnuri Bharat Teja --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c index 3d091947ae00..7f3f5afa864f 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c @@ -1556,12 +1556,9 @@ static int get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *ts struct adapter *adapter = pi->adapter; ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; - - ts_info->so_timestamping |= SOF_TIMESTAMPING_RX_HARDWARE | - SOF_TIMESTAMPING_TX_HARDWARE | - SOF_TIMESTAMPING_RAW_HARDWARE; + SOF_TIMESTAMPING_RX_HARDWARE | + SOF_TIMESTAMPING_TX_HARDWARE | + SOF_TIMESTAMPING_RAW_HARDWARE; ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); @@ -1575,8 +1572,6 @@ static int get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *ts if (adapter->ptp_clock) ts_info->phc_index = ptp_clock_index(adapter->ptp_clock); - else - ts_info->phc_index = -1; return 0; } From patchwork Wed Sep 4 07:49:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789920 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2073.outbound.protection.outlook.com [40.107.101.73]) (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 53B541547EB for ; Wed, 4 Sep 2024 07:52:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436375; cv=fail; b=KRBpd6FSZKXT8uZ7oXypqMbmgzhX2wJhMd7giT1nf61asB7uqFUt4eVWx+HhPK+ERd+z77hI23ZJHDg3CsqEL7ECFa061NMnjIviFdZ+uJnN4z61DAjgjXkAqhp0Own2CtHeJzHxwFgjjeSKJ7uOZcUj2Z3N5NQoGSaOSRGKSfQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436375; c=relaxed/simple; bh=EAza/WZhoGybWsuZVIsGEyf5zmAi0bFTPSUFcba0Q44=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HyIxNiZwgRm12XTh080aMGYJ0342D1qHjGQBEzw2MT7AvjziF/ZeVLay0Tq6ILMJknEsA5iVQ2FrmS6bUbIhLARQ6pqr2acMyty1EDlZMTs9YuYRc4IX8rcG9S/X+DUEzPqcAYKvso+1WIeqt0zaqpc4aiynxjrnjqUJPHRgdG8= 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=sPwHyq5q; arc=fail smtp.client-ip=40.107.101.73 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="sPwHyq5q" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KgqpZC9WW66ApPfxw0s245xNMEZMXr2PiD2PVpToknw30eLIveHsKHCLwamQFUUxBMRZDaxOvxTC+gQ4ot6aZpCVqbqi7s/iLQFQuKYGUO5mbFmk+9CjxDeKPTOwyWXHxWj3Tcnf4KLDN/t5oXpQvCT4c5qXs6xeBKchyMXIlVIsRKKsYtSe8VVf9aRpLncvHCNedgcRh/w+9q596VePVoru0rgXaFE4Ix8Ubzm/93ayVmFCRQ2F0JwNSPTv/Jxd8xARHz09JEKtN0Fzn55uGAoc4ai5tEZ+Qw3B7hUKvaQYAtTQKQjN+KtS6xW/EFnWc1RnA3pgGdvxi5hNqxJcNQ== 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=ncQB3c5p0B/ai9eV85oZQ/06Zolkek4LD0YVnOi7rqk=; b=Cw7xygfCexPGWnX4V6QJNbi1FMzNJsr5uGokYEHWDdIy+dCu403c1zbACatSTpSteq1nNWrhNnwVtpPbKwSq8ieTdU3Dq1J8roqvQPAkzEwtSX9W3rTFxy1sa3mBwFCl6lDL98JBBR0NhJbd33lnQGIieGLNLZLT3jZoT8DeT/pafACbxf4Oc+bcKFSc5IR6PlE5Z3Pf151w26OaoUWFA24H6fDteAaCbpAOVpF2B56HI08aLLuOOsOWNtK1LWBybr3s7cgkZh0QF6EfYbCXOkkWe6ywimiy2LP+D+nT13o2BG+cdOGghrKZVxbDW9l+enwtTem5FFFQP4JC6f0lrw== 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=ncQB3c5p0B/ai9eV85oZQ/06Zolkek4LD0YVnOi7rqk=; b=sPwHyq5qaamqv36ShPo7xTDQoDS5o7+seTchYGMoBiZBOxtneyRmG7yK5Yq7vF8KKqUITBBQSP7ffv0z39iFRlKNaa5qMVZ8TOKtLBYmGyGztSBa3GMQEgqFhNTb2H12IiVEuOqA3YHZvERgpJ0sVJtMjIpEusphojjxEB746RHiJ9l97JkVeiwFDOzWD/C6HffxOEdSnDR2e8pDZfsd2tCTh5lZrWlmNxEryokHlcSaO9h15CmZYw0AQTCD9JpLVT1TsEmy1mbiNCF3ATkrT5L5x30awNjyLlFT9A8y7LvDs0Y50RRdovxyyEVqbr8bh7vT7hVpKH0ygxmgxcpuUQ== Received: from CH0PR04CA0016.namprd04.prod.outlook.com (2603:10b6:610:76::21) by DS0PR12MB7828.namprd12.prod.outlook.com (2603:10b6:8:14b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Wed, 4 Sep 2024 07:52:50 +0000 Received: from CH3PEPF00000012.namprd21.prod.outlook.com (2603:10b6:610:76:cafe::8f) by CH0PR04CA0016.outlook.office365.com (2603:10b6:610:76::21) 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:52:49 +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 CH3PEPF00000012.mail.protection.outlook.com (10.167.244.117) 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:52:49 +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:52:43 -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:52:43 -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:52:30 -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 15/15] bnx2x: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:22 +0300 Message-ID: <20240904074922.256275-16-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: CH3PEPF00000012:EE_|DS0PR12MB7828:EE_ X-MS-Office365-Filtering-Correlation-Id: cbefbeea-4261-4bdf-a760-08dcccb69298 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: hCTWrYRxgWtHuBFyoVOj+V4Hd4S5Y8qYOz3qYRq+WMgGJgDp22QkfuVvqtAXYqvgBb0HvnKAQbFfI7pFYHoVZ6wycAKDb+y2qzHmfHsuOmUZli7FfZcMbJRMAcgDVTuy+SKyKumZYnrCddPx9eboa/1FpjEO7xy8rN83l6Mg1BZhEUS7FdICMUA36dxxKuaJdePaH6tRzDB7rD/NhYaT5Rn8JHl4EQ7OPPFn0LFfnjtlkwTMfSA898fyAPVKwIh/38sdR8NFp+4qMRMORzy7v+wHnModB/J9PoMQroY3HpN886zCebb5PXb3ykraD5Asw7i+Eb9VcXw8PcAPjKtDnuUOJaADDTbC5olQD4RXkbc/1TCsI514tB+Urd4osUM4ngeTAyIfEcVnX4i0HwaDq2CZd3MI+8TFAPzGpbwWlK6UU3NMOOVVSYNaePa6jx1Nlr8pz37JXMZRGklPh8g/RdsyZg5jOuh+zAKIxRRI8qm72nWsriqKhWFDElxXHMINt+9wepuP4AuOyiGQ/z0FQtEjRx0/FEHbO1nRId/Q3N0QmXNeQs0bkUzL3k5uNigs8xulzK6zZ8a9OOovA/zzjX3YsevYq9x//ZL0MJ1wlTiFzcKaljfOwwS3aLYH+E0XJkbu2oj+NO6yMy8G8qfHs9YVlHdImync+L4lz7OzOGEHFU9FxhKu2bekDcuGakBYCJtRIiuUW2po4kVvqbcS3qJZ3Sy2EeH7zhp0F83gdRyEmBfUqVoBb7slPzH7Mm9ECpMwayqu5Lgms90KtkHI/S6vC0TfmH9J0ajYK0l6C36S7YrvqVr897DeI73ogeD75HE3LVyymWaqVS7JXAYl5r9MrVLlFuCQGAD/ngz2dhvZqLVHC62wKLs/NMXr28HH6eeCn8Tx18m45YAuuIpnImcQGEHxR+ODFC5cZ4cKNybBunSobPGNbzHY9A3FDoqRFV3avYhV0OE6LLrGMZQZDSFITo42nH5R5bThQQgku/Wr1ag4g76HDvhYmurtNbtG0JMEKqjKjA3eM7nT3JRdbFnIWn+hX4FxrugzG4DocPps/iybSNpI0ISnrtexTD2QYALQVNEtC4BpADesCgj4NbJMii1zBDlvO/aP3lzOp1u4DUI+npOIw59YA7CXF7l4yrqrXokEVbFfxstLJEsbNmwO8nbb5s3OpNHAPmY4YYVdIEnsdf6jUuhCU0XPnwzk9w/6HzUTQhnxjGbg5zpn27ZjMjNbaSRVoCw1BG59h889z5zX7kABaAXYUt9OZu19V7BZkFRwQAUaYTJGMq5iXZPOHExyj0OLZr1jTYnnhvMhSpLjCpd/0R7OjHCH8Y1IG/TW8EBpoQxZ8EHqMYYH8ubXZmLybuH30Ad5NoHcokmAObTDqQV8rJkEUXcZEBDSIjby5XVbRRJrPjugaFM5VLevJk5uRaQfFKxMO52B4uxcWla1AG2pkTGAGaDb1qPA 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)(36860700013)(376014)(7416014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:52:49.4109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbefbeea-4261-4bdf-a760-08dcccb69298 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: CH3PEPF00000012.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7828 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/broadcom/bnx2x/bnx2x_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index c7b56a5e5425..adf7b6b94941 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -3640,16 +3640,12 @@ static int bnx2x_get_ts_info(struct net_device *dev, if (bp->flags & PTP_SUPPORTED) { 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 (bp->ptp_clock) info->phc_index = ptp_clock_index(bp->ptp_clock); - else - info->phc_index = -1; info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | (1 << HWTSTAMP_FILTER_PTP_V1_L4_EVENT) |