From patchwork Wed Sep 4 07:49:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13789920 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2073.outbound.protection.outlook.com [40.107.101.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53B541547EB for ; Wed, 4 Sep 2024 07:52:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436375; cv=fail; b=KRBpd6FSZKXT8uZ7oXypqMbmgzhX2wJhMd7giT1nf61asB7uqFUt4eVWx+HhPK+ERd+z77hI23ZJHDg3CsqEL7ECFa061NMnjIviFdZ+uJnN4z61DAjgjXkAqhp0Own2CtHeJzHxwFgjjeSKJ7uOZcUj2Z3N5NQoGSaOSRGKSfQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725436375; c=relaxed/simple; bh=EAza/WZhoGybWsuZVIsGEyf5zmAi0bFTPSUFcba0Q44=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HyIxNiZwgRm12XTh080aMGYJ0342D1qHjGQBEzw2MT7AvjziF/ZeVLay0Tq6ILMJknEsA5iVQ2FrmS6bUbIhLARQ6pqr2acMyty1EDlZMTs9YuYRc4IX8rcG9S/X+DUEzPqcAYKvso+1WIeqt0zaqpc4aiynxjrnjqUJPHRgdG8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=sPwHyq5q; arc=fail smtp.client-ip=40.107.101.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="sPwHyq5q" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KgqpZC9WW66ApPfxw0s245xNMEZMXr2PiD2PVpToknw30eLIveHsKHCLwamQFUUxBMRZDaxOvxTC+gQ4ot6aZpCVqbqi7s/iLQFQuKYGUO5mbFmk+9CjxDeKPTOwyWXHxWj3Tcnf4KLDN/t5oXpQvCT4c5qXs6xeBKchyMXIlVIsRKKsYtSe8VVf9aRpLncvHCNedgcRh/w+9q596VePVoru0rgXaFE4Ix8Ubzm/93ayVmFCRQ2F0JwNSPTv/Jxd8xARHz09JEKtN0Fzn55uGAoc4ai5tEZ+Qw3B7hUKvaQYAtTQKQjN+KtS6xW/EFnWc1RnA3pgGdvxi5hNqxJcNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ncQB3c5p0B/ai9eV85oZQ/06Zolkek4LD0YVnOi7rqk=; b=Cw7xygfCexPGWnX4V6QJNbi1FMzNJsr5uGokYEHWDdIy+dCu403c1zbACatSTpSteq1nNWrhNnwVtpPbKwSq8ieTdU3Dq1J8roqvQPAkzEwtSX9W3rTFxy1sa3mBwFCl6lDL98JBBR0NhJbd33lnQGIieGLNLZLT3jZoT8DeT/pafACbxf4Oc+bcKFSc5IR6PlE5Z3Pf151w26OaoUWFA24H6fDteAaCbpAOVpF2B56HI08aLLuOOsOWNtK1LWBybr3s7cgkZh0QF6EfYbCXOkkWe6ywimiy2LP+D+nT13o2BG+cdOGghrKZVxbDW9l+enwtTem5FFFQP4JC6f0lrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=davemloft.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ncQB3c5p0B/ai9eV85oZQ/06Zolkek4LD0YVnOi7rqk=; b=sPwHyq5qaamqv36ShPo7xTDQoDS5o7+seTchYGMoBiZBOxtneyRmG7yK5Yq7vF8KKqUITBBQSP7ffv0z39iFRlKNaa5qMVZ8TOKtLBYmGyGztSBa3GMQEgqFhNTb2H12IiVEuOqA3YHZvERgpJ0sVJtMjIpEusphojjxEB746RHiJ9l97JkVeiwFDOzWD/C6HffxOEdSnDR2e8pDZfsd2tCTh5lZrWlmNxEryokHlcSaO9h15CmZYw0AQTCD9JpLVT1TsEmy1mbiNCF3ATkrT5L5x30awNjyLlFT9A8y7LvDs0Y50RRdovxyyEVqbr8bh7vT7hVpKH0ygxmgxcpuUQ== Received: from CH0PR04CA0016.namprd04.prod.outlook.com (2603:10b6:610:76::21) by DS0PR12MB7828.namprd12.prod.outlook.com (2603:10b6:8:14b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Wed, 4 Sep 2024 07:52:50 +0000 Received: from CH3PEPF00000012.namprd21.prod.outlook.com (2603:10b6:610:76:cafe::8f) by CH0PR04CA0016.outlook.office365.com (2603:10b6:610:76::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27 via Frontend Transport; Wed, 4 Sep 2024 07:52:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CH3PEPF00000012.mail.protection.outlook.com (10.167.244.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.2 via Frontend Transport; Wed, 4 Sep 2024 07:52:49 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 4 Sep 2024 00:52:43 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 4 Sep 2024 00:52:43 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 4 Sep 2024 00:52:30 -0700 From: Gal Pressman To: "David S. Miller" , Jakub Kicinski CC: , Jay Vosburgh , Andy Gospodarek , Marc Kleine-Budde , Vincent Mailhol , Shyam Sundar S K , Sudarsana Kalluru , Manish Chopra , Michael Chan , Pavan Chebbi , Nicolas Ferre , Claudiu Beznea , Sunil Goutham , Potnuri Bharat Teja , "Christian Benvenuti" , Satish Kharat , "Claudiu Manoil" , Vladimir Oltean , Wei Fang , Shenwei Wang , Clark Wang , Dimitris Michailidis , "Yisen Zhuang" , Salil Mehta , "Jijie Shao" , Tony Nguyen , Przemek Kitszel , Marcin Wojtas , Russell King , "Geetha sowjanya" , Subbaraya Sundeep , hariprasad , Ido Schimmel , "Petr Machata" , Bryan Whitehead , , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , Alexandre Belloni , Shannon Nelson , Brett Creeley , Sergey Shtylyov , Yoshihiro Shimoda , =?utf-8?q?Niklas_S?= =?utf-8?q?=C3=B6derlund?= , "Edward Cree" , Martin Habets , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Siddharth Vadapalli , Roger Quadros , MD Danish Anwar , Linus Walleij , "Imre Kaloz" , Richard Cochran , "Willem de Bruijn" , Gal Pressman , Carolina Jubran , Rahul Rameshbabu Subject: [PATCH net-next 15/15] bnx2x: Remove setting of RX software timestamp Date: Wed, 4 Sep 2024 10:49:22 +0300 Message-ID: <20240904074922.256275-16-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240904074922.256275-1-gal@nvidia.com> References: <20240904074922.256275-1-gal@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF00000012:EE_|DS0PR12MB7828:EE_ X-MS-Office365-Filtering-Correlation-Id: cbefbeea-4261-4bdf-a760-08dcccb69298 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|7416014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: hCTWrYRxgWtHuBFyoVOj+V4Hd4S5Y8qYOz3qYRq+WMgGJgDp22QkfuVvqtAXYqvgBb0HvnKAQbFfI7pFYHoVZ6wycAKDb+y2qzHmfHsuOmUZli7FfZcMbJRMAcgDVTuy+SKyKumZYnrCddPx9eboa/1FpjEO7xy8rN83l6Mg1BZhEUS7FdICMUA36dxxK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19V7BZkFRwQAUaYTJGMq5iXZPOHExyj0OLZr1jTYnnhvMhSpLjCpd/0R7OjHCH8Y1IG/TW8EBpoQxZ8EHqMYYH8ubXZmLybuH30Ad5NoHcokmAObTDqQV8rJkEUXcZEBDSIjby5XVbRRJrPjugaFM5VLevJk5uRaQfFKxMO52B4uxcWla1AG2pkTGAGaDb1qPA X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(376014)(7416014)(1800799024)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2024 07:52:49.4109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbefbeea-4261-4bdf-a760-08dcccb69298 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CH3PEPF00000012.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7828 X-Patchwork-Delegate: kuba@kernel.org The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index c7b56a5e5425..adf7b6b94941 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -3640,16 +3640,12 @@ static int bnx2x_get_ts_info(struct net_device *dev, if (bp->flags & PTP_SUPPORTED) { info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE; if (bp->ptp_clock) info->phc_index = ptp_clock_index(bp->ptp_clock); - else - info->phc_index = -1; info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | (1 << HWTSTAMP_FILTER_PTP_V1_L4_EVENT) |