From patchwork Fri Sep 6 14:46: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: 13794308 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2064.outbound.protection.outlook.com [40.107.243.64]) (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 4C03E172BA9 for ; Fri, 6 Sep 2024 14:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634014; cv=fail; b=foL9C0HfdMhDrb8RnyL4rXd2YSWbG+BneqzMkk1DYEYdOQV7PKuaEFWAlxXD1pXePpXu3wVMzMbwyE07mxcbAWbuyUggdi8o7Z/0nLSc1286stKBn+uQoBUJ64msrPV0x4C4Fn+tmioi6V+YcBHo87LtD/MeqkzVjvu+pe6/53o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634014; c=relaxed/simple; bh=j+GManABEN7r4mfD5PfdWI4XTqYt7ykCjxaaCQOvs0w=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XE5C0gk2Tonyc3IO/qPii3PVW3Mf/3Lo52abATa0fC+6hmdLgg3a77eHoA05bVT1IK4e+/8cARLwA1QD8ZQER5u1eiJuc7gwdNavyDquOfKHAoeClC9jJ0YINHC7P6WT1XaYMy88lOIpr9BM3zEOfROn2GxOPWg/NtnSLV/REbQ= 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=UO89nxwH; arc=fail smtp.client-ip=40.107.243.64 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="UO89nxwH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JytJdXtisFG7v7gR2v1mQlllAZ52MX3rHhgwghLH8802AwkVMkhtcE1WN20iBE+eUlJZS9mL2zTxyfMEaHAUoKYbgEHBHgMMxFoTMwQCNHEO+kCYy+lhaN4hwxeFID2RmugLSUY5lhbpIZzz8SDmtflXeK7YrzeQQh6olkISYJX71tEHJanKOb70BVPoatffLpY8LZOJcmciVl1rhXZl4nEZTnluvOlcBPXJCUebkC5UFQy03qoPd9Ky7Mve0s7RkoSqyOEoQZvf7h/XQZU+qDl1XOHmBRRQRl6/ItMPPYcq5A3H0bRqwm6FhYMov3FCWlIpNmlul75yfSEUoOPVaw== 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=g80kLxFOhgBH7LFpOiuhI25Gb62tr7Hw0l9dq6crUDU=; b=rHGQP5YVuE4IFTr5T3odoJS/lf59WfyydJ+T058sJf1O5KR/wk+fFdT5kTWZxHEbyqgwm961krOnY/7rpOZBfj3M99eWCqeH9DLniDBOtYqI26SkPkz//U2D+GphBgWoyHMRSQPShv9zTIOEVOEiGAskfEg8XWGZ6//iZy0G7yIRVSJ2M2bBluR8CatEoj/5xTYLcfzMkBP8bXSlNNgvjOwe7aaqNLkHt6DjldKjjJY8Q4IRm6sYlNIn+uupVJc2DUf5vMIjAME7sKHQ41n1MSgah4x88b9UKG4LhqqFmkfTxkSU444+keEYchYUL8aXohvXzRbwRK/55TyAF3+62g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g80kLxFOhgBH7LFpOiuhI25Gb62tr7Hw0l9dq6crUDU=; b=UO89nxwHRQWdJyq0H6DwXYlenJdGESThTxxYPAytaJ53AgSm7wcTqc8tNGlbzQlC+GMKg2Xg4D0xjOgTm8BXnHCAKn83fIEHctSde7jKDGjewjQQDR+1sET/gpxsfYGAsOAn1L7wiOWRRMmL+MJzZdSac278DyRYkCvWio0dIvGFNejYU4YyTzCawzSJV5PU2rLi96R+hhOjue7lVfcVGTKxobDxqpX44DmsH6bls3gc1F0KLefg5M1VPVgEcAa/ZnWfcsMYm6wvulspFG2SSJPS83VCSaScGrTjnX9cBV3gP9tvi/CJczg1houxbZWgfHbqXeEFe91P6Qe1Bu+3Jg== Received: from BL1PR13CA0398.namprd13.prod.outlook.com (2603:10b6:208:2c2::13) by LV8PR12MB9081.namprd12.prod.outlook.com (2603:10b6:408:188::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Fri, 6 Sep 2024 14:46:48 +0000 Received: from DS1PEPF00017096.namprd05.prod.outlook.com (2603:10b6:208:2c2:cafe::ec) by BL1PR13CA0398.outlook.office365.com (2603:10b6:208:2c2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 14:46:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF00017096.mail.protection.outlook.com (10.167.18.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:46:47 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:46:37 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:46:37 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:46:22 -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 01/16] bnxt_en: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:17 +0300 Message-ID: <20240906144632.404651-2-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017096:EE_|LV8PR12MB9081:EE_ X-MS-Office365-Filtering-Correlation-Id: 78d8e9cc-059c-42de-98c0-08dcce82bc10 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|7416014|376014|82310400026; X-Microsoft-Antispam-Message-Info: yys75WxOquE1Cb/1MU9AUuCPV8WiCNXY26NQ8q60Kmj0/X9T752+hSnVp0Dss0QmwzvnLhf0AZnixDQPmNDp9AwacIiGr1XDCZOB6mLWTC2AZ1rcC4C3dVSoHaC11jCbJe/uef1yTL4FTBzdrUECvFptVUaZLAMYVfxMkLozR8CSe3NyclGPinl1dlo0BPPHOuuJ/U/0ULzE0BIv1oi9GUhuBpHoFeBDAjQHkvYvuNceook8Fm3d0fofpMyeBkUDdvjeiJzNlz13lwSdFnV6MnkKrbZAsFREMtKP0Mceik/wxk01bs67AE0MjHARBmhvFxBG2Uq/cxRVswWclSeDQGv4MUJ0hMQ9C94fU1jLL9luIbNuEiEjzDsk7q49QQ4MusHXfJt/fxG+KATuhcSRqrAEdRZM28x1f6D7REkQ2bz/AJyXntiz5ZJwj2X7wzl6klYzS6EH45NdcQfmxvKsTI26cuySyWrvpZHeF/BcValDcc+j2YeL7Tl0uI2GZ5fbmu/kYShuFAsA3d8esQnLketkvQPlhLcs1P74KMxInPqXYVxcjRm16v6JuChlHXYm0KoO9mCC5q3j+h+m9Oq4yHgGQ//Gvkg8SBQx4yhQGcWEh3CKvhxWj/qTZpZnBwGJQkQV9ZGuysrtxmRfbfcR1DeuFQo5L33dBBZ5fHF5gPf8QC+dBq0E4MAldYljhLgzyTbKZhRbKeb6ur5NRt5G1kv44h3GAx48XbE18UYeXwASKjA0MqFxwd2YQHM3xNFG9rX3WLX/iPeEU5OWumm2lIRKqNpmrlZgA1iKhdz5oPVhmZCQtj1oGdcnvDbLf/Zugq2J/0ganb6pby44aLGh6mMpL42QNgI4MCIB2sPy9IR7IsyDdHZy8SoJ0HuoF94vVZo3zMNtzf4ftD9A95Cjrz2w147iVxBgy/gE4d06Ef7+gnvv55U792X9iH7Gzg0dvr/nt5/QwzdfrxxttH0Fz1IZoMCn/MriKgyx/v4XfV7dnMJ8vrZ9JwL/luqX24M+s4xkAV5/r28btC6YO16yEAGWX5uYg5TLDxOWsbqAnbA/W41E3PWodJRzyfHOBeYyTdc87phGm+7cusfbMfmQRm6lmlkFLy5hKKmlrwynnDZWsX51U3PYIl5amUsFCZBh631O5k5suAZ04dMF5m7oa3zWB8G3PB0qFClm9ugAU2OjiUYn/+8QefjD277Cd9AWL3bd1fMkqptv6BdcE2/GCtOh6TWM2LIN4KcCw+aB2VrXZVppfQxBdU1DtHecr2bHr84WHtEA3yAFlN/JC1lsTQwUAJFi+yS0dTSJOeAJj6Zd1zZSy75hmRyD4qRGRp2yxnhSyvYED5baAZyXhmesocwbZyhw3qtKGDk4vzfS7Iq51u5adFTdaJTknwUDp3S16vcA9/uSdisRIxFx07GF7cWj8kOLVo9MDhUclobuAcG5TTgSjhGVODph0+vvphjy X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(7416014)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:46:47.4323 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 78d8e9cc-059c-42de-98c0-08dcce82bc10 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017096.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR12MB9081 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: Michael Chan Reviewed-by: Pavan Chebbi --- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c index 9dadc89378f0..8fe680e691a3 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c @@ -5040,11 +5040,8 @@ static int bnxt_get_ts_info(struct net_device *dev, struct bnxt_ptp_cfg *ptp; ptp = bp->ptp_cfg; - info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; - info->phc_index = -1; if (!ptp) return 0; From patchwork Fri Sep 6 14:46: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: 13794309 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2081.outbound.protection.outlook.com [40.107.94.81]) (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 68D231D1F70 for ; Fri, 6 Sep 2024 14:47:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634033; cv=fail; b=CP3ZHBKrIcqaD8HvDFcgfFAEk4V7veByVBwHzz+eXr1jH+LlaSpUEtvZKcMJ9Yo41vjer9w7w5tP0BDSXYRBMtNnzgfKfeEbf2xHNKCppilYRXHeRHK+BuFAJotJuwr0Smezc5bd5MymA6R2O657HcLuPfpG/NudkrP0/x4fAms= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634033; c=relaxed/simple; bh=G0mXXIjTAXM14u3F3BwTNut/wZGVS5sLh11ghxiMZ+I=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jOnJ+lSDBsgaS90i2xzrcyhLqwyO2tW/NnyiSSN3NdMkBeddy71+MOAZsqR8K4kQU92A9fSf0mhvOmtx7vbTXJp/XzNaPljY85uUSfpCBpSFBiJbsPO2wor54PSlx2Ay4C5zeWYacuX1YP83dMApjYgNgJUYMEEI/e/V8SfCYBc= 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=QkXxXxLX; arc=fail smtp.client-ip=40.107.94.81 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="QkXxXxLX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=enhMKhgnysuPaWLpaR6v/O4iqfrDFLdOZa7lK5l7yRHdEIpynnEBUIoNfcxM+C3qhNR7KXvV7ERHPQaQ/CAJnmRTG/mP7nPpZhpzoVDPmNY/uxFk8A5ynPYUZDFz+zMW80vPf+6gSQm/CBp7a6fJtwxuKwQtUqNtHtd4AyytRgTKS7xbsLQRkKA/pAGw5c3qJuUtv0QL0COFIq5xPy9hb8Ieb29YEsFSUpnnXHlVQAZACBIcZ1hqpBKCJBXDWqZI7yRdiV6rCVr25b8M8tgXVcNVWjk17nBS07+ukbrnjq5T12iAvJY1YgCOmSUr6WBKANOWprfses5DvKjyg31rPQ== 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=lACi6WFcuTp+71Lj4LE3f7yCGDGN96Ch8OWQOo5VmOs=; b=J5GTvKkaZCXrFRBjY8WT1gFQn2EEoQGHORM8vvp00iu+IgfiEs8W+H6JQnK/qTZhoPRbdUoSdolp40KfiCe1rqQ+YDf+kesV4WsyvrIvFwemdlYe3cyaPdxaCf+htPb01MiUS8A7/l1FSN3I6qeAhyamd+cs1eWl1Py2jdYER4yzUXC0qeBk1FF9n1x3QPVtTTC8xElra9g4UQlPq9esOHAJSDIwTyDuyopxPvxCGpV35V2uD3DrkyB6vDivMi6kc06Xe/Y4vKvjD9FJNgQPVoE6XB0r95ZZSBkCAHe35GUbvkTZHJEfwk64JDXRd1oJnsr6V/+iAD7zsD9mYSlKmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lACi6WFcuTp+71Lj4LE3f7yCGDGN96Ch8OWQOo5VmOs=; b=QkXxXxLXpawLtzjwKzQgNlmsEifMpauhTi/tuEXkHX5BNauOX0BIl1dHyzwkc8Ktek0m63Ui5WaXyP2KXPHZtlm3aUbJzof8tZa3n4aQiv/5IdOegy2g9nJg45pfRCezU2ezcmB++5NamLyf/GnO9WZnabTjS2p/OTfejtWZBsPqS4x4IIHNjGY7HhcBr8PWj2/uXnr3t8EZ9+jKvy9cRUxLYgiEIb7wE3pCWJIZ9gm5gMfhGWxYmze1sFpxCpqaSQ8kiOc5tRTGNSChk0UDIzGR5MJg26EY95AoLL2wiSzLT5iXBnMAr2qCDt+3gPFuS8yaTjSV9h+PQbCPDmmVww== Received: from SJ0PR03CA0097.namprd03.prod.outlook.com (2603:10b6:a03:333::12) by CH3PR12MB9022.namprd12.prod.outlook.com (2603:10b6:610:171::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 14:47:05 +0000 Received: from SJ5PEPF00000207.namprd05.prod.outlook.com (2603:10b6:a03:333:cafe::d) by SJ0PR03CA0097.outlook.office365.com (2603:10b6:a03:333::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.14 via Frontend Transport; Fri, 6 Sep 2024 14:47:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000207.mail.protection.outlook.com (10.167.244.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:47:04 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:46:52 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:46:51 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:46: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 02/16] tg3: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:18 +0300 Message-ID: <20240906144632.404651-3-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000207:EE_|CH3PR12MB9022:EE_ X-MS-Office365-Filtering-Correlation-Id: 484cd6d4-a9dc-4c2f-24e0-08dcce82c5fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam-Message-Info: pvVrRwV0FPr/nvhTrBnqBOVlR0P5yZbl00EayC5SAYhk98l6i071g7iIGKH0br5YQmRc3OvTsCpmn7HtZQeZZWFhyLfY8DAvoNIZOrkdaZxvCfI6jjdQfNnwh4iJlWMT5n8gfqJglZnwA5DCsNu0arIcZ/Gt37dhnxSIDTBUxFLOKP2M8difIHI+oioweo7JNPJPHPWNuSCdJqYkjTy0yUiolcjUwGv4RM6xhriVmV+9Gd8Mf06AqiR0m29tFp/30IbJOz4hk1pB7Jf+Hc8Df2BZs6QtXccfQfqyMfShLRN23KDxTiev8BOuChFAYIAkBZaKEJqXAGJ5s48My+n3nVxuq97/lXcqZWZUvL0rYk5kRmtz7yYekQvdJzuuflkNh2LTSZ1E9Aovnd7TOBqgnbZKJpRlf5+I8REMQ4d29VaXGHZDiJSKL/Q0cl+rAowZpVrmFg2Nmk7j7HCEUEppgSi9xvCX6ll9ACzhUikRMagzGtv+uHwVQ6E1l4KCOkkXGqQ9pufDTnFws3RVaniICbCQbtO6IEFOX0cL3eEqoU0OVNiqTRmd/hIuG9jsUmO7w5Ho5gRX7BtLDhcqsuC+RSc/LeiOW018Wvm0lcRuc1KYZtFmbuE3zFsq0EXD8NRcf/isx3Zmi/XKS1n4P2jhKZ74rXAoWyv4LP85J/iXDqhTSk8EoLgXxtFfVcnkOw6MVtNkNzFZZU2/AGfFWOsJk95sdTxPriTD1WeDzBf+Q/lt45x6pXa3Y3gNwZt4smQRCN43C9+hQAjLQ5JsGpOArsGpiutgT5M2pHjzd/2ZzPjDAevG1uD1+WSzdhMnnu2QEIbQbnTC+V32uSDrSG3pwg+RrV76IJ4T1AUHym4l1i6Pj2/xW7ZrPHZxCXSuMiO0jaElXXXlR4QYSnrMUj+rvRAuVYMxVFmLn7xEah0z+WGUduTsJ1hEMBToFfI4XT27W2bKkIsP3iAcj9DZJ09Mg+DLbnHOLC0KczgFWSG0yUHaajMmJqxmjQCK5/x1Ah2qFX/OQwaBsrz2Nn3pGl4BcL/A3V0APZF/To8FBii2kNntm3o3kl3z16Igw3zDA70LXM4TUmCwbeov3Yk1hls0t2mm47dXLJbGJnhAw51zC0mf+2pk+St7+vQdcHo4kBfJ1i04F+yCCOg1XuUOnUK6h1sTxfEi6+JBCH7RbPjL5wKJzJhDFWAeRX975vgjugPJ5dr6ljIo9Qf5vU9h4zCrOLNwrVlqBiKFD/xuOc9pUrZtJSVbOR+hhY6AzpXSAnm3GM58OwBYkjOWTEqG95IFYH4QM/T+lF+2AxzyulUGQSVv2Kv5aqeGhpvQ71RQKZlF1eN0PzQYL7+XwN1K81m6n2xJcXhpjSvvRDafl21OtX2AJLAGO0ptiQPc1bIy8KS3q3nXpT153kXbFZ+friADOhWc3s5IrV4x68Hz7K4/QuMlcpOW6KfZz+lOp92aj44n X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(7416014)(82310400026)(1800799024)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:47:04.1511 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 484cd6d4-a9dc-4c2f-24e0-08dcce82c5fe X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000207.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9022 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: Michael Chan Reviewed-by: Pavan Chebbi --- drivers/net/ethernet/broadcom/tg3.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 0ec5f01551f9..378815917741 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -6145,9 +6145,7 @@ static int tg3_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info { struct tg3 *tp = netdev_priv(dev); - info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; if (tg3_flag(tp, PTP_CAPABLE)) { info->so_timestamping |= SOF_TIMESTAMPING_TX_HARDWARE | @@ -6157,8 +6155,6 @@ static int tg3_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info if (tp->ptp_clock) info->phc_index = ptp_clock_index(tp->ptp_clock); - else - info->phc_index = -1; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); From patchwork Fri Sep 6 14:46: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: 13794310 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2062.outbound.protection.outlook.com [40.107.101.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 9E7C4172BA9 for ; Fri, 6 Sep 2024 14:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634049; cv=fail; b=BqBETa/OBL9evLvJ5CPhIGn300v+mujGfBq7OqgwnhXW5u2mwhEQ1ZO5x6mgqvmUBPo3nCZv13YhadLNL7ta/ugOn0sPl7A49s9J2YnA+8KmFV5JRBuCn1eSyNjPIqkdZQ7EIMBV1+pa1nQlmwbsWfIc84TqAid9b79zWt85fOg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634049; c=relaxed/simple; bh=1AilcA32EkWHyXVJK/n5CEdFK+0VHyTqjYOtQeZ56R8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XuLrSulrs5GHnCZVpK8Bjjey5M2VvoyUnBZrTEv2tUJRzmGn0GYIaXKGIplyvhTfMua62BgzdmmtDzSDNsL4c3k6tKcNFz2c5isNcc39GFuYFR3vp/fJ9PnQdzeONWoEVFLm19zr8PxF6GhKZgfaprsTFGnjAP/iF0uGkmqAZX8= 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=f4nQopw+; arc=fail smtp.client-ip=40.107.101.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="f4nQopw+" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mKdy9H6JzYgftyhbWqwozsVMRhp5rYJWA+YOP50FT9QSqZ6JNfpE2BdpvdbEwNvDPmmGezwf9ZCxt3masqt+yNjRJbS7+O2/TzMskIHKby0SSaXLakOetcitiL/w7eL4vo/8MUjgAIjVpPGx+orgAA0TXiO0jnZVGnZC+jNLiTXWboH8L64PbapbDUMqtVBXxp9duGXLMRE3FMKnpvR/vITQizNmm9HLeaOSYgMZb31XPi8NAQW4Km03eVS0tMy0CsOm+YSv6cpz7Z9OdETLCZgtnzIJ7wIcz1Ra6z4cpXrlXDwKmJCvNmGIcN1LB/Av6bwHZLN6FmF+kOyoXdIwVA== 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=BenywJM+kIz9D1BonyEEmgrzCTcRxYakXRXL3gbKwjI=; b=eL9WnA7FHaJWq0Uim3cQadKYNXvkhmBNhFb8hDOO4zfH0sls2B47k5bYgM0K0C5QVRfBadQV7O2WWmiAWYB9++rGn44xhxBCzKDzDhy6I7ZiWefi1QzdT2VMpCPIjAYqNHcxAl76YPQFBkvfl7SBp9CbtguFuONdIvlwSYOH9+u3rwXd58YqINs21g+VP5yGdiohnGaHFBB1elYprNWkwoPsJuwKemNJ8X3Fo3kosx+BuUFcug31w6HkPm5rOUlji4dann5OT7DGpkndkKbW1QWuhe6nQPqcmA48LRdPpqcCM5eT7KCz/+VosUZahUIVYD7FSxiQ044DmmP5fhUs5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BenywJM+kIz9D1BonyEEmgrzCTcRxYakXRXL3gbKwjI=; b=f4nQopw+dMI2dUEsokxDwFN2f+xQqLlaDV7RS6EL8fAeFJqjHsldT/NsH2S+cqWvs66q8nuYiF+zrGxmemZLmK+szdiZrhVNrhYjwc84s+7xcOspkUK+Fti5WkGNC5L1xH9TiB0+q1kfvljCZ5LMQRWbL9kYO466C81Nz2qjSvc5mZgBRZKuYMiPV0rDpBJyYv339O1IZoa6nUFGEgQuRk8sCcqN4IRosyL/tAFeTzqDMDFdAe8CrDlPjrlcG4gC7/ffkkcDE7hxmVGtubHPRavyZgxQ4yy57j1TBs5bzzO1AndALaEpslnxxn6G57MVWE4zjQ3oCnofHn1Q6Sln2A== Received: from MW4PR04CA0246.namprd04.prod.outlook.com (2603:10b6:303:88::11) by PH7PR12MB8123.namprd12.prod.outlook.com (2603:10b6:510:2bb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:47:22 +0000 Received: from SJ5PEPF00000205.namprd05.prod.outlook.com (2603:10b6:303:88:cafe::d2) by MW4PR04CA0246.outlook.office365.com (2603:10b6:303:88::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.16 via Frontend Transport; Fri, 6 Sep 2024 14:47:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000205.mail.protection.outlook.com (10.167.244.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:47:21 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:07 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:06 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:46:52 -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/16] bonding: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:19 +0300 Message-ID: <20240906144632.404651-4-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000205:EE_|PH7PR12MB8123:EE_ X-MS-Office365-Filtering-Correlation-Id: bcbc24e8-c696-4b2b-bef9-08dcce82d069 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|7416014|376014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: hwo9ML//CpV18fQQxthVx01aT/r0hQj1GBG3UkInxmDXqVV01VPA8zqyw5yk4kYMCN395zJNZWx1ZShLwyVM4BmF2Ov7GvR1X9EK4dgv7AB6BUX388WIsnr7mhhDXdqAuGdliKcfd+qRdTF0RupnLsH9g3f3645vEAAI8PwxBQ1aCgKnuuW8E7A/NfbfgOFCr1TmcI/OSrhDbM4lTlaRdLQb66fNB0aALDaaMI7MayMxM97H0LJfYnEYPF5VsZb6h61PVyuHO2Fk8FNmsT6ToVNoTcQ4Q4q8K16V0D+rKhZsoJeP8ukesqgA2vDPBrdDo2Tbv7s5y9Fj3NRCPYXL34rmh2sGuxlg4GDZgYlAs2R3UiMYr0ocfqdQALYAM1Hi8F5tTgGgdrs1D+Xf1u5vrJ+Ep9U2wELSyIHoAm8lvv/HKCY7MbgjDReFsNDrGd7MOlMmjOcN+v0GoUZk1BD4Z47cELWhB2G6EXPHNewNDFIbkiHugYUDsm/WzlnebsxI7fsxmQmvhxujZANYhHfO6RBHpoTTbFPBIA031BE+9E//bXwo16hdTuQNGaSVKE+3StgxhCycnbK1ozzI0z/RF8xGYzaQqXNRPZoHx4WFcr9hH50yNPyGQ/McutUHFxf7fgJSir6e9VWmQa/Dx0o0y2H3tOjqomtDYUKZvS5fkq8v8VBqjXdLj7reazOI8OMNvxODhJwdZnwptp1cm0bL4tCqSTayzphV+44+/TApDVD5Ju44qNaSa8e89O4ozjHbcxXPh1cSyNcRg1K1ifvZKiaAK/SKf/decnUufYuW+U5rwCKxXBRvpkRlvEdLyVyt+ByedOtxTExIwwbtQ2uozn2qq0oDYeQ8qNZMeV9qU/ivLvYniD++5+FowmgX0QI65ZKMP7cY5dP9hoBqWrWAlaKPVQmfJJp7L2EcA8pkahhUzpn9BToT3wB+G0EoiF5n3TULaWUW/TCunvXCTEUnFgGbEnsn0AMYASR9baWzbFNuOVapJ1AOMVtg2LJB3sHCiOXFALMlv6B4u4AbPaiIkvST8qcw+jvyJfhMF6A/Pk+MACMhflVSnPjMopHWEupdDW3bxa957+cC9LqAAgEvzDofxNLQhqB2pZEmpigLidn0zFaUE1O0O8uuzCjRC+PN0vm0FoM0MMeSmg8UVRrNb1FGWu5gHOO/wOr0WB9WTQPC4DRllSaK1TrdtnXYX/HjVFmdypOP++l+14aGH6Pu0amEJPPHkJCZzq915EmEfWvnMz9J0hpOugEzNrC7Auauo8BjjuMtZ6wLrgADUHs7W1rdYlE8w7lXDG59fNye+R8EZiDHFx4Q0bn+GLC/J/2LFl9Ap0Oc6erenV+SikK7dfbzfxswGQm665onadVjPlJhL3N5LU+vt74OzlBOFldEHBJx8eslLS+acTbiskDPNUqMy3X8Yc6mXf0zVMPp1vWUD5ItAbeVlmNpAlWPEiCp X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(82310400026)(7416014)(376014)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:47:21.6491 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bcbc24e8-c696-4b2b-bef9-08dcce82d069 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000205.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8123 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/bonding/bond_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index f9633a6f8571..83c406b8b12c 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -5770,9 +5770,6 @@ static int bond_ethtool_get_ts_info(struct net_device *bond_dev, if (real_dev) { ret = ethtool_get_ts_info_by_layer(real_dev, info); } else { - info->phc_index = -1; - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; /* Check if all slaves support software tx timestamping */ rcu_read_lock(); bond_for_each_slave_rcu(bond, slave, iter) { From patchwork Fri Sep 6 14:46: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: 13794311 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2050.outbound.protection.outlook.com [40.107.243.50]) (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 AA5F8172BA9 for ; Fri, 6 Sep 2024 14:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.50 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634061; cv=fail; b=NHFjMTrv5ZD31vwNfzpIHOqnSO0EWCkoZYjkFqUBO0Osm+yOU73RilYniFQUqXm7G8fpGoFvIIrVuE1TWHmcv5uvly983i4wfCFV/u4UOkk2bHqIcD3q6PBMlZm6tJw113IK9SLVTFmuDJbbJkwY4ziL8Sjd3lwp6V+Z6TmEGeM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634061; c=relaxed/simple; bh=/Dy/7Xnba4v5YETpCpkrUiwsYBXRWvtMyPp6oDeOBJY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WRPgkZfkRHec/zenPh7HuIjQ5JTkQtFnSC51CeVHAGKL91B9a2n76Ie5/EwxL40WXdmmtP59k/Db/0kgAjBzM2aajPFNxlQk4yJ4o/84eCC3Ltn3bDlnL3E9BVc9i4Gjn5/7nk/fk/pF8NLO1I19SdWs81Lf/NMmOtJNR/rSljQ= 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=oJxjJ2z2; arc=fail smtp.client-ip=40.107.243.50 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="oJxjJ2z2" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=W0j1tj6FLjyGGjsSnnedyjFHurrvSP7bsUhZFh43WoYt/ZI14koDehfS35PgHq7GJs/C5W16vR5KO2Er/VSTFVk0mBIXEZPUxs9HJoiK6EATuDYDf5VrrdvIwsKoD/Kh5hTn93V2aPdhpsQiB+bvfvBAUej+hp+fCop3whe95p7ctTohxNk99Ry4RM9wpjMM9PvJLXujv+uCppAptOOLSUoe5MsW6r3mooS8ZhVFmdA404gMqIcTjeabLiCsqcBPqzNOnfVvYQ3vjarMvMGhdkQaWz+dPAsRZMcSqWqFxoF03iO/O7X+s8o9KdEE+Ea+rYfxlQVYv4vjUwViTyhFPQ== 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=ttyYOm2eSxRJ3GIjh624NWuMweJOKH/PW8kDWskfvzM=; b=mm2C30DnWoXxbW2/sXJxZujkFOjHlnWk+ERx9LGyaIZEDWYTNbjN5qvZuVjN0XflzcnAKxhz8+v1QWRpTG1uKR8i8ABwuHNbUpsJk3NrbELZcpTapH2pvqeTvMFU9c0kesdbrJx/IIhta4SZszJyjlX0so5owlQexEXpKzGZ7YrzPSqng1T3xJ3XJhMRLJsG7mwkJfCAx3cdPYnV9jtGd3mzIXdCpyV8jtKEOGNjOimwfClLIvV2SdA7f5VmHZKBPumNxPRTm/yeSqv7GlPWX87Q0MTPM7Zfa42E3aUC9F0W2gCh7KC3md5mLb+7/kzWjYRytVNw5bfdPrJT73btlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ttyYOm2eSxRJ3GIjh624NWuMweJOKH/PW8kDWskfvzM=; b=oJxjJ2z2KirXub2VR08ZOyN38118zzN4iL2HzHo88KWVO3g9NuDb/ffnafYneX5RxU1pmuPNMc7+HSyJAPtjC4hVJnv6t67BIN3CKh+rd8jAba0aG+15Z24JavY9MM3c9jKHPPcSjkPAtZCG15Ih7E+TAFEw/+xQEbyJbsD7kbjF3WlDKGAmKpKIRLAnCWJJvfQkVoPCzMvm69X5v+cQ8TekXrpRQvDxxeXI7qiRA7riL9OY1X2Ias478LQ6nnrkUPU7lZ4K9TpIjA5gsNJa/JUscKDaQbOC+xyKx5gRTryRljTKGrXpWCDy8Ga94nSSSg7Ee6dEwsAb/0RUUfmQgg== Received: from BY5PR17CA0060.namprd17.prod.outlook.com (2603:10b6:a03:167::37) by SN7PR12MB7836.namprd12.prod.outlook.com (2603:10b6:806:34e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Fri, 6 Sep 2024 14:47:35 +0000 Received: from SJ5PEPF00000206.namprd05.prod.outlook.com (2603:10b6:a03:167:cafe::7e) by BY5PR17CA0060.outlook.office365.com (2603:10b6:a03:167::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25 via Frontend Transport; Fri, 6 Sep 2024 14:47:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000206.mail.protection.outlook.com (10.167.244.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:47:34 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:22 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:21 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:47:07 -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/16] amd-xgbe: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:20 +0300 Message-ID: <20240906144632.404651-5-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000206:EE_|SN7PR12MB7836:EE_ X-MS-Office365-Filtering-Correlation-Id: c93a0104-f471-48a3-fc9e-08dcce82d81d 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: q6R2L3P4T3KBE0kvwXN0OstX4AaXgB1egNprZxsKilpNTnV/g6hHDkl0BSsRgYK3J3mHUKLiLl9htvdCobr7avNGj7anpOvxpR5Jk6ThJdZrTWg8FDA6co6sg77fiXwXKG/kxvC6DhPrx9fwQsSrSgAi+bTLtdwHZ7oZT2+YxMTsQtFxVawQDKR0yvMVFP9moBJAQbTdh9ESYu+zxSAw/5eui07/6gADbXMd3qe8D8nYj9HKuwns/cOUGXfQHY1Q/3SxEUKCO4arJRpzqJQNJj9TPe0c04ZGwk9JQDZyGZvtfyTPBePQMwgRu/pjde/cvK5N84vI4YELnZUGRDQXOlXotszqHOsxPuobxfLOD8PdbOCUeSQ7fgJAwwNAoW9oTu+UmIr8EcxS0JsYIEdejC4A9xCrqxwVyyTzzKOChVdkuboDBNHGsI1HbiKqC+Pv3DpDHVJvCEo7+M60H7ZNHfoclu9bh/aNke9fDwFjxFleWH79+Uj4yqWo9gPXqmA+sL7Uq6sRdmIEkF4irCFJ3/LGtvms5yFy1lf/44s4/433t5dFlWtXL7tCJwwPAdam6rdgAkGCgzWrh7ZJKYQv0qcsTByLip+bFGT11jO1/FrZFqePw+XOdWqK1KP4olrlBGPj3mpwLOsOhWVXfzzO84273ZT5P0Y9A308UODULmu7MgOVa1ddRIs9GcEu4SY2BdZ5PXxe5ZyLcQNsmepTxFXig3fk6pQIvvpWoD79271QOYfdCNxJwevt+WqZbYlTXkDSnWiZ/m3TNGlIYLegkqQLd6NPldHZOU9xcnKo6JQmUAw+dd1mgdhdvMoZVh5ozjDaWClC560n4bE2TN/m8ZvBBOibGkESiCZfc6vDhwy0IjTmszLFR5c9cewZeM2qhOvX8gc9aURcX+cLL02nTYEbPC6KmTN0WwVa2p173WA5WvrFvZsxOqAUQ2u5tc57b3Y73UEhz1STvB4sfQNViASplRllXlYPqByHlh5mj7sUV6I0wABgtQ9xBo+kqdMlBa09VAqFjTZ16rBkM9ToNp9Lw3EFdIG6RBzIHpaAIyC0kHhC5sQs/YscN+Ml7Ex9quKmFFTgBP7A0D83FjGLh68PjBLEPrnNmaeN4dusShDLOEAmWWKoFZtrbJfcE9lLxkFLe6EwAxc55xyXbfVX6QxMiXyv9rLXivkTzAQae33nU9UNBLtmfi/NroWx3S8WxIQO/+2aQ6uKBI7B3OvG/jpPYEYvtLmUhQAO6OCJ58d7fOfG77CdHODZPnO0Y+fI4xiS5dc/fxQR8Isn1nxYiTxrotWTcT4cLVYQkX1RKF0Evzs090W+qANcf8sl6NrteW3Py/iJKEbyjDmKhvwlgxiVWxAE0yi/Tiy71pe2Ly/V1YGYdUms5zEXOYYnTlqL2HV4pBigGhuiovH14NVWZiFOQFlS2QSxl2Hpf5lqbRuD0t8t0gh6bQhhT12yB62/ X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(82310400026)(376014)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:47:34.5588 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c93a0104-f471-48a3-fc9e-08dcce82d81d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000206.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7836 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 Acked-by: Shyam Sundar S K --- drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c b/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c index 21407a26f806..5fc94c2f638e 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c @@ -582,16 +582,12 @@ static int xgbe_get_ts_info(struct net_device *netdev, struct xgbe_prv_data *pdata = 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 (pdata->ptp_clock) ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); - else - ts_info->phc_index = -1; ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | From patchwork Fri Sep 6 14:46: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: 13794312 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2067.outbound.protection.outlook.com [40.107.92.67]) (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 4110E172BA9 for ; Fri, 6 Sep 2024 14:47:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634074; cv=fail; b=jyDItV5VM07MT0uyIBnn25e12SlNa4Voqhu0gXvv9YweL+CaUOKWKH71xBsBZdYeO0NcaOUGJe3hUgH32Ooyj0emObZj9WR1tNFn0BtNA2nok1xT9K2sn1ky10ng+dG1hhJEycmw4R+Rh5QRsd0f7UfKb5aIa55yV+y2/n+JyLo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634074; c=relaxed/simple; bh=hG6Rtj4zT/RsZa8MmRZH3jmyYAUgTve3utzeXjLELEc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=F61ziRsQEerBAUNZFZBBkegMINkEBbeie1X0Mfahnit2HZo7dQyOHgVpQz1x2kP3GA6KwZDdkpPQEAfEvq0I3BYfToCjduHKaSpasG6jqd1A3RoHL9ltJQqWgFu6jiG6d0e3qcq6eEfq4jLZFKlixaQ24StWxt8IoWB1ZmHC1+U= 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=URTC6JYj; arc=fail smtp.client-ip=40.107.92.67 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="URTC6JYj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tAGl8i1yjxCoimdx8KARAveORXHUqJ7ivTnwoK7QZ3hNRU7U60f+ITCpryd1i7PFqP0JXiEovasYdoMTQ/hchvmBx+3LQV+UrO7MuGZY0q6kNyLhHIpzGk6Qsy5nLgfoPly4ICRrURR7f5EbMLAAIY/cZcATAUwtoTp91HUrKAOa8UGsqdjL7p+FaRWz9KSlmyNN2fAScSc0Dv0eObdpvqvUINrMxRGvPw2ymKHPAm8koWghyAgt1Flpz/l7za/fipwfP/oFSCcEEd2oo/SDYuPrPehj4v73OYKZQCNwQOcxuAndGYqLu7V16KrtfSWX62ECCbm2HpStN2svMFvhTQ== 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=6Cy152HuT5gGD1yarcfRz86ovri7kNtKhzteQhYXYDc=; b=QynLgkWxqNMP7ii7NMTnHSXNa2Cq3hGAA8eo0V47B1yKbALKRRh5BF/E6aDUwQ5RJhwI8VTpuy1hovoY77u04iyWpaSsQeeDqj/wOfrkWAebFICzJzc+wY0Fqnj+N/TuAR5I8C0VdfjI9h+sL3Ebr1wC8UYVG+124eAMXZskRq1cawLQo0i1PxGEGtb0lQzsdBGT2pLN4be6bQjU6h/2JY5XAsZneakQ3n/T3CAq903amEuuNdXPUg6U4ggo0nyvOfSLUBoWNoLo61l3QHv/Ic9n59+v3aMejAjvbVjlOVSk/1T7matBkcMqKyXJH5DeBJfvb75KnJVgqeh7QRKVhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6Cy152HuT5gGD1yarcfRz86ovri7kNtKhzteQhYXYDc=; b=URTC6JYjM9WjxMLk0eMAZzkUh4oZscaE3aG3FNSqkv2UyM3QlXbXJhahT/lTqbH8ZPCN+7/MOYYbaAnhfI+QyKsP1VnnAKw+2omtY/st3dl2hPMolfKbxCr9ANfDOM3FezmUzVLruXWTQENcKLV1QSFDJtSqe8UBdTsA5R0BNkY9r0fJ/oKmDV85wlTuZxX21kRV8WFa1nJjTZIcdd5KPsp3aLYlct/wC8anrd+THc3e4wi/PYJEvJHEzGTgfNKCef4nOsfKYhvTm8rVEy4wq68ByqKcajpP98G1I8NotiBhBFyUSVve3FwnnLCa0wIlWCksVh8M5JrYAXGwX8W2Og== Received: from MW2PR16CA0020.namprd16.prod.outlook.com (2603:10b6:907::33) by LV2PR12MB6013.namprd12.prod.outlook.com (2603:10b6:408:171::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 14:47:48 +0000 Received: from SJ5PEPF0000020A.namprd05.prod.outlook.com (2603:10b6:907:0:cafe::d9) by MW2PR16CA0020.outlook.office365.com (2603:10b6:907::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.19 via Frontend Transport; Fri, 6 Sep 2024 14:47:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF0000020A.mail.protection.outlook.com (10.167.244.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:47:47 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:37 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:36 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:47:22 -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/16] net: macb: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:21 +0300 Message-ID: <20240906144632.404651-6-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF0000020A:EE_|LV2PR12MB6013:EE_ X-MS-Office365-Filtering-Correlation-Id: 6152d41b-fb82-4840-cd8e-08dcce82dfed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|82310400026|7416014|376014; X-Microsoft-Antispam-Message-Info: FoD/Ma1FEtPv2/kiC+v6HmNQdSqCy1TJcW3FkhC+lra3kEVWf+58G88DoCVVYT6OrTI9pbW2WF9NQXf0BBdmIXAsHcvXMy6u3saytnN1jxfBpEqJdDIgZtYklPhDGYpOLHtFewKOO1uB8B2D0LhzMUnbPZ2JZth+/hkTKa6/b1MOYt0kiQhBVF2/OPorPtnMcyp5Lq6uPpXAxbu/wbMF1WYu0abz4ruHiXVmqKqZ2eZ9aOxvjMzpXOJbFdshjcYMcDYgarvO2fNO2WO+6bgT7rSnK/6SdDSFhddYhqE5jyh0RA/qpDHgHTd0omxLiuCwddbyWUpcucxsF2w68ENvxwpdwsZ5oIdC7tO1b3HYw+R/YSu7ggCN2FxCXlqXjRExUrdmZbrw1HjMubRjeuo/WcVKj0h3bxOYzV1BpgvCl+P4jQF0AQxROdkyb1zJW4+/gNcf0TueHAXxYggXsJ7sSA5j86Mgxlitkmh9WPzQ/M3OG/ltqJH4sgG4Qd9UympYgVyzm6nrcL2MHoWQpo+nEZWY5jIfkYS/BhXLaNKt/OSUDCaSo4zH70QQpbQR9VZP1HTfww9Wjvh3MmHIgcFS4ig4xcEdlDBveIqc0Dq+PcOnXuo9Iq14tyE+KRgkpcgwM3BmqZ8GXAuEbnyhb2Yy+3I/DGk6lCP6uxQvhAs4vugU+WYfB6/3YG9SrKaTuSCBkOm43aIL2SzAUmXjxL0ZFKtMq8QVrxdaZI5Xtovb4h3xhudwwEDXBWBo+6U0wmN3Z727TD8gu2czC4iPA+52CGMnRVewqzclPihqYP7sG675o2ZXfjdE1ZlHwH2iU3Oe755v+1RyRAoqWcLff1BWp3gpCm6fiaAVEVxLV56U/pPkiCmytxbPjjCuBKYEwHDXIxqCdfaATvAWyq7dmvCyyZQe4chBuf9uU5UX9lXsiP+BJXm00LkrrrjiR8D8+n6smbpbJtHC4EawssAxepibumUdpuaWKkoExfDUqUAfsp/8IPrJPnT994/25jBQ07YA0OIeTX1/9RWdVSo40b2VQXwzMy1my5kWo/oPqGCi+7Cm45BY+9pY5n3lAFVRD90nQfVs0hPCrEjwZ6dr9K4UxYRMZqJYqgcSMxIIzIcJNXhCpMsXHbWwIHhBMMYmMcLcCEchFKVK85+uUpCPGNmWvpNqOAF18ESq05JhDb6XP61emtl7wUIt4taa/0zFKGSH5Qr1/vQgCA7s1vDBzXQ3LP4ieh9W4J31c2s6RFByqrL23bhCEfV5wizL4UpLtKaQ6V5rqBw+6YyI17204BEFWLt5K+lXshk2DEPcSnqH8T9GdldH76DHRKhO65CUcKqraDAosxG/uJdxibyVokbP/yrY/btBfO2MW7VXYwMrti+lm2Z0NOxjCtUZOvY4RV1PS+eEMiVVKElvDflaQ6M5B07IMXYepLQfBzCUd2sCiwk+hlMGDvrugdpUl7FHaPuF X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(82310400026)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:47:47.6648 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6152d41b-fb82-4840-cd8e-08dcce82dfed X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF0000020A.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB6013 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 Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index 95e8742dce1d..e41929c61a04 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c @@ -3410,8 +3410,6 @@ static int gem_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; @@ -3423,7 +3421,8 @@ static int gem_get_ts_info(struct net_device *dev, (1 << HWTSTAMP_FILTER_NONE) | (1 << HWTSTAMP_FILTER_ALL); - info->phc_index = bp->ptp_clock ? ptp_clock_index(bp->ptp_clock) : -1; + if (bp->ptp_clock) + info->phc_index = ptp_clock_index(bp->ptp_clock); return 0; } From patchwork Fri Sep 6 14:46: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: 13794313 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2074.outbound.protection.outlook.com [40.107.237.74]) (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 BC8982E40E for ; Fri, 6 Sep 2024 14:48:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.74 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634095; cv=fail; b=hHkAKQo48jshHMFzVjlaMsHjQesnmfr6AD9PL2/ev8Byvvn+i5K+Ah9YQS8ZezRc8brnRiBLtxqDFuY1GdPXVMcEl/fVZyjIEBLgmHY4tHb+NtjHO58NcVOhQuVllWcV6HUzozSzqMBjaZTfyBf5GjN3p5rPbm7EDWOIP2+P3N0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634095; c=relaxed/simple; bh=5Fbotf6LuiBSkKTdGltqfERaCkqAL+xZJIjGCDUG+5k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dria8AsKcUAjgR/kIk9QXoQ6h+TnqlP9aey/7cedrqA+uflP6UzieHA4I9cIJ4mzXCRgFnAo7Dq81ClMs7YQcFB2Dumfleu9cOg38IdzHuqB0yLNdlh3OnOKv1SNE7bFa7lHN5SDbZWjgK3zUAT5eWL9VJm8F9NZ9HF7DW503Sg= 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=aB4n2yru; arc=fail smtp.client-ip=40.107.237.74 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="aB4n2yru" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WAgLYHfJF4RcFxbQsOUQQyKrpruLC5+IC37Pmvd4hjUs3Alur2kzs0of33SnkMJFE9xwf8UKBKXCchjBIfApB83VK2QUfZ25E4+55naWYoPO71j6p1xEuZUGIeDuBHp5hZL0tY7ZnU5fg5K8OKx6pMLkhOpQO1g45AdK+EXTjxd4bgPb4bjHKbVc5HT1Al6INoecv24HZYncIae3ajDUOI67ArNTpmqNw7dwvSBmfanP9lgAroIgi3uPZanZmNCrbGw00dJqwiMUipTaq9j21UPiUeFS/V+OGBym91DUsnNTGgzPHcZW/jXTNqp/+c5IsOi/yr6buDYdDtU7ts+UfA== 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=Y8zCldna8CPFCJfkITzphY3Nn7HzHCPlhhdl6VMvZsA=; b=g/DD4LEGf0Bzyr85nm2Nlw/yUHvBBbg50rd0DJRR1HT+a1ODmnAg4Z5RKwiOpyoatJd5jlXFi3SV4kcz+QSFtcuoqtBjTXc6djiB7wt9+ossjThXp6feUbjtZzRyx4KrYESs0BkHI4mQ08SuNRbFOdgwjMnS1j4AIZUlZxB03IuUV+Y8+xElkStF1KhHATPsdRutmK6my+M/z9ingOpw1lE6O8Lo1cBSzer/g2TXA5nB9jtHbjZ6JXN2Zf/ts6J11lYjGRKFPXdYsF8YPO6KHaRBHHbtGYf/N7E/AwnF0WExN1TSqjOTBtrQA4bRTtHzMH9exLyQn6fSbB8AY7B1nQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y8zCldna8CPFCJfkITzphY3Nn7HzHCPlhhdl6VMvZsA=; b=aB4n2yru0O2MxJKsG6+Sawpls0WqdQPcGUTsVu6qWaTFhmBZIACfU8ZvnCpdqjIBIto8NxeEyO+SoY/QQa6osDyTFzPeZ1RgCCv19FF3DthEFJdypcD4mmjFxq+uoMtjO2MeyaRdg2vmOdwYHfv896KnUI3qP78+Aancg8Ho7Co6GaqITK/O6Hx8k+Q4Mj7zOeP7RDcU9DJuv4Nzgjff+QLRGa3VNPCDP07gehfa/iZKqORvl/AmohNM0BzIjJnR7rODWU+OFPjIf0G5z8QSL00ADSDwzSrp8AToeLD/sJqAzVmYJFxk7xaAo11e7Xpd+i4m5HDv6kdZ8UrQHp1QSg== Received: from MW2PR16CA0018.namprd16.prod.outlook.com (2603:10b6:907::31) by IA1PR12MB6281.namprd12.prod.outlook.com (2603:10b6:208:3e7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 14:48:02 +0000 Received: from SJ5PEPF0000020A.namprd05.prod.outlook.com (2603:10b6:907:0:cafe::48) by MW2PR16CA0018.outlook.office365.com (2603:10b6:907::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.18 via Frontend Transport; Fri, 6 Sep 2024 14:48:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF0000020A.mail.protection.outlook.com (10.167.244.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:48:02 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:51 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:47:51 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:47: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 06/16] liquidio: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:22 +0300 Message-ID: <20240906144632.404651-7-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF0000020A:EE_|IA1PR12MB6281:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c1644c6-0734-4fdf-e40b-08dcce82e87c 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: sqNia8HXpNQzz8nNcBKGdJcfBFBuE9nZ0941vqkctW0CqNSvg8SHXXziQWJC7vbPT4GG7kEEF8RSC24qhuCchL0L/dvP/kVSVGG4iaJiCCKgBuFn0ZsNodJWgcxfhBymdhlesoPB8Bz1CqpOaFyDuq4qnZ8baWd5DWuLhIPzpC3et4aBGEDe0bZe8EAKcaiI+rIfxBCB9mJTx4R8VMqMOUs8zrHulVCPQO3egYfAIyVO5pvDg4gFcyl9uARe9/9pnieE+cQWF/N3pQlyQVNFZECug9dzmFCigz9C3dZmec/VzTaKAArT49XSag/CQ48FLx56XBNXbQXV1wiTv84eqzk70zn/LiQr/HFNbA8BGYG1lHZmh5K68Em7Cmm+436WqXLkZdd8FNt8qffM8RDdQxzQ8f72y7sS7iGw7Aw51ZxfaZ4AIOJjKqDlQBA2Zi1oe7IJZI2ZYBUUfpYqJM3kVbP32Kn/GUgJDKb2wSBidJH+vUSDYRGAWInLChw/EmDlAK7ZIksdsEfn12SSh30xXv9yrVF7nWhMviEKzjlHK9tAcaGVcTdHbKiv1kxpZGoa4d/WpToZDSBrA41AW2jdAJNxAlGtBPRS4NGvR6ZfRqb0QJ3JN4fvHvdYZmN1l1YsFEPVF+Ogz5y2rX8S2mBKBbNat1pssdp1bsnOKIyf+p6sm1A78IyrIosVWzH0GP65MI2kK/t7+KqKdw2rBEG8bJFlwIAG4acP1BCTIYh/DrhqCr/38AQVl/5YRavJHwi+XLZOqZHk/Jd7PDyj+lwQmQWxZIGA/TNpzEi9S702uVXjo5ck3GCJVdNS49XTV5AjakFPbueicqJNnUtGKEV7gnDKZya/1Fje6zqAed4QVCVBz7K1/RJR538gRBkY2d9cX7lRS0t6YwkkKH/oBQfbdHpnDEV1EnXzNfPVWwKd+8CyBZIY7pjijaKEUeZabDrwlpgCedgWusz2ETvFNVqJTIy96340qs15bxJXKkQgtOoL0XZ6WVnJPoRaZD/TrvyIQWZfiFVnrZyTcT4gmdl7f8ZjsQGaOAsi5rZwUgyMfNX8u11ya9mu0v1Tv4sAWfKzEFel9+pzp1l0giB0ygBA1RatUxe3lb1fXBp8XPPyF45IP/L7K1vRrkTxu+huFmEHvES6RRGB+HlD8vTytREm8KmCMNNVusVj1UQ3epSPWj5DCL7MGCgHoTWDsgDDCwEBPVZ0hN6RpDrf7VDxsE4yHvy1rNemyjaC0iZq26jPoSwnKGa8nnhSq/pByRZF9Kf3hBjITKb+4o209SaYNKzVLOC9lk/+PdIeji5ebCIH8Q/XX9ENGndgRhPB37DwFX8oigKjavZ/KfS60c7/pxREKaXaaFRnPA7ZhwCFH9nBJZUtB9zz7ujk6+h5hyyBXsMCPWpdkuqyQnjb2CInuu6TWU/3QFeW4J/o54AsXrUT7p2ZD38OLhz1lLt30kd3ONUz X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(7416014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:48:02.0399 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c1644c6-0734-4fdf-e40b-08dcce82e87c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF0000020A.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6281 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/cavium/liquidio/lio_ethtool.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/cavium/liquidio/lio_ethtool.c b/drivers/net/ethernet/cavium/liquidio/lio_ethtool.c index 5835965dbc32..c849e2c871a9 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_ethtool.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_ethtool.c @@ -2496,37 +2496,31 @@ static int lio_set_intr_coalesce(struct net_device *netdev, return ret; } +#ifdef PTP_HARDWARE_TIMESTAMPING static int lio_get_ts_info(struct net_device *netdev, struct kernel_ethtool_ts_info *info) { struct lio *lio = GET_LIO(netdev); info->so_timestamping = -#ifdef PTP_HARDWARE_TIMESTAMPING SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE | - SOF_TIMESTAMPING_TX_SOFTWARE | -#endif - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; if (lio->ptp_clock) info->phc_index = ptp_clock_index(lio->ptp_clock); - else - info->phc_index = -1; -#ifdef PTP_HARDWARE_TIMESTAMPING info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | (1 << HWTSTAMP_FILTER_PTP_V1_L4_EVENT) | (1 << HWTSTAMP_FILTER_PTP_V2_L2_EVENT) | (1 << HWTSTAMP_FILTER_PTP_V2_L4_EVENT); -#endif return 0; } +#endif /* Return register dump len. */ static int lio_get_regs_len(struct net_device *dev) @@ -3146,7 +3140,9 @@ static const struct ethtool_ops lio_ethtool_ops = { .set_coalesce = lio_set_intr_coalesce, .get_priv_flags = lio_get_priv_flags, .set_priv_flags = lio_set_priv_flags, +#ifdef PTP_HARDWARE_TIMESTAMPING .get_ts_info = lio_get_ts_info, +#endif }; static const struct ethtool_ops lio_vf_ethtool_ops = { @@ -3169,7 +3165,9 @@ static const struct ethtool_ops lio_vf_ethtool_ops = { .set_coalesce = lio_set_intr_coalesce, .get_priv_flags = lio_get_priv_flags, .set_priv_flags = lio_set_priv_flags, +#ifdef PTP_HARDWARE_TIMESTAMPING .get_ts_info = lio_get_ts_info, +#endif }; void liquidio_set_ethtool_ops(struct net_device *netdev) From patchwork Fri Sep 6 14:46:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794314 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2070.outbound.protection.outlook.com [40.107.236.70]) (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 56D781DFED for ; Fri, 6 Sep 2024 14:48:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634106; cv=fail; b=pCu0KuCZzzq9SGHeH6NKReeIGm99r6EIifiSSQp/y4U9gM/6k2DlNymyyXkJiqCjfngpdgUVutc0NLmPyyNof3l7i70+8GcJ3oLkMLK2VPbSFZ9Du6xrZVQBx+kkRBykLF9hCjnt0toEvUHQwoGkhHwCyW5Hg25bXQgVrjPDgDA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634106; c=relaxed/simple; bh=Z9SugJbd/InKDIGB04KxW2IU8C3UICIRKAGDIFoLDfY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OtB7Q23bsfbxrnv6ait9j2rFtPPl/DqpDDHlaMT7b3mcHEvd101FN79fWkgNcHvWlm/ac8QLscaJ71NfMzNEcgXMq96MvX7dJvmd/Z0fauksaCXBSDaW6M7TVNIxMf4DJqAsHIOfR7PnfZfBiVXCLpCXVd707WsSczEPI4qcQ5g= 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=kpvv+onU; arc=fail smtp.client-ip=40.107.236.70 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="kpvv+onU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Pjh802Ef//XlOf2SKAucBtCc1mnOECvujzWlxZgkePtaha5Ks0uwU//cdH8QMNcYwhtg/+tPZIFOuncFVoeCYF9ZX3mb5pt2c5fkZOp/sORgXHFTZBznIC+rXmRM2GybApWLpstWIggppiImYklMbiNiL2g+pIligbvvupvLCJCYICjO6tPcCe6gkSkymPxWtdkn/Tna4MR2SuBJDSLgPKvBIpsbTWHQceB2/yV3DOGl+wCMJ5FMoUxlIn9vNjCtNhKJfKcH23/CfrPV86t//6Z3+w6IkWnkn891Zc0k/Wzw3/CFMh1REESdjjogO7KvfK+nW89wC3ku/FrGG4YEjQ== 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=9+M9PYZ0STgxTB7FQVJN2H8sQ86OaJ63giOmOXBPsD8=; b=RAk3UlIY/lyp4q4G6IPCPSFaypHspKhkWjflT6vmY/8RVJAFHx+RLlrQh4EYWV0EqHtMm4AbaggSae55d8LBK12N9g5aRDbqYClgIe8N6yFkRY+frjzLWhtzkYhKKcElOpUf8EATi1muAEgfj2oXJvMboiXsz9vXnWwecrIQ4Z9CWfBe13lU3KBo6OMwIKB/CCeo/T5lgwgGue8Gyy39Xv2Vf9epeOf5BGwc0xGm0Mp8grN65iLWEIuNBbYlTVYPcX0bzHJvZA51c0Gl+/J3MUi6lgguOXSsb4fCz64LskYzK9tJJrbMC1Zi/mFQB9ywSE+PKwGacRfsTZ+TiRzAkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9+M9PYZ0STgxTB7FQVJN2H8sQ86OaJ63giOmOXBPsD8=; b=kpvv+onU0WVcmfv8JSY8f0KD+fe2Is4bc51J3j96pP1E9Z/scwZlCIJcC4t22D9V02iNOI/ZPgxijyykHdBYg3/8og333brVv3K6QfIiVFsBhRLIueiM3uLFXQun2fLUKY0OE9RBQNE6Ri8TuavrjlnXkb7anzi7QtG14Ode0wLhxSJBLakC5MIgVVzTtgWKKPPzGTfmOq8fJlFOiWb4digyn9Gym/kGlIzIIH8W6Ebl8L5Tr97V2MKXcFrBpED1LziIR4nSxrnYC8QNWPGlLBFflN6v4ZFsbqX/KTInOFjeffRG+WUcuUKb+RpvGBkAm1xU6dgHNUszDq0HYoZFww== Received: from MW4PR04CA0306.namprd04.prod.outlook.com (2603:10b6:303:82::11) by DM4PR12MB6301.namprd12.prod.outlook.com (2603:10b6:8:a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Fri, 6 Sep 2024 14:48:20 +0000 Received: from SJ5PEPF00000208.namprd05.prod.outlook.com (2603:10b6:303:82:cafe::b5) by MW4PR04CA0306.outlook.office365.com (2603:10b6:303:82::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.14 via Frontend Transport; Fri, 6 Sep 2024 14:48:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000208.mail.protection.outlook.com (10.167.244.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:48:20 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:06 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:06 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:47:52 -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/16] net: thunderx: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:23 +0300 Message-ID: <20240906144632.404651-8-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000208:EE_|DM4PR12MB6301:EE_ X-MS-Office365-Filtering-Correlation-Id: 22c04f20-7b10-4937-a393-08dcce82f376 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: 3eV5m6oBkVN25OLp+86DHvBFM4Tat/3kG8chOr0UvZRRycpWE7vnLbSIRZqhksIJzQZ4kCCmV/dWMmtHRaK4jVRXDPH9knXjzPEcOp4RSO1j/lKeBE8PPRgQD2jHGKpWzCHoi3ZF48OQ5CkzYBbYO1AftX2B3xrJorKslRiC0G2bqK1VS4jjRjpwLX1sIS6SUFH1Xl98/uwj5vR15N7nHNONuEU3nfghdPYgIvlFG8gcK6LrHCEHbbwdBgh768EBdUUhTzwy2fBEb9PY9OxPT4PXCWZ7MlGqSjUXBbuYfEQIubMvkcWlQ5fSlw5y3QxAFvHyPZcyIGGwz0q67WIebzsQmeq9BD2bXtoqdpAXkfdv5QfXkq2lKHp5eJTm4f1Y5DEgF4LyoODTQ5vxYrF2fE5GaVv8VQdYACb64RaHI2wdIymh++olOHUlNmnMWBNgLFr7w3OTGkCbCKRnw9unasipvDskw47R5ejFBLjp5W0/UC7kIjLzLorS/WLvasMDMipiuF5dPbYgdNph1GDKmHomNNt3aZp+ffv6+Q6EbnLQJCRnfGcrBnOOgxsTp/AH+SzGYEh7xRfJ/cs07GXVO4NK5njK5Q5pjMsBBTa8QztNkSsGi2bXyhRxnkC8sZluyUi0yEckdJjDNlWS9beBtB43dyZFr+R5/6X58h+aGhBH62DRa1YJuBih6O4nDkrsMgOTuQCZb7tSm03SNRCTykkO7vLsd2lvvv+aUhbDofCtNEGBpAkChIqqpZgf1L7naPYu5RrAkGXY5fpHSSLEY2samUVArbfhd3fwLaNlFCI3Y9u0/Z1QxeZkeYwOTIxHxvPCZivr9msuCa/hRtqPxfbzfTFHe5XolvvLPRJ8Q7VCfiMbCvSjvo0o6xMraqFN+xb5+uLnZSCENpMpUOnKpH+NTcqKLkOPeSQw/Wdh257qxaHw7I9+t5y034pSPxdD4qyhy+W0PRDkJMf32Cu+FpE3ss04TmUxnV1b7FtJuduVY9dpJ3PSLq6bgkrlgCFjCYZ0gG8eI7yGKqvOOJhVxG5BjZ9dJ40Sqczj0h7ZWti7KHvkfQRwDyFu78KSfs7+VaewAJSYlchGupMW1xttfJuC08cfMkpjqT/A118X1DTtomZUG2gj96NFD9YczoeIt85hw6Otv1zIm9L7Da0+JLoIGD4ModD5OIV5qG6V38Rx7obmOyeFN1bSvUlr5af5Uy9Dv+DeuvhRuLhpScuh2FP8DAEvUvj/t8B8Dwssq41o72Ak93+5P4oOnsrgUtRSpiinqJmEhIC/LuINi8oSV0FB6wCQAJtxsazHs4ueP5uEfmJzB8OvOs1VnvRLdMyqa8Pn0T5CfRgO9y0U32cci6DdUbqVzR8CePNL/qgHQuP9v6Jr+ztd9f0RFJ87Nbb8mE1xV8/8mZHpJYIGU14+qgTp4rFXM4vxkO7CqAGzBWmUtBf/vgr8VBZ54s0GbXYm X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:48:20.4539 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 22c04f20-7b10-4937-a393-08dcce82f376 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6301 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/cavium/thunder/nicvf_ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c index 6a04d2530176..d0ff0c170b1a 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c @@ -844,8 +844,6 @@ static int nicvf_get_ts_info(struct net_device *netdev, return ethtool_op_get_ts_info(netdev, 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 Fri Sep 6 14:46:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794315 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2053.outbound.protection.outlook.com [40.107.93.53]) (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 EF91D1CCB2C for ; Fri, 6 Sep 2024 14:48:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.53 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634118; cv=fail; b=sdrAiTWWXMmIW6qnjGL4MDheY7yj41sPX43tO3iTeNt3Zcbr1VVwEN7r9q2vzwvSo5oS+KknAeAQGGkv23+59DA2N+P5EV2eMUmk2kCyW/LeDwTSygdN/2tICOmidV637oOcN7mna8cRnLa+RiJWN2oDkLQ4UboEFA3wuG/AP4g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634118; c=relaxed/simple; bh=cGv32A0WGyKfmKEbaoiVLr7xH8DeRt3KrGjjxkL2DG8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=W11aoADKVhiMJNnm7KU+6g1z/kz+7lHGHBnJCx7+aRNeutpxZNHCGuJ01HjkvuWT3l/fmqNWCseHuFk80CYRbxnS9BaTH+37y643k2UnS8ViR/vsxAvO6qRs8GI2UjDIuOGpYqBAcCl+p5+hqUwtZ7H1eXc8CqN3pgKqCVRdpts= 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=mZd7hJiJ; arc=fail smtp.client-ip=40.107.93.53 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="mZd7hJiJ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GxfkF1TLW5UrZ45D3ctam3kgdMlzni1KD2yxNYpXyBoUZzEMDC3sXkV7YtT3/tb4+yHGhmYOVMd7vlaebIym+XrMEnzUMLpc4SyWKthN+SJI7aID2iSPA+stJNVoZU15e4ItphdMd4TFdOyfnKqPBttSpHzx0xUtNkHFI7E9akN8MJHRp1s5Ydokwj0jNFEtvN8mmrxP6F94mTPBbwMxWSzF6X8C65qFzq3mCrP7i301aE+MMOLO+0Xn2FBxwZH6fw4VSMM9Ik2IfSbxBuv9U2xb0jsEJWonFVL6d2cINNi99C0YHRNro4uyqHt4iO7Jy3qdBt81yHFcGW74ZDjDUg== 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=jdQ8xnzZLl/ZMJQGnDTRHc+QmTPf7/FawNLBAX6Qec0=; b=bnslUzcvuHKxe76Dq8buGZrDcoDBhgVaBYoke0cwe9kiIv5FNXCp7fPoLnU+gvW7CJ0r0cZnbc1eZlIrQA26z1UgONi3Lgx45f4A2iN4vpEdkBqpQBcv+zDSJZPDWsCd7jSrd3RR1991YTwE8xpQ9BR5dZFmnBdZr9f5wLpNkeCzz7F3K7DrDQtrAMh1YftyXVkZa+ZwUarRSLjia4mdPD9VNUomjJo58VELvabXruMTOWHJveg0dXNnd6xfOSOWFYcymfXn/FF/piSxbWJAyvtumOBpLbNaOKBoMwbwRYvr3dc76xPttlZpp3nkQQkKIzRYWAJPHhPJX6fjp/PQ2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jdQ8xnzZLl/ZMJQGnDTRHc+QmTPf7/FawNLBAX6Qec0=; b=mZd7hJiJi3rBbBxJ6mtQ5pV5dexjjLq9jBLKkYd3molDTCk0Qh4unpAvHJ0jta79K4nssusBlq3b/PT8wEK5FyWGXHjApII9ugl72/NZrDTuXCuUNtCAsLQxhBdbqv4IHCQcolL5bahE9rJqAfOTKVfaAVHndb6/yXUjO1W/ml0t504vYrcDfhaeaDTK4OR25P2/cd4jZhJ2IE7iekpIZtCnt48dhAnpcHWzPxXJgoFM81QWTQEZj4XjvnJKFnfLdkKZ5lhlIy0diFqWInkjcATX/en2HqfmtKVza7OCnNUdUb6Nh4roviNJH3xJeLCPdhjW3BjXlHSzWUopd+cGCw== Received: from SJ0PR03CA0371.namprd03.prod.outlook.com (2603:10b6:a03:3a1::16) by PH0PR12MB7838.namprd12.prod.outlook.com (2603:10b6:510:287::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Fri, 6 Sep 2024 14:48:33 +0000 Received: from SJ5PEPF00000209.namprd05.prod.outlook.com (2603:10b6:a03:3a1:cafe::2a) by SJ0PR03CA0371.outlook.office365.com (2603:10b6:a03:3a1::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; Fri, 6 Sep 2024 14:48:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000209.mail.protection.outlook.com (10.167.244.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:48:32 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:21 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:20 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:48:06 -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/16] enic: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:24 +0300 Message-ID: <20240906144632.404651-9-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000209:EE_|PH0PR12MB7838:EE_ X-MS-Office365-Filtering-Correlation-Id: 82303dae-8df5-4e4f-3a77-08dcce82faad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: vcLhbbF6PwVEecuITSTohk6FPSMgtMho1a/IopX2KQXoIwzZnhVDlnwSktLMqYeS9Zn9Oc+eew5YTm/A5g+aXLsj9Zyg4wKWo6W/wZWWYNFNVTyf3ap30IA2yxBuLW4hQFBppZqX7S0ObIY9y6FSi+TNHV377/xCYQh55kDM7fRFqbliGfIEzgMFXc9Yd+PRQQu8be5J9oaiFnJ58NlHd5i97kFOtZwDtb+N1eqISZpbjyb1yFSruruMndGI4cCrdwOsvG6JGw3ig7FJTS0DWjOLSmU9C0IU63aYlsdu2usLZE1vvyBb5fX7JRDj2LkiE2F5Ta74YInN1mDIQkTnrNzFtzg4XLKKDQicOYgao1/g7OmkR4Hj3+Xcy4nwlX5MXd4JVmEDAlN6gRH7vYUgxm9GwN7B12nqEHdkB+xM38km0l38/aIHLghBWm5BdVIzopk4tn3PcksTU4mmp0ZNGC1pEaarpMyjsURO1ukOeF9aza/oGlzPStVEdLAt8+UmWCRWhy3uqBYyI3KjVTXvhmEGVw5R+/6uDP0MMQjCqYyR1Df4KmUeZLdUGjxhILNvCV9wZ5KqMkeYU2g423vhayx3IrtSDFKzFSXi3+hUQArm0vvHvwnOLXwhe898foybXZcXcziZp3JyhhC/Z/TvZK4PstxLUZ/nYERSOYZS1AXtBSGt7+/1gQmCpSy6wIak6pdSbnfB+rWBndIkSywcEpIWJR7xaPrhR//UKstq4R6pfv6N9eGJMp634RdxEa2xcQHYEZzLTR7hjqdN0uZGhJRJy9ODk7LBLdK71g1hl3+eLFDBH/inJ16/r7AoTzv/T2PFzpLLcppZkp1f6RZD8jOXd2UAP7AI1/VbSgZgBl+wkVJoh1hxMQGVQa+fjlNcAC1fXjHI25BUM0VY6i8nZa+sjreMRtmQEKrhTlR1k6j4e6Ev0tFpTysDJvMGWEqpSCIGp+A4+TcMfJewzTf+ZO83Vz/BPLrcDhUwoxs1ROFPUiT+mnnbO7uml4pgvzPwGfvnatlPMG2EbFHN4DRd+5poFHd3yYTTiEq6HZEewv2oTF8jkEMvF0RfD5QPWv23tMMPeRZVUu3y4FE4esGJY3cuNDqhWIfqi5iZGzvLHcMVdeQ64rJcjydoguNTzR4RTuvNEiUK5KVR0U+TqXa7cdxMz+DQgNp6KG0t1JacGObTxOwacAyijT7Jrk4LU9XEEXNoW/PYDGtJJksxm3fickvegwFV5WMTKzuwK8GFum/KjlHAAaXjegS3fDmu/aIYEC/hqteJoC5KHlVivATDBbIsdWhkeQVicaQO9K64TPSF5e/oIot6OkjK/Z2kQhUzkQVsk9ndEmBFfS/3uX3ljqLrw6QSd7xswMtZhQl/G9V+0nPqk5UdXLWVph1ol6wXPolnISw3Bo6Nvh1PmskMHt/sbagQl1rSQxBzm4/Z4+ITnZHE33CWtUdEyGY3LHZq X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(7416014)(82310400026)(1800799024)(36860700013)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:48:32.5557 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82303dae-8df5-4e4f-3a77-08dcce82faad X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000209.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7838 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/cisco/enic/enic_ethtool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/cisco/enic/enic_ethtool.c b/drivers/net/ethernet/cisco/enic/enic_ethtool.c index f2f1055880b2..31685ee304c6 100644 --- a/drivers/net/ethernet/cisco/enic/enic_ethtool.c +++ b/drivers/net/ethernet/cisco/enic/enic_ethtool.c @@ -601,9 +601,7 @@ static int enic_set_rxfh(struct net_device *netdev, static int enic_get_ts_info(struct net_device *netdev, struct kernel_ethtool_ts_info *info) { - info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } From patchwork Fri Sep 6 14:46:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794316 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2089.outbound.protection.outlook.com [40.107.244.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A9991C9EA1 for ; Fri, 6 Sep 2024 14:48:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634133; cv=fail; b=Ojv597UYx0LR0qAyEEBR9sb5F6xsC4R5HRTaNDAoWuFGAwSkVJ6vYBiFAz3rN9N0uD25svip8zy0DvQFttFV4Ij0WsHOPf1lPNHtTq0zfgvGW56MtMlKFUa07vE4dXnaNRDJZ/LZpm5070IbP2WN6ILLEEvJVOlQuU0a3/oTexI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634133; c=relaxed/simple; bh=/+b/6w2xmdbEma9Jy1yjO29ZW8dKUhA8u+giES0AR/g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NqNiq7mdj58tEX6tRC+aR/mBFhAyir9IXSBxsOmOBDn3VufXQsVBkItONOfWldCD9lVa47dB6g0+kFZIrGL/4f9zSrcz0DacJdYOa6UXE3hKoEJFwKpno9RuBQhkJmmAhKtQTNv/NZhLpi/YxAUbVQmyLhjhOmd6Bk6SgRY8WlM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=RwoWR7YO; arc=fail smtp.client-ip=40.107.244.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="RwoWR7YO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=q0z0FriU67/hCVqL+5vi3IpFLlpB50pd7pSs42W/xCIefzL805CDRh+D5vtIko/luhYwU6sguvzV90gtAn2lmNQ6Ie7km2bJneFpDXvWvZSkMiaqXbtdyDpoz5KC54GC1LnA4Lwtwl6Cnl+6/MykgaODh2p95zMjtnOTDg06TrjqCkvjU2lxds76/X1MKjuoU1OHFIEYoS632iRKefRXUYZqluxrPePzRHJFo1z4SQwrBrYow7/Yz7I388ilZvcUsrk8d/lf/yvlJy6nrLXposSqaMTDSwCwxdAgNO9A8W9WbkrbbUlupUq4/xfMhKEPZO5UnFurKBiQBrLiR8udoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=da64austCjYguQ711PFlJUAJ0xZrz1HcMqTT1x1J8/w=; b=ykDD2ZRIdGM5En8bEHXt+ZtQU6rBi4ScoCPJDqs2lX0OVWnjOL3Prezla3tSaxrvuRTI5FQMStw9tGqhgQgNuETc/vQfIgVHU3WdMQrzets+N82k7hmaBm6yPWyqXrgEP3Y6Xgq5J3OgXuMLmqBy2LyBVQKovYz4yDg3GB/9/zBPjfJ9vOK9KYeNfyF1G/tdxDZ12DMZgfVaHpH3GGoOD+pMDePhXtHnTJNIKzX+0S8jIx1L0MPY87Yu3Ju+lkngd/PWrsSQLDPG0JDeSpLDUOX/MCO7UyUspMpweCN8AQIrIBF8ZKX3Ib8kzKzb4MlOLTuoaPL65bBBauX3U61N/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=da64austCjYguQ711PFlJUAJ0xZrz1HcMqTT1x1J8/w=; b=RwoWR7YOARadju36GvmD1mw0I15SU8lFCDw/s4HGzKo47gUWp1hDN/aCkZ4si/50LSBcK1MRW/ptCGMb+midYXfrn6gFQ5sUWNjZoUliHraJoVNjxtpR67UJVErjrSMMyuQGvphqWS/SBX17zLjP//YwiMaOdsmNcCA/WyotI7z22i6FrIER+A8F8upXewmat4Yt78/xU5qOWo08XzqMePCfVyQKiMr4ESuVIo7v5KMyV7bTOSYzGNWNcpDjufpcWvdgLfa1AFLyMkgwnzQ73ux160rIPopHixjNlxONsK5gTMkGVY4UZ3Bn2okHYjvYKHlFZ5Os039idY/qJJNRCA== Received: from MW4PR04CA0303.namprd04.prod.outlook.com (2603:10b6:303:82::8) by CY8PR12MB7515.namprd12.prod.outlook.com (2603:10b6:930:93::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:48:45 +0000 Received: from SJ5PEPF00000208.namprd05.prod.outlook.com (2603:10b6:303:82:cafe::c4) by MW4PR04CA0303.outlook.office365.com (2603:10b6:303:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 14:48:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000208.mail.protection.outlook.com (10.167.244.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:48:43 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:36 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:35 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:48:21 -0700 From: Gal Pressman To: "David S. Miller" , Jakub Kicinski CC: , Jay Vosburgh , Andy Gospodarek , Marc Kleine-Budde , Vincent Mailhol , Shyam Sundar S K , Sudarsana Kalluru , Manish Chopra , Michael Chan , Pavan Chebbi , Nicolas Ferre , Claudiu Beznea , Sunil Goutham , Potnuri Bharat Teja , "Christian Benvenuti" , Satish Kharat , "Claudiu Manoil" , Vladimir Oltean , Wei Fang , Shenwei Wang , Clark Wang , Dimitris Michailidis , "Yisen Zhuang" , Salil Mehta , "Jijie Shao" , Tony Nguyen , Przemek Kitszel , Marcin Wojtas , Russell King , "Geetha sowjanya" , Subbaraya Sundeep , hariprasad , Ido Schimmel , "Petr Machata" , Bryan Whitehead , , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , Shannon Nelson , Brett Creeley , Sergey Shtylyov , Yoshihiro Shimoda , =?utf-8?q?Niklas_S?= =?utf-8?q?=C3=B6derlund?= , "Edward Cree" , Martin Habets , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Siddharth Vadapalli , Roger Quadros , MD Danish Anwar , Linus Walleij , "Imre Kaloz" , Richard Cochran , "Willem de Bruijn" , Gal Pressman , Carolina Jubran , Rahul Rameshbabu Subject: [PATCH net-next 09/16] net/funeth: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:25 +0300 Message-ID: <20240906144632.404651-10-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000208:EE_|CY8PR12MB7515:EE_ X-MS-Office365-Filtering-Correlation-Id: e86f9a48-2127-4bf7-6a17-08dcce830127 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: o8EezfY84nEcIzME77wKpVius2DghrqLbPYZnHXcAbNfstkod6jK6Bv3NGe8qt3qxOk8JtRaaNZz3gOuoeWulKyunmfVvlO/V/p/OnuiVHXCIgkibYJi+qG6R7ZrBOCDQbML54P6NFQvM7YPMTnnCeOZdzlgGTn21dhwiG+fx8ZQ1JIHDh5Z0Zwifa4mWgF31RzIe7vfNwpZEvw/1rZQS1lTwl3zWAd98BeZmsqljYXOxZt5ipww+5SC8XW+caCLL5gz37jREF3TLTzT7fPqG8LZ9wXnxv9sB/Y6Ux2xMj5cOoO94730WuzKf0+tbQNEiTK+IGsBsPVb9YDlLN6vOwP/jck72G3dCefpQj1YoQL0HmyRWFM/7TQw31vOePMCnACyehPe5VDOKyAhke6338qAkCBnJKo+uHpGbIOkwpQaM6Jg1P9gvjbPAUjHj881XrEhkYjzCoKJa6wO3OYPyvpiqa9xkrgaULgyUArNVnAjr/upx0uUz8M0IzGq+SCZQt4JpSXU7m4P7DRHtza1+QjD6ylb6Wn9t58mKEEck0jyvyEKDE4lCebB7UzhBPF+EaSlmJiYzV9tRT5QZsqW9GZHY1AoP3i3k/jp14ZcEeP0R90l1dQTXU8tbKukk/ZyRQjYVKjAfrmRpnIQRd/JJ5+o1Pq5y92T1ZJP2MFfUxfil5PVHNFtkijn7j4OZupzN+l+b7Oj8Towe/voX4em95c0MYa0Q0+KPW1KbRuFGmeBy/SK2UH4U+gw+QyJdtiaLK3rpXqMl5D5neZlw+f1hjdAtoO3Q8FC0bAi+BXPYXA7rBOEpm27uTKbjyG+SGqUSLvvy0lDdqAGPDzwpzDmMAzurpA/IbEJzF3F/GS3LZftB0pawP+XGQ+hgCo0W/wWNB9E+0WJznJbKKzOmMW7cetrLPl7LlCCfAlfstm7FLvD/EoY6h/9SyhIsA7of7ZW0jrDltSSMyxiOB524SZinbKXIW+Pfdrx+V5rPHSUbKORD6JgC9yf86dGGJSR98Y6sIQ/V4TSkpOaWWHswbHz2GqQhxlFxgjlhUQvPq7XLWxk3xW5ybOaGG/qM/oiDls3H/kUP4T0I+pWGT5C/pzbqQ+zOmcdNHYRGDVV1g7bphILkBj1UTOq+s6hmFA1ynjf/Ak0VW/7S/LhSxTtJ8Fbtwix5c3h7FJrT+URg/xPXD1rqZxMPFfITvTNSdj8iRf7HDIaaT3RHVS5LU1mS8pDCYVfXQ/fKZJXZYJvUMfzDxNQS3s1K/dATgfBSMbtW4pPGmYnz5hihklbHViVP6QeruRc82Met/QcTdPiwPknsbtPQmlcuty+A43vjVK7VQbiKgQ1aJsCz3OBMgLtb0AlzeWu79IS8Ue3jY7Voq0iNqItb+psHONrht09ionSLJCQNmPjLV8PzwHP5JVhdrv2hToXqw9Npw9oySJrhVEWCWRaxBfzxy1LUcdvHUOjOR27 X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:48:43.4228 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e86f9a48-2127-4bf7-6a17-08dcce830127 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7515 X-Patchwork-Delegate: kuba@kernel.org The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman --- drivers/net/ethernet/fungible/funeth/funeth_ethtool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c b/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c index 7f081e6e8c87..ba83dbf4ed22 100644 --- a/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c +++ b/drivers/net/ethernet/fungible/funeth/funeth_ethtool.c @@ -1042,12 +1042,9 @@ static int fun_set_rxfh(struct net_device *netdev, static int fun_get_ts_info(struct net_device *netdev, struct kernel_ethtool_ts_info *info) { - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_RX_HARDWARE | + info->so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF); info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); return 0; From patchwork Fri Sep 6 14:46:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794317 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2086.outbound.protection.outlook.com [40.107.243.86]) (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 93C581DFED for ; Fri, 6 Sep 2024 14:49:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634148; cv=fail; b=Cogdad9VuPQAEMGtVeSoPYomJwmBT7j5btCOSk4Onya5MfVb8LSr7sxM4BfbddXLyFVlGkro7y4EKLI3lNaoGyeFJmoF0VupOEexqZZqFhLVk2LVvmOdBqxu/zYENv0VaqHAHZrwA4C/QpdyeWaq40Qa6X9ZrPvJQwjLt1HOM6g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634148; c=relaxed/simple; bh=Voe+IuzCrqzIP4Bi4atRPPjFsteTeffPIoxxBUpaHq0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BUh9bB73G21ciu7WBSZJNFx0OLGyZ9WWZcjTGTBTJnbYnhPwDaa4HrSPjPNvmWOgewg8M9Fw4DF6Rx8K+UtTBqzm1mDFy1T9QMoo4+y+PTCsj19sQKFKkEdaf/tgU6eRYg9yUi/PdC58vXu4QRGyV70goB3csTeZw9ws7Q/A06w= 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=FSk+qrnF; arc=fail smtp.client-ip=40.107.243.86 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="FSk+qrnF" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CWZ9a91n2Y1R/pcQZNh0lmSm++3bEJ5Y7yeETa2Y2Qt6GZ4QHzK5h9CzxFDShMGFsCI6YJf0PE4ZDR+7FBkbGfadLq1VUfO+LpQah92GfA4rVrwSRfiRmW/O2YWlGF638GYaiA/39lCdT+rnDQcobSMnvLq28AHFR/J+iUsDCwUgw6nFmaD5Myz6XZN0HLl56ak2rhot3Ev5FlW/26JGLtbflxnbY0hKNnpTfqW7lb1ygnuyDVzVzLVDmCXzQM3qJ/bQy/mGKIyjCuG5vKU65AsZDFwzjxCcTyE9hE/IE27PnDHBq/bFZ6lQ6YcmKXMzcPJ0rEn40EECHAnkUWzynw== 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=8eXpxy2fenNfqpzHK7/8KA6v28uhALYqBpzT7WAFQrI=; b=xuiYH6C+Q40pSImJZryfz15Q6dVdkJc4tR/bxR6DqhNV0FQiklf7HjMGCJCO6dITpohHZvwIGtYBkdRuIWY92Ir7ogDfFMSW+DqpWA+Jr4/Qd4gyWdwl7xPy3f+uu0unaE3AMdjACozOFKsHPaAxqfTS5EPOoAe5VyhsBHu1nKcOS8CZV5YYbV5DcPA5y36ZD/aNmUAjdHNTpog33Fmg1tjr7a4FFVkIw7do5F89YGnvf+ikbe5CzugySheMbTekkDJ1xzccZp38g+A5ozEzcdcnAtdEsB0dHTGbaqgvISZgudYmae3D3x0pZ9Xo+MAE+Lxz4apRCuwQWGGCpWDOXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8eXpxy2fenNfqpzHK7/8KA6v28uhALYqBpzT7WAFQrI=; b=FSk+qrnFXZZQRReVNNL/SMAHmaXpfve31J4aaODfE5Xfpd2DJ+Tpf9R37NlEMj2NMYGZngBhKNdCuby5mVkolBHyR363u7nnb1v9OJz2RmhnVfj1TZubkuPX8ldoTfy7K0PE4+MtYFYoVS8a6jwdYTLAknT3MPriUw7lJDaKH7mI0if+bUJtyiIrDSIUn3AbfRl+dvKVGjzQySRQvkuV/NeUZ+fPwHwMWDNs/dOUMcpBtIIWGbpp3NU0Nhlg85KTD7DlpBx4Yub8i/Kr2JV8vThzDAyrddpsP+qg5VCXoG0SKv2qD1wIa+P7W5rVyOtXmTqiJWvGMnDrzBQew9++Dw== Received: from DM6PR03CA0087.namprd03.prod.outlook.com (2603:10b6:5:333::20) by SA1PR12MB8887.namprd12.prod.outlook.com (2603:10b6:806:386::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Fri, 6 Sep 2024 14:49:02 +0000 Received: from DS1PEPF0001709B.namprd05.prod.outlook.com (2603:10b6:5:333:cafe::d8) by DM6PR03CA0087.outlook.office365.com (2603:10b6:5:333::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; Fri, 6 Sep 2024 14:49:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by 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; Fri, 6 Sep 2024 14:49:01 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:51 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:48:50 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:48:36 -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/16] net: mscc: ocelot: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:26 +0300 Message-ID: <20240906144632.404651-11-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709B:EE_|SA1PR12MB8887:EE_ X-MS-Office365-Filtering-Correlation-Id: afa84082-86a5-4d59-3307-08dcce830c02 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: PJqJL2LcHyxOfal74vO2g0m5lG1f0tQedDb5szrhk5x3lnc0QZS1ZMWbeAXCSDLP7y/Ddk0ANbdXL+x5NV/iERUGvRDnxno5v9CxqsBHMITdpR4dZ95aCJkjhszjM8/aKgAaK5S0s489AIN8FWm0/kDjc0UTjRMZTWi4hUvNqleZSW6J/A8jJwRGVlfWgPwAbW6e7AI/rxW9eZBDVnH9CpsyZXHvTf4hR6G6v9caTcWWfk2+T6FSmGobe4Gl+heuzqd6wKZLWZJX9rfKKUZdKbloe1DYpdq5A3U4Xbs6ElBbPZWXWi4XNF1bXGHkF3mlwYNQXgMmk8wGitLzm65UCl5zREEN18rmhfeU08P75eRGsIBSDdIu9YXnucAenXyHYYCJHJf9tjkIiDjC/xuK8mUl58m28LVm6rtFHxZbvSgf8n9QIuMIFAFgStrEhaFNCRreQTyODRzyU+wUQzqIRsnbMyzplZRnlIerVOrOtsNMa0Eg/ljVFzFygU+nCn95a1W3v0hiXiy3w6/akutt7+hA/WJPaul7aNFLSqvLi7LzelCk+1aT35gs0y71PzR6sSgZK4O0WVYOzWGS9Bvg1tVc/VXs7X2DeCZHyHzf0o/QTNuznCncTnbxB/enL7oOyoZOE3qHS5OJ30ckXgx+il2XfnxqxeUwJgvrr/qAI0uEpaJF0C8gGJ5v7BmhGzn6LSAyoBeK1LKMYHVf8TMBxNtt8F08HpFFVVWhb1kml6kl/f5C/uDqREjmdfo5bw2vMtBxKgeU0OQXam0SzyKmTYLybHPzvV3xMQIj5jkwSCnup5IKVI+gWRndTUKcwDGcp94RcNRpm8purPv5QUR+VAKBD53jQyDoD5/S4DfOfIx18YSJXYviV25Bv739wbOBCY1tYng9bagLqO2PyfqJB1DvXCqytfAynLTcfajFudzcwtqKVzlxvfvZ3ynZkrI5PIn8I/DL+KQ1NgMIxzKRPtgFjxCcXoZwQPRGLJ3a9fkEcuFlCfi4iF9aVibdEGnbx3819hRRMOLvgEWZUp56Hjse7T6hIRnMIDbbTAg5HBQSsbQckVdVgXaejHyv3lXGDwKKKkJlh7fULKP2TrxQcGiKPfHC3BT6hxF3z5kqimBVK21a9iNY+N/JsnX+2Mw20LKYTG7s8XVkTJ6UMhB022235X5ZhWpkVdlZzohT5vYTF6m89M6Be0DRh1P+b4rl9aizv4AEHIw1xmRUcGuRx1/uHuAZ8gSbkwxLb6ZfZxFjCRaSctrsoqfpojR+JoCIDSIq7P6cGurOJJa8J3IFSWeKQNUbrZ9ccGx0y1KC1/qZ4Jx5ZphkLLb3owYyMLZTorAQ5ZXNrvkmK1s1Vhp9ZTZIgpTUs/HNqB79a/kbkvVcxttWWWz6+1Vnt3ZJKtdLlxYe1ZCtn0SVDL6CZw+sOTA4vCRVUKL4b+OrckgA10KtzZte3nfM9znG3NX89bZm X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:49:01.6026 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: afa84082-86a5-4d59-3307-08dcce830c02 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709B.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8887 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/mscc/ocelot_ptp.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/mscc/ocelot_ptp.c b/drivers/net/ethernet/mscc/ocelot_ptp.c index b3c28260adf8..e172638b0601 100644 --- a/drivers/net/ethernet/mscc/ocelot_ptp.c +++ b/drivers/net/ethernet/mscc/ocelot_ptp.c @@ -582,17 +582,13 @@ EXPORT_SYMBOL(ocelot_hwstamp_set); int ocelot_get_ts_info(struct ocelot *ocelot, int port, struct kernel_ethtool_ts_info *info) { - info->phc_index = ocelot->ptp_clock ? - ptp_clock_index(ocelot->ptp_clock) : -1; - if (info->phc_index == -1) { - info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + if (ocelot->ptp_clock) { + info->phc_index = ptp_clock_index(ocelot->ptp_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 Fri Sep 6 14:46:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794318 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2050.outbound.protection.outlook.com [40.107.236.50]) (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 E1C041CCB2C for ; Fri, 6 Sep 2024 14:49:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.50 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634165; cv=fail; b=dkACy1THjFDWa7TiOda9nmH48u1iE34G4gLgzPLBRjs2nQG2mgdEHEp1GfREyiYWUH+iAzzL+JCkvM7qgksLg+w56g4MBnij1uhtbjd2u6VZn8BTGn5Lqv4MzXQaAJT+8N/a1+uoHm/k3u3vZT1d2/a0mgOENtdFeW/k/q65/xc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634165; c=relaxed/simple; bh=FpfaweE/csBuIRc3qHPpjIrNUxp9AexLRg+ITHIh8ds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=s2Kn9eqVPqBLcRjEl+OU3tuR+BaSmZCw7dIvLKNdHFeRtK0lNfRtbn59/l9O7Hjad2fxFORFIgi4DSIEvDKDsmKYo6mAHoi/Ilgwznh60x+K9PO5h0Q5rC8H+WIOCcmmRoUhDNyHYv38+17iojjMWuixhCwcCsPAA+Ff1LTgdHU= 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=QcdHKY4R; arc=fail smtp.client-ip=40.107.236.50 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="QcdHKY4R" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=X6LH0q37Hi+TVeyDSFQICgiqqQXrfW/vFRYbgvw77iHGt02qf5rUIhy53ulQre/4RqZBOcn7/xvtfChDblxdChHQkuu4GqaYcNZgSyWLkrjXvwu1E8dixn8hDdtmguwHFGhn4l7NBzxjUL+kgTZ/57gpC+F29+objHSa7vXKJi9mwY0JiT0lGVFo4gs9Hh3uKUZHuhUpDMkcHP/p/osAInmOY1dBgfXBgEQK8oyPjeY7hVf5mHddYGj5L6clYWVDMYkPvis6gtbBtXkdKtSqcjGI5hlSoSWjnIGn5tDP6eUkY4ZOBM4Ev7L1rwysrqHpB8Fb+PiFx4wjqgkfi78OyA== 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=cvEiPWVFBkC2jQitqj5fCa7ZwE108msTebVTuSsdLDY=; b=YwKpK1GdUPyLO8SJULkwrP1TQPpgrPub6jeJSXtkBGlzVX94tMv8NvPI6v0JspPfRjLKp2SeBIm1AsjmWzZfQiuUwJi0bJ0I3FsDwiY0KMzDcmSz+lO0PkciUEriNnKutFcchr/ZfGIS7fcajqRn5mCVpABQdQ3OeBU2UCTy15mWCVrau9GbdP/4c+2XVsrRE6Uu7yuqrKkx5q8w10sJIkmkH08BEV/1qPcOK4o8TIDsbKY0MWrWLrtGVzUQYOnB2oEEkAONfHWrgATbgxGpMYQLwnv0zRV9B8FkAupO55ETBB6qZTQnPLw/ch/mtLE2PA0No24PpF0LMjhqyFThJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cvEiPWVFBkC2jQitqj5fCa7ZwE108msTebVTuSsdLDY=; b=QcdHKY4R9+b4fKgPQ70OmfE6GPimYLCjP49p3Maqpg99rOGZO63wbEoAupjdglMBf0u1nhVEmeH4lAkEdLHp4v2iXnvLN0RW60oCgLatFZMcYgw8hP4QOfJHKqJI+ZsJM4uhd6mlGfBvuSte8zr0e1Sdu/feqQN/E8E8AdzcKLL6zgJ8AC8rY0NkiWURiysw/44JhHs5/Da4V8zffOrU7Rvbptjfbcc9PsLGZZcZ2y0mVfxLgLoqNrYFuHvIgOwygwYrmJXs92E+5WykIkdXcBdsOTfhzRAVXT1W2Z57UHMWXw/y/c0B3PKiVa9JW64m2RICF7MFanq2SoOHiWxyHw== Received: from DS7PR03CA0251.namprd03.prod.outlook.com (2603:10b6:5:3b3::16) by DM4PR12MB6182.namprd12.prod.outlook.com (2603:10b6:8:a8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Fri, 6 Sep 2024 14:49:19 +0000 Received: from DS1PEPF00017099.namprd05.prod.outlook.com (2603:10b6:5:3b3:cafe::44) by DS7PR03CA0251.outlook.office365.com (2603:10b6:5:3b3::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; Fri, 6 Sep 2024 14:49:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by 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; Fri, 6 Sep 2024 14:49:19 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:05 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:05 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:48: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 11/16] qede: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:27 +0300 Message-ID: <20240906144632.404651-12-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017099:EE_|DM4PR12MB6182:EE_ X-MS-Office365-Filtering-Correlation-Id: 9eaa7d67-aeed-4d04-d11a-08dcce83168c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|82310400026|36860700013; X-Microsoft-Antispam-Message-Info: r3R+ElkhT1pwD2qgsPTg99HUoj0KnEk5VqnzPm+pr8Qqlz7sBdSKE3tzXMfy67ycglIuxfj/QGJTKnXUBoTmwWoOzHQjPf/AnyF8uGbm7qd7Ohd59UE2vcB3/tC1ht95Spxy+qAibI5k5ru1m5n9BcEbM59fjPSuoi9iVcvsx0lmzTOdWoBBX3rSjR70jk8QBAWtkUkt3xzWXoKdn+sggf3Pk6VofEdUsa3wuiZYtUKvpHt/DIzyyh6KZkUUq70AWuirSCCSaUS2JHgjQQ/WIGO6nLwRSiuqhUb+dLd3ll9lN1kfrMgxiuFykkNAEgGYiH+BzGLvM6EZWkZLinlLJP+qwqqwNFR1mrrVXnDyb+t+qEF9n+AiBkSQYL3ANs36d9658QWHV7RG29XZOptZW4Mox3M1rNEOrhzQbZe2a5/kvvaXHlfS1PdhzA0hZJN8qrBq8oJGmP2eh5X+7p7h1FyBDqz1/YSajgAkYEXyI9btyQFIDluUqFMZrFRT6DMUlxmKbT2kC5HXBlA9ZiC5alqVmUeclG0+OkSkNklwdOaO/SmfLjZ/4VumKBGtCyMuX9yovy6cDgjctQqU4jJvKeS3l9e27LAouq5/taroQj2TntyhP8gLZo3zf4P9T4imiTCPy6jwLj8svqVh0p1WJ4aJ7Mp92A+WbWfHcQs+MaHqXQdVMlF61tzyXpeUfPZLej5fA/QyvRcBirP7iA94q3SVxtoXYp5fdkDJNsdzjsS+UeXSOtp6Fw8KasgEWR8sjJbI0OUG6mHuZO4csyTj2mmfmEiqCnXe3n0fTL40BuDOMVXExxtX61L6hqCaKmxyq8+B4ml+CdGePjUwNX7L6V4mYbF7dn7d9I0OCzhR2pgG0e66F4GbN/GEAmykAeLTpo6tHWnutsCt5gx/iuhT+4wmA4PB8IHAAnQmBES7ytbwB+fmOY2Maqhg00PW2vhIsuXjYNs7ksu0/Kfdeag3WPh2GMgCfColxVv9q2+CKDKdWzEqxAglE5ewArY9XerRL5OdV+Ixqq6rk6bj1wPbG4TuGs85Xw8gevnEyGLurvfa9wpztzQSzVI20iiBPU8gSgZdbhhRSP4vUVvR1d0DAaKjbImvBTM3JLKDHQSu5RKrXmyLUGNpH51rY+1a75SwhZWWiwDraO/MTXa0qmBYnOlR2h3ilkYdFt9VLUQ3U84WTTXI1yv+pHig44qyyzkBnep7FtQB9exly+Y1Bwjj4Q8M41IzZy4VhGtrurgW68EL+BvyIXckjRb/c57BwncwJNrw3JrLUv15H8JHzkEMBSqwRYKQznHyA4lgRycdNgJAQlU4nE2oAqprKkr/i6+/EPTBzC8ceEevXR2Ck2DQis2zUSVCHmisCi7aOqI3e5apBsjaUwVmE4+rFgFeKKbmYRMUmsbTmU5CVhEL8rBBxbV68zCCK9tfTNDnS1ryyLbvirHhoUszKSq0Ofwv8l/D X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(376014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:49:19.1945 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9eaa7d67-aeed-4d04-d11a-08dcce83168c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017099.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6182 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/qlogic/qede/qede_ptp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qede/qede_ptp.c b/drivers/net/ethernet/qlogic/qede/qede_ptp.c index 63e3dac4d5f7..9d6399a5c780 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_ptp.c +++ b/drivers/net/ethernet/qlogic/qede/qede_ptp.c @@ -326,25 +326,18 @@ int qede_ptp_get_ts_info(struct qede_dev *edev, struct kernel_ethtool_ts_info *i struct qede_ptp *ptp = edev->ptp; if (!ptp) { - info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; - info->phc_index = -1; + 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; if (ptp->clock) info->phc_index = ptp_clock_index(ptp->clock); - else - info->phc_index = -1; info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_PTP_V1_L4_EVENT) | From patchwork Fri Sep 6 14:46:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794320 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2043.outbound.protection.outlook.com [40.107.102.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 72D421D1F75 for ; Fri, 6 Sep 2024 14:49:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.102.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634177; cv=fail; b=sXrovawQE3q8YMzJSNdNUSoTzbeS144WtB6I2nNOORz3wBseeNpOLZw9MSPQ2y6ZOFwqFfR+lMk0rjt7CddcmHkxsBzKsaoI4e8K2js31tAKZ4ljFTaRfpWNW/P4PSrZjwJZAYDADfD9inOMifREZOU6j7MmeZCkNLiTTzJHpYw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634177; c=relaxed/simple; bh=h+xom4HpbWXCigjHZZOz4Y2x3Ym/7WUcYCKXkG5Dals=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sFpKMLrrEwWdsz0CRcxtvSGY4WhVuuScCryySGavGyZi43Byt/QMYt4NrYFWXXZ6GlYKcmj+h9in0b19F3Ad+qt1C5nmrRH7t62nOyoV2qa7+wqaK4/a8HJo71OI0QDkVhkg6ACIZMYtoeFj2+cBveL1H7A8/sk4e8yPspQrev8= 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=V4gVuxJq; arc=fail smtp.client-ip=40.107.102.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="V4gVuxJq" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yCYDJd64KIubsHHHcpXqpTphYK69xZ8W2Jj5fylZ32n3bRDwxfEQUHNzO36P+wo78LruZfpMa4+0UJvNQCl/uo8h6twg9gg5PmIIVaw2xwOf9xpxY2hgLA/L1HQUUCjoDt49NTh0iAWdYHmu/lDfMh1Ib7oVJF72Wdr6Q1XSXgS5OQPUFSp0+ntSmT7DBgueKWduz5ZZIJVkZbq3iG1fQtA9d8p1XD/+MJfqXnd9lSpDtY1IYu7jiGmR0bprggXB3fP18mkTlhriiJlqgeNSejLL71TAlo4ylmM53TKBbqpFGVcPELaNILVUugfVEbvq84zXAYu1BpytLFiBs86myw== 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=EbE521UnNTkNUn3EMvUZFtyoIL0yQcW/T1ZIGweF+pY=; b=sDlhjbre2TXYjl6LHF2I5RQUkxZIoi1PJEFEyT38AZCk9n++dxHLrBzb3M78IcMrNh1PH2VbPdDgQEbbqfD6FKNoqBW+y1mcstIN04OZIzRFrTnWKNZDNYN95Guh3QYG/gUKQz8cl1lUVEF5xHRvysKJ49VZ8P6shu9kyleDGN7iI4H7v9d75h1OtXaSvVKNZBxcDIhXscZn6H2CdnOxEAIOzqmdc2TuSYL36zU4y8xmzApQQZZH799X+/XPg+d8BsT9seW8qq0KkPsMnTlmmBucMZl1DWHQdY1j34/OkG/EgZQ1eYijr/VBayr05y5CBAdiUlTSuQThxKYBfeYZqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EbE521UnNTkNUn3EMvUZFtyoIL0yQcW/T1ZIGweF+pY=; b=V4gVuxJqQ8n9lkONZItnGMpiaRdWiMPOzttIHxziEM9o0g3SGYEG5LNkI9T2eOwHbTrKZ+HmVADQ+BMXTD74OS2BhbIAYFPkDeAJD9SvaVXdvBQ9w2dofspYZGKcZsGqBZQUs44tFkIqfyCv8Xl5BA9PVQv48u9OZpe/++S+c0GvhMQ3qUK4QbngkD95dwKMbT/Kn5NGOXLzPh4nhdPn+JVJBZn88k1sAMBziClfN+dH3X9Cyj7iLnb7hhb3IOeA4/O/MQstvSe7oWt0xDknDVQQRgz9o/MYmIvTc6ZtWr6VQUDqJfx366EqXl3JhAMZVuV5lwwVcKNOKp9FwSXy2w== Received: from DS7PR03CA0245.namprd03.prod.outlook.com (2603:10b6:5:3b3::10) by SA0PR12MB4397.namprd12.prod.outlook.com (2603:10b6:806:93::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:49:30 +0000 Received: from DS1PEPF0001709C.namprd05.prod.outlook.com (2603:10b6:5:3b3:cafe::a1) by DS7PR03CA0245.outlook.office365.com (2603:10b6:5:3b3::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; Fri, 6 Sep 2024 14:49:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by 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; Fri, 6 Sep 2024 14:49:30 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:20 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:20 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:49:05 -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/16] sfc: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:28 +0300 Message-ID: <20240906144632.404651-13-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709C:EE_|SA0PR12MB4397:EE_ X-MS-Office365-Filtering-Correlation-Id: 38106ea6-f7c2-43af-3775-08dcce831cf9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: N3Q/121lPWcPUCStebVBv8IPujL8jBTClQ+BhsZyaFw4ukOpxcoNzUCiIQeSFLz2TN4apZGjQejLVW3crDy4jmWBcTurJBfmoLlUxzHuKdlPavE8plFYRL+ydIIGj8+HhgCdycIZ4NaT/iw923o8XoY2Yh55mdhOvOWGl7NzwYtvDRBsH69LcK5LbxGoRoVJAmypgW+kMvpvIWOu25Go5huoacimfv44jIgMEBoqmmNkR075wrPGF//ES7hUa+mt35FE0DYkW2JLUOR47J5ACGx6vpndXWvlP5F54074oft6SXR5FKS8iUfldUHVYSsI899FM/97Ig0shsPIrbbuhJOHEUh+KnphWxOSzlZnr79jSJMKAotAwTO6FgF0ktP8hUZDN91lUbF8BdZ/AqeIfL0sUpomxC6RdEUyJ8ViUSs2KcU9UdZmwB8Q5fIx2bSJ4Wrde0S/PzZq5SWozUym+dbeXFo0E4wUBtaw4YKxkfZZChkBHKWh87rZY/0t3dwCoOCfGG+oMkdAwyNbQ5VBRboNXLqQ4+v3cqgU2jaDUd3kYvVeGhfIlTJEoEjvqAkbLszOLx2zCgoQMie/fZud/S1t3ex3Bs4F7w3Sv5eY76O5uBV7jBdiPYtizibJJN8itlc4q6rv/rkkMxYxRvQGum6PfS4O05fLtTFgEbb3qrW37kIqFBwBVRGa1BQz3V5W/kyI24aclBqlnDd0MYtpUMi7ONmqpDJaxsFf0fY5UNkUZELOgR+4UkQnFLlYoIg4eGTKHj3iCUN/ox1NypFVv0dooETDRAOGpo9WHhf+fnfCE+0XOVIeHUK+5cYW7l+I8ZHy0zzNHEvvkbx61rByluOjW1wSeUJla6iYdy6m5i9hv2Mc/FMabWmKyYA3lkQFt/ZPV81tFcT5l3EDI0d0xelpWDdVHYbw4LeiNLNrryclyePJ2HRmN7Y3QZ63j+sBTw+bILVdd3UTjlF3nZxijT3a26WSDODJCINyaG0jCf6hLcMP2pLs9aHD0jKEQBAzx2Sv7fbhcFnl0/jxSdx1FnjKPjavTXXyvEM9KewlG4hxb717NbACzme367SKPjHFfkYFrb4chgSk2C9KLK1mnPjS73Iax4HKvA6DM65knk5/12Z5K2JUqfqCvqn+FszBTMZSYqO/cDyHBJ9fXLNvF9NzATSauO5Ud7+z+8dwCNkx/kZMsd3hF+xH3OPdw9C6WPwus6J3vZb+oPU8gbzegbcNqnxhLKgxXexuzb/xfq7Cxtb2C3gqZC82n+nzqDvk8ijd/lJM9CX3PNB5z5EHA3R2SmsUiqq/7tbvuhKYn54aMCreVTLALG5Z67+v1QrPd7gpx4vjLbh3BZ1c3CZT4FwRRuSV7FX/5cyR/HCikU+Q8cp93vpqILfgMCBnOHB9/hMVBfwcF6L1+J8jxJnMcxOQ5U+wKYhraZbUAz0QMZKaIpf9jirISk0FaPNEw3/o X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(7416014)(82310400026)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:49:30.0493 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 38106ea6-f7c2-43af-3775-08dcce831cf9 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709C.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4397 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: Martin Habets --- drivers/net/ethernet/sfc/ethtool.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/sfc/ethtool.c b/drivers/net/ethernet/sfc/ethtool.c index 7c887160e2ef..314b41d738f2 100644 --- a/drivers/net/ethernet/sfc/ethtool.c +++ b/drivers/net/ethernet/sfc/ethtool.c @@ -230,11 +230,6 @@ static int efx_ethtool_get_ts_info(struct net_device *net_dev, { struct efx_nic *efx = efx_netdev_priv(net_dev); - /* Software capabilities */ - ts_info->so_timestamping = (SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE); - ts_info->phc_index = -1; - efx_ptp_get_ts_info(efx, ts_info); return 0; } From patchwork Fri Sep 6 14:46:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794321 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2041.outbound.protection.outlook.com [40.107.95.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 2C1471D278B for ; Fri, 6 Sep 2024 14:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.41 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634190; cv=fail; b=oRP+CqQ3DBnFw+fXuCdlr0WSlsjnMTOq1QN0fb9w5r4MyCM2XyUNcG8t7pAaEVcGlCRyhRcygmz/9ux2l45M0EdG5cvwNUGcWahBheiNtqWMaI8H84Qxq4dWeCdFI8XuE6rucNHh+Hk+2FVvQ1VBrYfoiOcMnPw+3RybaMXNuSs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634190; c=relaxed/simple; bh=QBO+X0/jovXIh3//8o3gRKdLEbdwMQPOlmF1i5xXJF8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=k2Zh90nmGISEAA7XVBvlu/zmL4aIoqHNs/tp2+s68M7Y8k0yyZ/TwuIAURmm1g8+BtQ8sxNkrzYrQMLxw0rygi++cUsSW/7Vp/8jj6aWulWlSMsdaZKQTIddHd3MFiK/6TAXDF4hTBM3TNSyKIrav1bFqO4O9lDiyj2q+Kr/oxY= 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=tKY8eYzy; arc=fail smtp.client-ip=40.107.95.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="tKY8eYzy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=umi5sYJmxaTG/7gf9O9Pt4XQjAx/dp8KsN+pRoKg0TEN1QFCGWxBOHqchidsLUh5VWCaoE0fJBzdZCx5UrVW/KkbY0kOX3mxjgMUbZP+oacMjxsb2tUz6DsL85UxhI35CYh8S4Tl7wy/z5DeOeCXF0t+yLNFAdgKlsQWvq5FXVTqSNwBiVxnVX+vWgEu4kddwEGhKEsLEr5KtBmibaFQdy+u0U+pwpuCyC+5e/xnRqQRjRbIUaYECsYiKS7YoQUQiTnVQeUBIlkRm7XrtdMvviIEoNzPjGby5Z1Plm8exZZoBkOfrYQMPaauwFuE6yR3iLkKZt+7T+B/IHo9Mq/7jw== 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=b074w0eWMly0zkJrLTYf2pz1mN7CQ9w8yqOAjG3mAHk=; b=IfxPSgR8dsdkjQSnd5gWWF7cvJW9fikC1vFEQSEL/VRoJZpq+PFoEHLSzwSi5y+foDVqDKRRFkHxh0Lt7o23iSueO6pnYgSFh4WYGxRtN9AZVpVX0rlUov3I3beptTZPNpOFlrGvyiXvmg6uP06uK/NScmwPOshEkIfZUAtfJF9mslREo51/E66dLlgMEYNv1Im8q+J5M/0sUPGVxPEx7CA0nRhjYc/0fc4mKdK6U5L3IYAY/UranXMevsxla1AHzNBjCQDqeedM1p96QH+p/jQIh6pXT+IBxGdoqsrOPDBrR4KpxlRWQckFNLmjZXHbH3TlbaKMAZ0R2SE+VUa6Aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b074w0eWMly0zkJrLTYf2pz1mN7CQ9w8yqOAjG3mAHk=; b=tKY8eYzy0AvMal7xb8kcgkGE9nv0YDyMqT+DhlQTqKXIkOKY+DgKrjUJHbMYOgmUK9PEITZhG1yBVIHnqW/7i8My3/JPyPVAka4tuoV0ro9op2srAjq1dr8GwfVGj6MhqAodMrbgb5gjyi6MzRSFSbrEfdTW4q7EnDetwSp29rAbUbQgox9NBb5R9Y5/Rov0lSmKaRX6shF2P7c55SJoLHtsO08VhHkDoGy9WH1e4E62JNxbBagszAi4V4x2fs6dwcxUgR7kI1JGYm/HwAfnyUnycbuCPcVt6Xg0DavujT8apJvxU6f+5T8mfMZMS2/GvHrBSbxs4CgZzC7/ytkeUQ== Received: from DS7PR03CA0248.namprd03.prod.outlook.com (2603:10b6:5:3b3::13) by SA3PR12MB7999.namprd12.prod.outlook.com (2603:10b6:806:312::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 14:49:44 +0000 Received: from DS1PEPF0001709A.namprd05.prod.outlook.com (2603:10b6:5:3b3:cafe::93) by DS7PR03CA0248.outlook.office365.com (2603:10b6:5:3b3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25 via Frontend Transport; Fri, 6 Sep 2024 14:49:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF0001709A.mail.protection.outlook.com (10.167.18.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; Fri, 6 Sep 2024 14:49:43 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:35 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:34 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:49:20 -0700 From: Gal Pressman To: "David S. Miller" , Jakub Kicinski CC: , Jay Vosburgh , Andy Gospodarek , Marc Kleine-Budde , Vincent Mailhol , Shyam Sundar S K , Sudarsana Kalluru , Manish Chopra , Michael Chan , Pavan Chebbi , Nicolas Ferre , Claudiu Beznea , Sunil Goutham , Potnuri Bharat Teja , "Christian Benvenuti" , Satish Kharat , "Claudiu Manoil" , Vladimir Oltean , Wei Fang , Shenwei Wang , Clark Wang , Dimitris Michailidis , "Yisen Zhuang" , Salil Mehta , "Jijie Shao" , Tony Nguyen , Przemek Kitszel , Marcin Wojtas , Russell King , "Geetha sowjanya" , Subbaraya Sundeep , hariprasad , Ido Schimmel , "Petr Machata" , Bryan Whitehead , , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , Shannon Nelson , Brett Creeley , Sergey Shtylyov , Yoshihiro Shimoda , =?utf-8?q?Niklas_S?= =?utf-8?q?=C3=B6derlund?= , "Edward Cree" , Martin Habets , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Siddharth Vadapalli , Roger Quadros , MD Danish Anwar , Linus Walleij , "Imre Kaloz" , Richard Cochran , "Willem de Bruijn" , Gal Pressman , Carolina Jubran , Rahul Rameshbabu Subject: [PATCH net-next 13/16] sfc/siena: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:29 +0300 Message-ID: <20240906144632.404651-14-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709A:EE_|SA3PR12MB7999:EE_ X-MS-Office365-Filtering-Correlation-Id: d0682266-9708-4faa-956a-08dcce83252d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|36860700013|7416014; X-Microsoft-Antispam-Message-Info: Wsnvy/qEB9HeTYpii3AWOJvEOKCpUh3sqlpzEhMyjrlc4YhEn9HKbEIL9WaU/bjZpzmYVjIUmuntdboWQNtqOPBn3jypeSaOp95zRmqaqWoLCD3ICGs9PcEWOVXOyBxfZM/uGT9s2sZa9JWAoUp70SELrgr7Vw9Hdit47GgK0GUf6U35f7r9wZY+akWKPaAQjbUhQC2zDaQyVzcxxWB72dTKCdIRzkeI9rJ6ATYAa7f2uq7r7fCqqyzdPaU8v1VbHY33NsnQUHTelSD0TjkrF8stYYUevxODgFjS0zVXrzmoUgzypKLqGcOxJMoMpvLpuiw9eV/nMRA7Os7KoUnkc46kG2VOswJEjrpIoFDmgbkfvCVzH8q4IuCwm/CSuTO+qVfLxN4wUGvbyMnWQDCgUni6bG/MpqHDC+KprcMdg/biD9KppppL/lvaReIbOWiQFr4kfkBiRpFJLwXa/siuSmF4D15K6CehPeuUCuniwWRMb6SZxa2Pr4P+FYZpgCraoapOSuHTXksgEEVd0VhQGW0LlBLa9Ts8UxmYbJjzzJ43kvivuiDeANSeyMhuXnW0E3bLCiGgHDTLG/j0HxJNL0zr0c/G0kTaEw+FCYn2c0tIJRtMFxOuEPltwHoOrrlfeQSAVgyuwtHI94fMn2QUHWQI+GkcHleAF/j2oTaZ0gg8DAzU9kSJS0UghyVQVQC3RLst87fSY8tmCzY6wr3OFrnSCZRtbU1cPUGazNyZVofM4t8aM3TucU/rIDCbQ87pgd6WriTpzhxBJa9pwyOMhIy9W305yC1Qxs0DwqCkt8/8Wkmc/AZc1rZ/tDLpS69gfnl9a8H8HydSMu4yAjzkrnBkeRxDp0m7dnW8dgqTYkNzjWELhnglJmtdkMC6iTFDWBO4lu6zpdr7JM2/YfzA2r3CpR+PxvTA/+uqsNR3OuO72swbIw/+3vScuziCsGSNTbNxB0MUyCGh4149qHDfeOwTKYKSW5OSOkz10IzlMgp8rFhy2xVuttmSDEtDZkYiNtbXiJ2cyxbXPQkM/jxJQZqGnwyiyoXJ95Pd/6o3MqEn/+lR4wmDk+OMU2GSodi5NN5Qh0a6+pGfcEbc6+Cp06iBwlOGagshBdB/wa1mqaOq7Nssi0Cz4aFSbEFa8UQM4rxsDS6DCW3bsiF+cKk9XWhVRZrUaoVuGKO3wV/wrtMciBumng4q4DRNyF3z/tlRm8cl6qvTlT+LR5ULOQftITyegWyMsHzQcWTEHxsNk7llpmGMuVLUW9iEhTsWJzhCXzaZvfMGycM7+5yco8BkEJztx0haKkDLAI3u/R5tdFXV2V/48QEB7MX7b2b2TAPk2OENrZlnNDsHHUk4aWe4xdrtq6VOCU0MH7A/aFwI/+uuaZlkSDJokbF+uYvqbADaBXHMxgnpFMD4uj8aIjaksAx5v5L91La0WG0E2xsBwTcmvh2LKVRXsBR+B4FaISDS X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:49:43.8456 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d0682266-9708-4faa-956a-08dcce83252d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709A.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7999 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: Martin Habets --- drivers/net/ethernet/sfc/siena/ethtool.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/sfc/siena/ethtool.c b/drivers/net/ethernet/sfc/siena/ethtool.c index 4c182d4edfc2..f4f4df687708 100644 --- a/drivers/net/ethernet/sfc/siena/ethtool.c +++ b/drivers/net/ethernet/sfc/siena/ethtool.c @@ -230,11 +230,6 @@ static int efx_ethtool_get_ts_info(struct net_device *net_dev, { struct efx_nic *efx = netdev_priv(net_dev); - /* Software capabilities */ - ts_info->so_timestamping = (SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE); - ts_info->phc_index = -1; - efx_siena_ptp_get_ts_info(efx, ts_info); return 0; } From patchwork Fri Sep 6 14:46:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794322 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2054.outbound.protection.outlook.com [40.107.94.54]) (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 A39D41D2F61 for ; Fri, 6 Sep 2024 14:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634205; cv=fail; b=pcZvHew1V6oZqM2GyVOM5GPkN/oApKevANXnskEundJxPePr2WporzJDaecG36UFJFrIBX8DwLYdvVofpj7oqPdI7e2NVe1lWfIPA3vUdeDSzcBwJxogntOGpCXw8mYBF2Ij510Jzd/3p81klHlqV0mZDY+W37iyiqMzpFOVhP8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634205; c=relaxed/simple; bh=MJ9nQH1hR7TJBM2d03QIaupJFKy7ED1xeztRzD9XBgc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=A9W395jPNAGjdkr36D4ZS0ZyFLW/vT7S41kDCOVlkAj3bRLPxcwBdO70d34XZ43OO1bpZi0uA8sMwFdZJm25kQQPdByq0zBZgEVp36utUhjipNO4Mfgi4S/qfu7ZfW/WGsCn7YznRYUD/1O1FPrD7XFqsXP3C67u/hjhRbubqGg= 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=J81gyzZ5; arc=fail smtp.client-ip=40.107.94.54 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="J81gyzZ5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xBgT1Kw0zggJkNid9vxHJmrcU0n5W8LcvQxe6m9vwY46plz+Tzwo9LAHX2Gw+q9K5p28/3uLReRkD714wM5ioITDw2LZiqYZVW7hZWHqNXmgdWQdmWvSs4/0Skbx3UwJRX3wRWbQVkEdwo2xopkjoLyzhkpF4tsKt3k7MzuqSPBVp6g+LcDKnEjtzxjpFRq2bh3gHXKjh/Nd0cpLmkC3wI5zrsrD4nQQKOpxkHxF891c844lgkBzN+Zvf696BZ/ePLEURxdK6JF+m5+WFoo0oUqgxJUWVyquQM4mrbhb3TJjb75kagVo1VvVNfQa+zSbS9N5OTPMgmiF4HswmTL2Bg== 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=c7XCt7yz1rDByxihyoVZi787QAHWKKvoOXPkKVbEJTc=; b=snSXpS8GFSrV1MsGqQ6T8/bHJ3T5QLSad3BjUxIZkHh74//HTNlu9RLn/YIbcJ4cExj1clip2zHd2aYyk5jzf6J6hv7oRDcXQu7sR3p5gujsBYL0lPzgVdmbdvk2Y0mrqE1nM9lVJLFWO9/Rph2LGOr7LxtDPP1G+CiT8a8FP8OR4K5HQASv04wL4WzWBHH9VGULrWDbIFAMGFKcen5XZmb1q68FmQx20Im/31Kvp1eJykPsrJ9qMAdRhvXLPATHUsOQQVyxYTUsY1TiCil77TJuvrngLdq4my053xZB/Bi+jHB8w8fY1lJ4t0qE5SEw3LTBDioK5BSCEEugasXlWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c7XCt7yz1rDByxihyoVZi787QAHWKKvoOXPkKVbEJTc=; b=J81gyzZ5it/Q5V15CoGntCLFSlp4M3SGZTG7C+BeYonzg5wynZnNvqvJ8Z8r+bPwUKgqxZo8ydMeHohEsaNLL2NQjjPkPoT3+9y6OvscRHN/xW/6vu+PnCWJjlNV7hp8k7bhyY4mHjpOjulQcbauwGLPJQQaZ2sKDXYMl3624cHpmo/RmFGoVoRFIhvG83v5YnB+hsxY5LCJaJ7Hh+hCxTgBIhFBhsTFt80TKwfGc/Ihqj6TjC7hgAgNbjN048aZeC7IPw647RrHGc4xzzMwW4DD+aKPod3UA7pFEtIsNTKTHhRcxHTr9S6XQ5J6S3BR929fphDRd4AGdWVrGwgdHA== Received: from MW4PR04CA0156.namprd04.prod.outlook.com (2603:10b6:303:85::11) by SN7PR12MB8790.namprd12.prod.outlook.com (2603:10b6:806:34b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:49:56 +0000 Received: from SJ5PEPF00000209.namprd05.prod.outlook.com (2603:10b6:303:85:cafe::fe) by MW4PR04CA0156.outlook.office365.com (2603:10b6:303:85::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 14:49:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SJ5PEPF00000209.mail.protection.outlook.com (10.167.244.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 14:49:55 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:49 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:49:49 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:49:35 -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/16] net: stmmac: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:30 +0300 Message-ID: <20240906144632.404651-15-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF00000209:EE_|SN7PR12MB8790:EE_ X-MS-Office365-Filtering-Correlation-Id: 268e685e-8cac-4ea7-a2ab-08dcce832c3b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700013|376014|7416014; X-Microsoft-Antispam-Message-Info: n3pKc8WZFNFVv0ktMsyqr/3o473VSVuPDlPx6j4lcJj/EnBlVWesoUJGWQ6LnSp2JMGEi6Uxf+Y9k0iZvCNipOPUNT1Vx/yBsn3jKcsT2WdkOEkEODJYC2+O2lu4/IIl/ctWYFNqsIlSz5IXgUapfQc2ZbPpzmWp3Y++hHUSnhi+ZLK7vSItA6bagvBZpsJIZXL863Q4/cC+n52K7ZCHOwUPwHmjViaAOGt2nK7yWOKxjLjnu6fCBLHfsVoIniPWYNm+2Ho7vn/CUCt346gdCJaWCdD4wHug05tXYZRd7JlgVTnsfni8CuU6jdO7T/t9IhXPuhy8Q6YbYWB/jtS2ozh02X6BpvV382/F1lYqycglQQq9KPVJnGNuNfr45z8d8qA2oCZX3uu7aTojGkKk0XEla0MGoc0Nkk3qPc92kOyK5GmCw7HSSA6FkCGGG+TUA9sDjNs8B5R0NU97GIQ4Y2wVDtNE57NjIod3drl+i7c1R9G45HIRXm1gbYOf7sOIMT8oORYknFuEAuT2rfHxhgHwkr/W7VWtlyok/i5+vAgM61tpOsP+O9Ee3TLgsWVxNZ4oWHCASUrB4WNodj9RA0Jjy2GpHD0J/pKExSTynBKMD1fhp96SQl8cmhqIlJelsBIpc03VphXgoHyxzRE6CTqSLsnvuMvMmHb0lhUJSd4/Imw/mN4DTCJfcwu0sw8Lf/qBUiSzmJUcU09WljrbZDvfrfWLC247p5ZvW/w6+oVJi7cA9Ysj2ApUxVKHWEzqCw7YIKpwilIe41QCuysakVV13/M2HAWpgjuYX2Yk5QQeF8m2i2wgcMzJpqFxW0gRn2+Av1BGvAb69R3mk8Ye8c6vioXAfqGE50nvdJnohhLPgZwf8EncxfSJcm5seYCAeB66VTkgFJTmFycQ/+s8nVBaJYUWdpsoJFvBps9x3MwSvZAFAHf235bY1zUGPpF5fmOfulz1Wj41wbp6hy78KVHKru0F/x3bsKF8nzrZre/MvIsLjVCF/fF97Tz2mB3GbHf32Iuw+UFWhtJpHIHyKKbF8j/83pM45lnwbROqebv2QNemerrLQlp7SiEQbKuRAjZGUiWkLRT8/GSeftaE4N3Pm+fEj3O9caGg1JKGOKhk3P1u7n4qJL6eVqyaB6vjDImfWYr5qdvYK4pF3SOD3t4dcfb+z3AP3rbp76d6+7isazGT2M58pWdUW469RZ+sXxZOs5sFWF1euQDN+yfK5WtzozOb0qCq6xX/V9XO5Mve/Vn+uX+JgCXTy5ry4yyr1V0jvgJ7UwhC5uMmwMRWjkABxddaYi409ocIIqHR3R1evoiee2ocC6B8VtIV1GzCjmfXWIEZaMpLhmocOGthPBUe5DhXTVCn8idRNWh/U2ONkXSr+biF0IvdYvGvdjoCoJlmfJ/9Ro5EcP2GcyeNBcgwI6eaDxyxbjHzeiwJ9DNC131cML1CbyuXnCjug1gg X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(36860700013)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:49:55.6973 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 268e685e-8cac-4ea7-a2ab-08dcce832c3b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF00000209.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8790 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/stmicro/stmmac/stmmac_ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c index 7008219fd88d..a7b8407e898c 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c @@ -1207,13 +1207,13 @@ static int stmmac_get_ts_info(struct net_device *dev, info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | SOF_TIMESTAMPING_TX_HARDWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE; if (priv->ptp_clock) info->phc_index = ptp_clock_index(priv->ptp_clock); + else + info->phc_index = 0; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); From patchwork Fri Sep 6 14:46:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794323 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2058.outbound.protection.outlook.com [40.107.244.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9998E1D1F73 for ; Fri, 6 Sep 2024 14:50:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634221; cv=fail; b=CHDtbrDGYBW2J5PcMahzQ1A92LqygKIFDj93Idd6IGKB9c5nyFy/MAZaFD2uznsMgkajiqAUaqCta5kL+1vrsaN/6iKe/4KzgC5LJyR9SlYKLExXKbH9HfTjwYKVHpDv1AzM70Ov2g9OIE9HbIMY4nq/7JExmKFB3y1CXaJhnXY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634221; c=relaxed/simple; bh=FRpb043KStKgkQ5ObXsKZdB3mXJiZL8FHqdAppqECl0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FkApOckmT6UT9iU1LZsSa0clYb/uvQmGIrWJ80EVytSfamc46Yp1oDxPRH5SfeEtb+0FZPQHQPaMCItvSoJH6Qp1n+yvHD2+GPKMya18YLLfh6NYg+vLHkKbsn+5TMPeoM9FrKXZQ/l2yg6ToeeXoGKiUp4Yt3J1gdEaXU+L9zU= 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=bh2SwBXO; arc=fail smtp.client-ip=40.107.244.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="bh2SwBXO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Khs+vNluoXI/gfDfzdHy7f3oBU5JyBICzfUjOly/xpwB5jIGGv9pJoF5Ojuc6ITYyEZni759wagNynyFLlk9ZavYLde1N5b7hOxHd3pWCbFhW6oZol3SoSdOkPbY2H5K9dxY1nNYmm4MGov6P5ECS0hNQtrJkPp+FjlMCKo0zhXxxUgbOxP2B62rMaF+OiOv9BTnAloFh+haaKMp/3MZJL0MnWGYtWeLPZIXr1d0SIln+b6qaWCUsvGZWk2TN+7QhRkqV0acH5TBCrDOgtSjXm0D6++NcMpN5JHb3I67zyZTyrcm6bTc9Omk/CbdAyU83Wo2HY/LjUQbd413wj+dhQ== 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=SZMKSzz/jZPDs6tSvxwP1+fs2Bf5jZmg74dVXWzJNFg=; b=IumwWWcfb1iLtoBxOxh6WWPUpbYLXwBwm/Xyidia484SXFwI9awCKwiYm7GvJtbZxuR1tuUJ5aCybsxEG4ohLtz3dHIcvYbXaknSo42vZHVWD5ioXHTEVR42O/Ehpp+XaKC71l/s8iKdTDiel60gm1U7u07XDnent062mVFIztCoJz3woiIjwWNoDnD7PPIMI9eGzklVVrbk0G0RNKXpIEQx8bISFmUHbw2hvB9Xcf3tQaODCV/lh3SkOIQPxgsLv9bN82rPZ2yT3/RVqDukSIPWfGHpGxac4Cznqa8Veqa+ivMfSOoizDgFszS1fQ73hGSdYDFojEeUXTdqDMaSxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SZMKSzz/jZPDs6tSvxwP1+fs2Bf5jZmg74dVXWzJNFg=; b=bh2SwBXO+2FY2qpjXd5+JF2oDe3nUhg+M7BRJVVaf0gJyn1waX6IQvCf6eAEqFDxkw5Oe3RSzaLLzR9RFo59SZOXiWpvpUAM/wrsK/LphkPuAMz4IjUkyeUbqwgCEPBVPJ5m3/+F0gofZ4tuZrcngGceKxfDBGuRb0qSH1CtjPAur/SdecQfYanhJ9qZ6SvuHZJvLGuGpGF+qBbheapZaX+UUTc96P0clRzHhj7Klv0SHlxfg3QL9PqMMhuguNAyMw5hTiff1srxMBrpE2uuitqLa6DrVgTjJhIaAiMg6yaZkERLw4tQt9stldx/6DVQgWYL+aow51G/fbnRYz15SQ== Received: from DS0PR17CA0021.namprd17.prod.outlook.com (2603:10b6:8:191::16) by IA1PR12MB6577.namprd12.prod.outlook.com (2603:10b6:208:3a3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.25; Fri, 6 Sep 2024 14:50:15 +0000 Received: from DS1PEPF00017098.namprd05.prod.outlook.com (2603:10b6:8:191:cafe::81) by DS0PR17CA0021.outlook.office365.com (2603:10b6:8:191::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.29 via Frontend Transport; Fri, 6 Sep 2024 14:50:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by 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; Fri, 6 Sep 2024 14:50:14 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:50:04 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:50:04 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07:49:49 -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/16] ixp4xx_eth: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:31 +0300 Message-ID: <20240906144632.404651-16-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017098:EE_|IA1PR12MB6577:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b239017-6a3e-48bb-b19b-08dcce833757 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|7416014|36860700013|1800799024; X-Microsoft-Antispam-Message-Info: fZjGzmadwfNOZmwJUU4UlJa0ZZOuJKfI7QZL73RlLKlS52V3Blu8Ar6BvWOahagop6ryNfrvfinyz+hZKSMjILZzN7slSfqkCS/sxheLGc5uXe/kYJF9s5+xD2DaC8rgZowyTXx5QxzLJPLbRcnRSNH+Fmgyh/eBIwgD92EhMqX3i7SIeQ7K3cA9NqpF65k2JHMpNvihckCNngZw9RnigUfGs3/ybpSZvluOb95B8Vf8kccFO6raGyz6MiO2m8v5mYzlUpK6GUQLbO/sbX9eSVjLlFz8FKQ4TLFsir1IWvaGpG95H8kToORR/xd5H0HqKQQjsIGogaJcOSUnftsbXdN8rGMhla3brAzeuXiAC+0s3c8+f3U9Dg4XsajGuOAMh9GmIKq5VRH1JWbjftGPBB9U0uTtZTolm/3QnH3n+esVuf36PSaGcNyTKfukg1DRXh3bEnpyzKDlMOK3veYenyDnyMwiAGPsXloBmmc62igIJt1Di2VcfvIvNJIarY/CYy8NWgbYOMMTeJYwTVnwbSoa6zChw6zx7EH8aQGOdvCDwqfJ/zBbMW8RYg0eIrRx3RnAwnwuy9kDK4gPuXTImcnMR78fnXha45fsTDjn+kUkkIScDXzf6NOFyjqpB86lhYVkg2B6sjw8nwiM8Ka2ech24LUHuOVUkILzq20jmoCVhbpPUsHLCOuRnBPmeLRv3ldTwXchwgdjAeF7wy1k3WVUlOdVHwqTaV5P3m/d30W6Lnl8RmyeJIV2bpSNEV5nU6/rdojrYlymTGk5ca5ot9GQZbuCdaTnO9KRo1DjY5vJ9XyJ47w6T1v8Q3uvP/L06T8i+Pc74dSY7l9pTSsJl/i4I6llJqRtZUJkNAREWfQcWAvFJ+MX8eAjPBlbwAE5BHqwdZ1sdzLQQuTjIUw45mG/LwdamBijk932sTKjM+jq/kX3YZ84OT/7czT9nhF7kbj10f/QMvm7iQHnERwMJuVb7mXDWR4n+D38aEUBashQohegAtG7NP3NqL+xKLpliJRP21aa22PsilW/9WtJyH93/5214ThriO2pIyAM0mlucNEPDU+E6MuKfouJo1HzweHb5FalFoE+/bFkD2eyJIb0ko0yin+wyGvQCDamsMbVM+yFLnT48OzJ/RAc7MzdgCyL1kMoY6aOhfcnDtNgxObsHSM0CaDwfSI5FPuha9adRwp7Szx6auHkExZGSW9kSuQWPQmDGOtG1FGCWbamziirhD+hwOJ83wqvyQfyd+WFELbtjb6A00oSi/9zQSkzcglc7gpZNCuLdpjbIvkT7ftD4SU+8Ar8NScv4KH2U24Mfb6jhLe/qxzFB2njAaKVQkPzNAiDv5uD6BQSQWiijrO/JwrA/a/BTDuexul5FhbYSPA0SXH5+Ime/kbaKGMVBw4E7F2M8dmBJwU/42yvf/0kE2QorWQQrZ3hBvHmp6Yr8nfzKQNdaOshAZL9YXKV X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(376014)(82310400026)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:50:14.2268 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1b239017-6a3e-48bb-b19b-08dcce833757 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017098.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6577 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 Acked-by: Richard Cochran Acked-by: Linus Walleij --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c index 56df37f8d50a..aef316278eb4 100644 --- a/drivers/net/ethernet/xscale/ixp4xx_eth.c +++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c @@ -1026,9 +1026,7 @@ static int ixp4xx_get_ts_info(struct net_device *dev, if (info->phc_index < 0) { info->so_timestamping = - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } info->so_timestamping = From patchwork Fri Sep 6 14:46:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13794324 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2072.outbound.protection.outlook.com [40.107.220.72]) (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 9307D1C7B93 for ; Fri, 6 Sep 2024 14:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634240; cv=fail; b=aendK1RCKuBYkI2eTCw0XLaq6hZzdhD5wTdR/LmRWR0lIrXquD/ELJey/k2eKPh/36vVb2w1zktm1uGcr+Ca/9l63dy8PwEzst326ZidphbkdA1EuDkNSmd9JdKueG6et0gBQdflGqgv8TslUeVWQo2XxmT6Mo64LdUsCGBbfI8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725634240; c=relaxed/simple; bh=6UTMtUGOl8EodM07py3RvqfJJ8hVrvuhJo0HrgMxJCQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NKUwZOahNYQlELvkBWiUvdwBPUnattokZo4pErIAi9XSv6YuPc1dswaZangN3tUaKSfeXgqXOz8/ifUuRJMLroHPtU6RJfrbDCWM3G2Vf6W5Cud3hXr8L/hdueqI1CrvloDuluNfW0FPGSRv7H/czjeeOgX18w++TIjK469hmhM= 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=Ikw8zzVJ; arc=fail smtp.client-ip=40.107.220.72 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="Ikw8zzVJ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pEIbzh92q/ryIVZR+fAQOpb9kXaOyFgvVlhsu3BiBe85nFzHAasOYioVrAyU0UKmIeKJRbas8OKWdIQePhRb+9/MGYHkkYFcOlYvjyx7GzvxVpogVX2DKPBovxBcWzxhM1HDdCoekCNLvx66KWboTfgzsRzw6dDTgrZO6Krd4zaeo2r5SBAQz2igjuzsaE5SF/tdRSCp2tIxyofLMI2XSISguOboYm4U9msJcFdnl+XgFjqzwTEt3MTfAnZ8br4ePIzX0zV3yUWeYCH3AODphzxreOPjaS7hbYyjCCi0lyZmSVLzZZ3hTRPTGf0ZeiIUohz4i0CRb0v8WhY+YtcMVw== 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=83cwKY7PXy1tZjB+SXJdErAXQlL9CjTRmcmBOqCiTj4=; b=is8qi0mlmQoAxAxmb6UrtG/wwB4zdyG+vHBGwh4WP3P2+OwYkTHZg1jYICE7Lhphb4DNvwwuoso99NT6qOtRMqrJr48cN1Uf9Un7GW3WO3hGQd8ehDjznHEdqcjhp+j9eEOEWgW2/jhQELbGwH0oL3kLbUS30DD5A8RlKqg1EtoqRij+4qe6eFZPJOR4jB0lEMSfTSMxXBP/azIiwW1MgWMSOOv6EYeuSD2tJT2oiJqaM2mYvRu9ugm47EL4Dxermmdpo/bMxLCTFAZygRmCFpqCn14rNPdfauFbUkzD1NVBHatoqbhflgsXC+qq1R8NIypaVcOE+AMaIV1OfR5A7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=83cwKY7PXy1tZjB+SXJdErAXQlL9CjTRmcmBOqCiTj4=; b=Ikw8zzVJhqMoJZ1a3GQh0l/cs69Wj1d8TFxtPhKPQ4WVRX81pIwCFbVo4RR3ttgqsy3Dr3083S9fX8rC1cPVDbDitRK/ujZSbVsxKYUsPBCzTRavs/kNfL1ynvxq2c6TpearijnRPFHmYSsmZL6kdzvuv+0usY2UIo84E18Ead3r3xld84Zrj+9v+ssfTq2h+KYcPpy/6QHZGmKZnBUJ/CU6EKiMptyTe+3wYBVocZCb7QHc1yimCNLy6PBazjWWWS8msbiGfGVvQq23qLcaY5uB9ow4LGdLtxemKOTvMnL8CboAQlpa1x/D7NoWMDvug99KsjmlzgtKRF11H9RYPQ== Received: from DM5PR07CA0058.namprd07.prod.outlook.com (2603:10b6:4:ad::23) by CY5PR12MB6429.namprd12.prod.outlook.com (2603:10b6:930:3b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 14:50:33 +0000 Received: from DS1PEPF0001709D.namprd05.prod.outlook.com (2603:10b6:4:ad:cafe::7d) by DM5PR07CA0058.outlook.office365.com (2603:10b6:4:ad::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27 via Frontend Transport; Fri, 6 Sep 2024 14:50:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by 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; Fri, 6 Sep 2024 14:50:32 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:50:19 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 6 Sep 2024 07:50:18 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 6 Sep 2024 07: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 16/16] ptp: ptp_ines: Remove setting of RX software timestamp Date: Fri, 6 Sep 2024 17:46:32 +0300 Message-ID: <20240906144632.404651-17-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240906144632.404651-1-gal@nvidia.com> References: <20240906144632.404651-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709D:EE_|CY5PR12MB6429:EE_ X-MS-Office365-Filtering-Correlation-Id: aa3e164a-8208-423d-3ebf-08dcce834211 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|36860700013|7416014|1800799024; X-Microsoft-Antispam-Message-Info: 1gagoF2FtMO9Dc9VIq62RqIaXxbwm5ZVTCAADG9RK0IKdGC/jnlLfNXEoZZdh8hn4imv57ESqAp1H7k6DI4Ms8cGjHQs78Q4dp1SmHzUB6W2P/n2WIGBGJp/eM9IEmV5R2e1524Uzk3TxHdeIGIoWyo8iCnk9l03YIV995eJUGLP0ttAmvTdiECryXeLkb//eCt+OuOvrRHcRdvKcxOrY5B+zIbjvDBAdCrp48LJwCZf9eVCY2OB3Fz5ZvjsFm0pFBsAi2qCnkk1wiPB8aQWfjiLvTTMCDdsOAiJm1p3s7crhtuWn5sCfLiFvMSN9t5VeLW/Bzra2pKIc/K59U32hEyD3UfNgigGtBqfCRAx4bfMDXyOO9DGKjf+zBfa+j4a0Jj8OQ63CBntg2avL0Jn+0W4jYWF/OqT4ZU12ztxQ61Xs6hLTcxO+wqycG4ECFCw3e/VAb9FUGtCod70XdpcXgg+HNSTgpHH6mSfZ/QdiW0vnDdagPDtcUKr6sWMiMJZid58nyiIq+mw93eCcXeas9WCzOE95XkE6l0RrNcCg1YzAFAL3jffdBvRDr+Ayset7xxqaz7wb35LGvXG4agRFMrMSN7kQ1eRi7tsj1+b7Gnx3geUXSrKKERuIOGV4YSz8IRhvFkMUTScGZl0i58b9zjP0LaK147x5WGkCfjTI1yPihQ/2g6hkett+JhhcPOQG+VAGSMPzFrq6YhoOj1vxN2Jllg/Zc6/WS9EHk8GRO9mIlQMLBHL6ZQ0c6wywST0IHCQ4hdb2rEiCcDV9rgi8lS1ocn4hSQZsM1lA8/0rRHLrnWtVVV6AXX8hmSAaksTeOUU9Wn4/Qcmu0/4h+PrqSfWAAlmss6FD9rjlouhu19L5pHX9R6MOF3QDszvl+ap7pGNobmiCsmpIfxiYf5KQNKQncj8PY1ZnXh2hHqg02RBwUaBAu+pG53dYbKNKsQ/Az62ggg7Ud2xKJ1cHKX31+WUkE3Q2bUbqaNvgI2zZXABFfrI15Do2VYedtE2APFxuJNsKGyiBFXwEteQNwa8F/xUmE2XVfPqJq+6YqxOiA2SE0EYBC1awlBDIfA15+i96oXJ+G+8zzUScgAwqNvBuQxwS28od1XwLbHm4pGd3ANLUANTn/OMUdvzLgzCWncm/ghjX2loBC5iuiNv8PiRF7n4115to3jSyESgCd4HdDQIU0GVgLLlnTsf/KzNwGwjx1uybK/Gtun6TELH3UOkycsZOnCVtdkyOVPLqUK6YUwFOjgI1pYCx2sbiGIhvyrUdWeXGTzg970OZiYvjC6P2iDjq3e6WT5rrw9ITMliP99VXexOrqIu6WgznIrfRbmLRlzbMn1ysFg/0r9EV8Y3MG13odcbvHHuJw3QZJwAwpsmJKxw74885lkZFnRRhaUt/0f2M8HSil4u/ly41c6EUmSwY7oLsaINfN9qiZbvDaiMjPXRhBOY784sN23383S9 X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(82310400026)(376014)(36860700013)(7416014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 14:50:32.2981 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa3e164a-8208-423d-3ebf-08dcce834211 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6429 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/ptp/ptp_ines.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/ptp/ptp_ines.c b/drivers/ptp/ptp_ines.c index e6f7d2bf8dde..14a23d3a27f2 100644 --- a/drivers/ptp/ptp_ines.c +++ b/drivers/ptp/ptp_ines.c @@ -562,12 +562,8 @@ static int ines_ts_info(struct mii_timestamper *mii_ts, 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 = -1; - info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON) |