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/0ULzE0BIv1oi9GUh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sTQwUAJFi+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;