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/u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piinqJmEhIC/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;