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/OSr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jjuMtZ6wLrgADUHs7W1rdYlE8w7lXDG59fNye+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) {