From patchwork Sun Sep 1 11:27:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786391 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2044.outbound.protection.outlook.com [40.107.244.44]) (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 D9EE6165F11 for ; Sun, 1 Sep 2024 11:28:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190109; cv=fail; b=BIh9QeKMVoPml6pdYWOXz1K18jRgKuR6DOflwo+iFZl22Wvn+206hw3YsNVgnxTsbMvfYQ912WsvsJ/6QTKgDJRvNvK1EyPP3AW/xoTkfqMAusl8MVOm29CIqk6RvY067uj7Npp7RuvRGoicrjke9jdzb8VExPsTvMaZDxOh0To= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190109; c=relaxed/simple; bh=Y1em4mmNlGqgtp+VUCwvHRYtqzpAu7AIQcSdMPERJSI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IoeYHQ7X1512264w9vsJRZFxFjtraTlQY1ufUT3gUqFn1EIwnFmpAUh6Xd4k23f6bb/N6bSHYH6hvnbI0aTsv4auNFf1GebdyxHXFcQVWcbBomPsZyhzopwQDO1uVR2BUVKO2ftmITPkWEDITnJqk+LU1NhZYclj4PSvsoL1kfQ= 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=NhXTABaA; arc=fail smtp.client-ip=40.107.244.44 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="NhXTABaA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sFbMuY7ibF+yL3WB8+Fr7lyOQ3VyjwJlkDd84hjrW+wIjtR61iioPE2D0dJWuSyg3kNVn2DXuvMhMJvogicZjIPGYrqCouYUFilPkieNGQbf3H7jw/S8mDte7CbuGLulGb+W0sMF258YOyiAXkYbgWZP4akR5YzcXv7bfvhH1+2k79IIBRqoyH327h0cvkbQ9VwRUsQ4ZuBrgr9jl7A4Um58mbiapU2KVK7HLdz3yse+TWp48aTcbEQGOLlgjqBO3NFSNjma+SIZhElUURAfpPwjsBff//QfCarjGBjgkv1fSKFCGUyQWqnQURcOyP1Dkr0JRTOU43ta/mPQc/7f3A== 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=QrXgOaLSTJVwh9UtymSvMc+fz07VtXGxt9/EIBW9558=; b=HSzj8PZTc3qLQNSxTT2v/ZcBJHJ8fa6sVQR40se9WB0aKqwa/o3kXkcSaBhjjPSLTq40bo1dOixIq+Zt+d+FJ79rQ5Qy3Nen/ZPs50rLOd73JbfkGlmzs5yrn4lO0sksNfEvOSAcRFa1OFUdRltAk6FEYNOIEzJNiqrqrIcsv+e8HpHcuKoyeMWL4bfFe9oMjorY5L/rPmmMu41sVUEPCuX7cJrs/yEEqMHh9Tk9KMrqQ2VxOVQUtvxTsmCNTeBJfTfM75dUM8tZ7RYFdpK1tS+H6IlQt/b3pjpJQIHil5/84q0ePuNYFOWWC3XoiPXPFg3hqxeLYtqYOuO9DipqOg== 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=QrXgOaLSTJVwh9UtymSvMc+fz07VtXGxt9/EIBW9558=; b=NhXTABaA6yDPCahB5gplzXUjrbXH6yor6j0FD3lw28ZcmPfXzpECxKhcQN9QTsrCdmY/b49pKNqUJWPLtZK3jcyDzhgMR//ICW6IropLTIjuan5t53YGcXD4yeb08+EIo3nwqEOpmh2h+gzx5PD8WHVVZqBtPq4rhSR/HH8k+ebfHvT0iLL5pfM7exkcxJqOQeeWJwpyMowgXmp6MX8yrC8gU5cI5RGnud2ZSKFkqrUlwcyuC8RMIyX4l6wIDHswYmHiRVwBIBy0B8l5jzFcmklkA7JOz26BN0K1uhO7KuXc7vOj+sK+E1GsiVn6JUEnhyFPyCuvQaDYq1+1PXssfA== Received: from BN9PR03CA0072.namprd03.prod.outlook.com (2603:10b6:408:fc::17) by PH8PR12MB6794.namprd12.prod.outlook.com (2603:10b6:510:1c5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:28:22 +0000 Received: from BN1PEPF00005FFC.namprd05.prod.outlook.com (2603:10b6:408:fc:cafe::b5) by BN9PR03CA0072.outlook.office365.com (2603:10b6:408:fc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:28:21 +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 BN1PEPF00005FFC.mail.protection.outlook.com (10.167.243.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:28:21 +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; Sun, 1 Sep 2024 04:28:10 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:28:09 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:27:56 -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 , Rahul Rameshbabu , Willem de Bruijn Subject: [PATCH net-next v2 01/15] ethtool: RX software timestamp for all Date: Sun, 1 Sep 2024 14:27:49 +0300 Message-ID: <20240901112803.212753-2-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: BN1PEPF00005FFC:EE_|PH8PR12MB6794:EE_ X-MS-Office365-Filtering-Correlation-Id: 3969a38c-3794-4940-5f0d-08dcca792f4d 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: rv9j5QcCTrLuP+qpgWD0ThnebX4pNIvw6LvJaj/WfnLT2GTWZXNHwGBbxIUlU5XoiQS43kLHdeftIyU+WMjhKAN52LqbZzTGVPIqkCflqJjW9/vv9LVhwvMFO1rsGgUdXdEaPeIUsZq7hv5zVP4oKQYSKCGDFZNedD43jubn1T1DIv/tOOGiCQE/V4txWRTRCxIy+z/PBnvC1bNvJJCAUBVYySzl+CSDpK7cCrtL4IV12m8m2HZ//bYWyKq0LoowrS3YZAsUQViLe5RsgPeP//zVYhDI74JiWK7PmpmkNFKh9koVTWb2psL2QhL+SdgcrnXbx4PuqohW+/X1T6TB5xfTLMo1PKIIP9j2gIsULD+O6QYTTP8ZhpcUIDUBRcRTOQDN857REnBTvc6CV3qhMaz25zMOuxrvHQ7o0blYu9YhJ18dBUqwhtTzBZqA259lr/CFR8yPR1Y59RV/zCv4GSteK9TmMOSLPLdFdLjQ9bxwPoqqbX5ypHqXbdbYRrAFcXcjtnY230lz+4FNOwwO41u/kjYsYsomT1NgjrR0cg4b7m79szDXbT1bRo1OK15qEAYhfa+qJemBsE47jrpTcLNQDmlI2DWM6RB/O7i458CbsV/r0mNhbnRZ+roWXp1y0ujDpMjykhfbQ8OusW3vQ7bBDgvgliDo49JUPKFRk8wcECVQIF09cfIknmue/JeRp01+HTwQXtaEpfxPSS9HMZjy7OkWlP7livFaq4x6ZrGt73Jtim9cvq3XfkwgMyL4GJlR/iZHDXs2HLC307q7Hc0ch+EDqdIZ29l9xU03YVp8/fMmJcot3msrbe7olShYQRJHgmN5GLtKVr/yuxLAoKSktqbsu7dpL4OcVXqOKkzKrK/k62ubvff8Kywv94esftk9Px6W7W1QAEzNUkT+0LwVpFljcPj1X1Qvtec+V5UrMpx+xVtge/2DkyRShLvt/ulDXv5XXEm7vdpt6ALK9R53uM6/kkPk1lcAdpcr1Qr2GTNtUgAQceIz2kGExvQSEcud65OEmCybFHjlbqldqwlqEZSZxAx1IX+hW6s7vfZO+L2aHpIpSnMuBYk+wHTVZki0WW9jqi0FXYFAvjgQZttEgoKwlWaYCnGRxkbx64e9bCiLQcS3S/FPnGjJdqhiLdFMJwBW7Tqb44UA0craWCai9RxFfAVsBDy/4N3Z9Qv0ZanroOj8BWL0I92qdgxTCmsVFtQ4StN1lusQOrcQEDjGH7psx1Jo6ZuG22k5az9UMc3TY3tGWJN1lpJpiA/iyxsQ25Dfny4Mp0VwPWS41MFAl9jt8xcMZVAHk9pdwF5JjNX4fxRNIMqDt9t6PGUYL3cujb8+eOjaoZxW/HdcnyJ1ZAYrDNTIdU30ndF7tdrtcVwO6I9lFkgWXBemkDQVaAe/3YMYhTGBOB/TqwQ4U+UVasUSiUXiU6Qfy8V4TmNa6GYiU0hpIM4E0n0gRXcR 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)(7416014)(36860700013)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:28:21.1346 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3969a38c-3794-4940-5f0d-08dcca792f4d 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: BN1PEPF00005FFC.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6794 X-Patchwork-Delegate: kuba@kernel.org All devices support SOF_TIMESTAMPING_RX_SOFTWARE by virtue of net_timestamp_check() being called in the device independent code. Move the responsibility of reporting SOF_TIMESTAMPING_RX_SOFTWARE and SOF_TIMESTAMPING_SOFTWARE, and setting PHC index to -1 to the core. Device drivers no longer need to use them. Suggested-by: Willem de Bruijn Link: https://lore.kernel.org/netdev/661550e348224_23a2b2294f7@willemb.c.googlers.com.notmuch/ Co-developed-by: Rahul Rameshbabu Signed-off-by: Rahul Rameshbabu Signed-off-by: Gal Pressman Reviewed-by: Marc Kleine-Budde Reviewed-by: Willem de Bruijn --- net/ethtool/common.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/net/ethtool/common.c b/net/ethtool/common.c index 7257ae272296..aa7010f97152 100644 --- a/net/ethtool/common.c +++ b/net/ethtool/common.c @@ -695,20 +695,21 @@ int __ethtool_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info { const struct ethtool_ops *ops = dev->ethtool_ops; struct phy_device *phydev = dev->phydev; + int err = 0; memset(info, 0, sizeof(*info)); info->cmd = ETHTOOL_GET_TS_INFO; - - if (phy_is_default_hwtstamp(phydev) && phy_has_tsinfo(phydev)) - return phy_ts_info(phydev, info); - if (ops->get_ts_info) - return ops->get_ts_info(dev, info); - - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; info->phc_index = -1; - return 0; + if (phy_is_default_hwtstamp(phydev) && phy_has_tsinfo(phydev)) + err = phy_ts_info(phydev, info); + else if (ops->get_ts_info) + err = ops->get_ts_info(dev, info); + + info->so_timestamping |= SOF_TIMESTAMPING_RX_SOFTWARE | + SOF_TIMESTAMPING_SOFTWARE; + + return err; } int ethtool_get_phc_vclocks(struct net_device *dev, int **vclock_index) From patchwork Sun Sep 1 11:27:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786392 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) (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 95D9E165F11 for ; Sun, 1 Sep 2024 11:28:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190125; cv=fail; b=reZRVOzphGFVKHa4hURn+pz/geFqbvskZzc83Rk5tANsOrPgHFeDDtsxTGw0qXniOKrnFEgAWHxq5rv6J1hIL/x0u4fN/5syHloVccgwcXd7hkuNp3G3i+Dz7/ZawU+zUEsHjXt0uPO5JL3ynjUw89It5NTIbuvfmRt5tSIUSsw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190125; c=relaxed/simple; bh=em3ZcM5izUUzZkznaXxiOehIspcwJoNK5bUC8voJFh0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PnmxpGqNtx1s+4j/qDZMGtkNaNnYcbp1WtD0ZtN9wH3/1z+5jaUFJBuH0mrlK5lpmBrqcNGPrRvTuPHdFQkk6U4X1d1QdoOFxn6DvSeM/5OsrPksUmBv/IWelFvTRe4XJ0/tsUnHP1xf+p3R5RS7LL1/NMhtzSTgsc55bAV80N0= 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=qi+ooFm5; arc=fail smtp.client-ip=40.107.244.49 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="qi+ooFm5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZikU6b2FEfFx8Dx1zehJKmHOktbhohwGmcEjnDmQ9wZm1Pti3+KvjCjguiaEpVopt7KSAu6VxAUU/nfSMhIOS9xfpalAL/WIY2tg2xKTN+UAAbb5XT/hzOfLbZha16v40LWha+9MUqZvXa02huoTnHYNWqs8gWG6En76/iMCfpDj/Tszn2EwKBAGS2P0y/aUTmSRwcY3mksv0JDH2UtKT9wCBoKFRIwIKm1mD1MfPN3VfA4ieViEvNtxW4V++yrgMOoJnrAKyf3gdt5mT12S/daDRej+7X+3n96vy8af9SSbY9C/6EDrdUwowOxuZFP4e4IJTHXhsdCoweGJ8ouuvw== 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=NtmLDPuX03p3zAxUy3ylpXhMQfdsddCnPI3XOWx80oI=; b=Pc5i5pRBWuQ61IUdTdq4o1L4I+sYe8NpMPPoVmR+iMp9C8fYBSwMCaiWFoubPgn0lVagV4Dh89mKq6tCkkOfPV5B1ExbY5QdGkAb6pPSaQqdFhghJpKEm4rsSMzFMPbgHnqgr8D9uRSR/lk6bt0NSeFXpf/fCK+SpIpvOW1wkBMn1Uvgw9STdkwBSHDjmNPHlCIYUwBnPGndPhsWesNSyyxcIJssqaLiBKgqXqToKgqRg9BtulcBT2wukLey3/JNu1OVtipaIUeXdB00YI7SXTVLtl6Oss3FEWXx3iW7B9SX+9e/jyUYNxDaFZRHH76fHBfGI7xBPQxIK44dVgjnbQ== 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=NtmLDPuX03p3zAxUy3ylpXhMQfdsddCnPI3XOWx80oI=; b=qi+ooFm50yAK6dDZqIuEvpQ6heuZTiZUBv574+Fsiu482We7T+ftAWMJRjwifplHU6qchEf7RySQbcliWWg3Ng6c/k/ly7i0WFRZv7RJvye+ocZ5ETHb4qXKi6TGsHVKWBjun8mkmPYjMyYE6o0WNIH8ri6G3fsByS+wMtGvB6zEiDUcSdvVDtepcvi7zX8ep7fV3cLC7YzKrQ29YT6eMY+n4qmTMqlXeWthdAnvbXCNjlAAmXhbYqbUpdzyZB7heYOLBCmIanwz4S4F0wXECDOQPdPbiIK28+dwhfMWCGJZ4AKMHMqd8al3q6Z5KjjCrGxDip3nmLpQGnNod8DuCw== Received: from BN9PR03CA0703.namprd03.prod.outlook.com (2603:10b6:408:ef::18) by SJ1PR12MB6169.namprd12.prod.outlook.com (2603:10b6:a03:45c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:28:39 +0000 Received: from BN1PEPF00006002.namprd05.prod.outlook.com (2603:10b6:408:ef:cafe::60) by BN9PR03CA0703.outlook.office365.com (2603:10b6:408:ef::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:28:39 +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 BN1PEPF00006002.mail.protection.outlook.com (10.167.243.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:28:38 +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; Sun, 1 Sep 2024 04:28:24 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:28:24 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:28:10 -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 v2 02/15] can: dev: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:50 +0300 Message-ID: <20240901112803.212753-3-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: BN1PEPF00006002:EE_|SJ1PR12MB6169:EE_ X-MS-Office365-Filtering-Correlation-Id: e555ef80-c348-4fe0-3761-08dcca7939ce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: KNJtTAuIO4BW5X6ETeDF4yag405uLBgufnrV+ksWlAW9qZvxgWPGAUyv1vVdaRksh1KhCgxFzzMT9o3a9bbusnuyGULM56CEh+tkgloHgP8wb2JEprk+qBPPKRwAHqS7DmMKVEqlQm1ZntgEdaxeHuhQCBhFdnwRjTtfAyxeE/HrX0hWWxJnd4+Z7fNngpedmmDo+v07cZiee5/1ZhXN+wEfSDv+foUHaX1D4XrIVmectLvmlKk0CmuHZB9YozRrvfwVHFAKICubrygHuYJvBfSw0V00OIbwVRp82Qpwz+F1mgIUjttYo29fdJREZVS5jTND2TYsfl1plahAb5uAA4qAvyhXad2yqBSWSeNNQZNYf0caDQOhE3PQo3/5kp9h1J7cMIBELtEE/aeIfEGfV61RTaH6eQ99GM2i+ceFjAuMvHH3Pj2e3A71b1e3LESDUwWW3+kSDYWnNidgxRfiXhGoX+Nx0PvzaYXpVxRc6f6bPl2UAn4G68GhlFS3bUyaBO+SxjECthS79HwwcNzZ5EJuT84QMZfdHk+CjqlnyxE+lM07zZmJyVik6LaH9e5kHlA/LnkurtYjTpG518fDbIV+W6ix6aqCGiCO1xtJb3n4f93BZXuG3AqUQkMvH5mqnJ5fnmNKRSMCGpb7OZA59ybPy0lFsxLQ1d33PmHivuUpHPJwRgjx5oen2cMDSDc7DPdMM1+zfhd724Xzdq5F0Z44AOZs+zH7v6wMJIwKSEdtLWqPOUtPq2iMxm6/tjcQUCG9pPUQ53arf+yYq9k3HqPQVqBYq0Bc6w5pMgKGp4TH2aTT+Zt/e8e+USjreJ2601QDPq1kbmPZ/Sshf+1rEXvNApFWsMV+Xdt+RbSY99AXvyNE1NnDw8wUhoSsMHbA18pPTd/m3Xx+teHT0+2mZZ+C8lESxQHjCIjdYi3C/0AaxYSsWQ6tZF+4cHrwAkNGHGo+qfOqmpso8hQb4PZAEMiuuKANWELqlBJI7AFtoJESP0t1LMdYnZdwj9vA2gFiIHrfC+OS+OafCaQBXlzv5h5o8jZakqh5rcReyxLTqVUXyp8EBzsXF1UAeccFwiBd42yoI8pm/JXJAA75ktp0l5qyrEezSW3jkQ4qw+AIwnNv5U0b4sXT2TotBic+HG0qbhH2W41s8+MfiKmPE30fgGkTiyEe+rc5JeuAalMTNYVGC0+4bOFjgPCoReXkpAN116Ru7AhQWEkMrxifW0OjGe9BvCukMN8zIUOhtDQYPMW78aNIyw8XZ+Sa6D9/VQqO3Wl5fv69u6rKE85+MgF3o/VsZ2kTqENXg47yjNs5ZSxQ0zyRi0eonGFT6jMDSG90G4BfCX177vwbEbU4gkd5D9Jr8QjbR8hrVZY+RZ8ouyUaX7/yl5UaQK2aFmi8IiNiz4mid+4VG/XgfYOf80h0hjm0QDw2Sx5wrmslet5Q5ykhDEdlq2SBFI0yIsHELh9/ 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)(36860700013)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:28:38.7562 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e555ef80-c348-4fe0-3761-08dcca7939ce 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: BN1PEPF00006002.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6169 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: Marc Kleine-Budde --- drivers/net/can/dev/dev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/dev/dev.c b/drivers/net/can/dev/dev.c index 87828f953073..6792c14fd7eb 100644 --- a/drivers/net/can/dev/dev.c +++ b/drivers/net/can/dev/dev.c @@ -380,12 +380,9 @@ int can_ethtool_op_get_ts_info_hwts(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; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_ON); info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); From patchwork Sun Sep 1 11:27:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786393 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 3D4A5165F11 for ; Sun, 1 Sep 2024 11:28:47 +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=1725190129; cv=fail; b=eBTqNErVhZWNJr9mBia3qiX06kObiYSAW7sMYeDv91C+uYugrX73USflxzfR4WfgVfvxucrEc5BZLdI9eF17UGzmOz+Zqh6EJ9zBHNxx/jCn/L185vBG2wUgewoXxqRFLStZ0KBjW4zheXbl4I3M08kIfa1i2r7Tox3fqULJsIY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190129; c=relaxed/simple; bh=rQElQbWMKVUfiTjT60quLxR6uVFFBq7+TcYlyXagyL4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dcRHlZQpWODLONOss8BDiAP5EuJUjLiHBsP/RxfFoXNBnN//OUbW3k6D4w1u4BvcJlCxEyFczxWr2pZE8wzhfcuYmOI6yPAmOjMNAYpx7s46ERDwJG/tq6I06aPVrDtyflVgJr1n+DiXCivL0Y37pM2Ef3IAi5BljBpHem0H/ts= 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=c29BjAla; 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="c29BjAla" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GhsfyR/6zmQQFmAQ5h+zkDcmD9PVZDQDbPwxNc0KQs03Nj/Ml5e4meUD9p7Xve7O1a0o7y5dtOLInMfpEFul2TsNcULrFCX9aLe6gDTd6ioaD7OuUriHXjRT+W48ep/Js79Mu06V5J9aprZj2s/b2UZtoCSt8wmzEWeE+BPseff0XbHE8glWtpSoxU0eRchI4TjUjeMQRwSAZg+KJ5ec/zIKOS86T/o9J1AHZffUYm5RWWijiiqQbG4SlVH8PbQj7SJENQmFMDDU5NazIcxy80+R5OVySih3NTWDmTv8NR6aWUnFRzwiPMB+1mM4dGP/IVbu1B8NhXHijkoYoEdFCA== 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=G+zlWdiCzZdVJJWL1+M/JcnlXVyY7EK1srO29RH/yGw=; b=ElU9pZbgjpJb9fdY+6Bn7vbfhaDsNHC3kFca9T39LtM1wuG2R/Ydc6HnQCoLL+OVgItH0bGzrJPCNgdU5qNf9daSQYqwmPFiQtc34YLnuisokqaWSDfhgoKaP/A6hDkahP4VplRL1krcKoJx+JhRzn6Qnxz83F80FEjDQYFZrO9IYlr9csg+JQHoyW59qkWqXdfHYp0erD354JAWugyjznHoo4YN5gVSiK8kEv5Z8YfKLUTYXnF+m7lq3U422ydJz1Q17qxMSLfBXby7EvONZNDkUXET4fhZJWdMoKlnl66VNOL3soEjkAwGfaKM/YSqzipci0Ieo3ng3sQiHqLy2g== 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=G+zlWdiCzZdVJJWL1+M/JcnlXVyY7EK1srO29RH/yGw=; b=c29BjAla/VEkvIaXhKrhM1dq7H41ffp3zdp88/mLsiU8SEmSY3x6S62q8Z1Wg9+kNs3QUy6NOvNUklxPDNbCQWTuuGOfRPpGdPEPwI12FueTuSfOvovtct9dfGm20QgqUi0FDrlT9qGfs66iH5z6CcM3H1pOaUzau1eAGtRQiiYCrGTP+1our3hXW76Z8xBVIzZ3qn2wVgFMWjlOll8oWs5MXwIUWknFMDvFHSJfFiQH5H6EcXyXKbnU1xI/GD4EvMWXzEtVcy1A5kkhr74XiYTv+mveuydSRHmnJ6iWBbJYsfXc/gc2M54K8u5pVd8LrMNMsfBXZ9nkihkHbKLq5g== Received: from BN9PR03CA0711.namprd03.prod.outlook.com (2603:10b6:408:ef::26) by PH0PR12MB7886.namprd12.prod.outlook.com (2603:10b6:510:26e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:28:45 +0000 Received: from BN1PEPF00006002.namprd05.prod.outlook.com (2603:10b6:408:ef:cafe::ed) by BN9PR03CA0711.outlook.office365.com (2603:10b6:408:ef::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:28: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 BN1PEPF00006002.mail.protection.outlook.com (10.167.243.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:28:44 +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; Sun, 1 Sep 2024 04:28:38 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:28:38 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:28:24 -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 v2 03/15] can: peak_canfd: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:51 +0300 Message-ID: <20240901112803.212753-4-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: BN1PEPF00006002:EE_|PH0PR12MB7886:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c037f83-02c3-4b3b-d48c-08dcca793d55 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: ZW3TUrL9xV4fapi0S+kmwclNxrHRyJi3g6K7ZJj7X0AeD8S1TxOOIr9C7Ybzb6csLds3rPTuYSmtDDFhkWQLynIl94pAukf9ckmwA3sTio/mEpsjlmjOmUfsPG3e62kXsfnWKxJmwypUqeQ6n444GaILbKHJwkqUav5fwDv2jKxIBFUEBa4bP0nZH6K5tur7nP6CPVY41SlvC3QZlp8BXwGRmxWFWUF5KIbr4ddo4fkKeUkkxCf7RJEJNxvZYgIvZC74YWeWf0MxVvlWS62SSE1JlRP4gF0crqwvgf5BXcCqwG5dAALU6qwHf2TWVGClO+tnZoel1rLiDp40s9TjivAQVRQuPgmdyRsTN6raUxMnyU7PxiIbOsceJE410hK/rXYJBbuDDSic7r4LRnVApmeasBUZLR06LvWYT4aXQ1MFpQIkNsBlKbQZdHEKOH3SP+/Co27k8BTs9f1lU0f7A3Ouw5kutO7VWHzlYxQkf0Q/K9XiWR/iy3D7gEUAhiFHPB51JhEN5UMBGxW7Eo8ljUSlZoZtU56UT/cFcUIg8AUi+MHKJbLAFMZP+M2HN0jhCPrA1oKByVHVJwhmVsrPG2C9/blRkOeiUnY8n5oxvR5ehyKTaY/HTMLVdH5SJZBfgspBE7Z3klXkuP740pVO0f1ZecjTvgLO+6P/6+Qxq3jIbIBPFUM31d+1uuL/jlW554VKG3jMXDtWlpczGCsnkKK549HpGlVIz47VIKORkok/mUeqpU4MUgi+L/2zdET712/jGdoi/CggnU7qUnXMnCAzqN0u90XBhxZ5DCrpyc7n4nF/3LuYfoDz6opCOHxvwQlX4DEzdxkFAor9eSFXHMRntYx/oqH7doiSEvCuqLrJgVjBv4iDY7aKkMOUoSf+Zmpyp0qb6PI48XWKjToSWJ/I42c4VknO6t9WC0KGp8O9vaAywGZ7zbmYjiCeAw6Z0l1YJSxOL0OWdQrynB4FRdmjcQEJgElCkNu8wDpZSPl+/bEYIeCtPVnwpjsuopL1JU4xvGg1aiPoA/fIKJHBBWxCmYqr49gri7Xfu3K3kHUtD63Qi5FfTCKUII/VcZBn0pORC7JAchdiOPgMDKRihm5ektJyo9+brrbtOAEP7vGHiPwCl/gqRRUn05LMfb7ufjVRsuaHuMhWMNrxWjLyF+TNaR8AMBDNm+YazrYhlzuzTwtJrLnfNHJ0zVf2HfHcEtlKEjeI1IpRyIk2YR6MoFLoIQEfwG9gwAHp+nVLlyUvoQCQ7pp5HOEkxF/CzvKMHm39wowvH94n5ezbOhhkJbNVojpui4jAB3LS6pxy1AblPAOcDYiWyYt43LgSu64A+6+efgBjDkLGkmdxHkyPgMDT1CDPeWxj84tzHQeGzagl0HMu+B4lFE5OCaBsuTZ+TNJxQyWB8BlN0tZavLC0rX5T0yKTjNdpvWYJAyOQYWlbHm2hPttDSUKXomvjkG5o 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)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:28:44.6781 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c037f83-02c3-4b3b-d48c-08dcca793d55 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: BN1PEPF00006002.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7886 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: Marc Kleine-Budde --- drivers/net/can/peak_canfd/peak_canfd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/peak_canfd/peak_canfd.c b/drivers/net/can/peak_canfd/peak_canfd.c index b50005397463..28f3fd805273 100644 --- a/drivers/net/can/peak_canfd/peak_canfd.c +++ b/drivers/net/can/peak_canfd/peak_canfd.c @@ -781,11 +781,8 @@ static int peak_get_ts_info(struct net_device *dev, { info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF); info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); From patchwork Sun Sep 1 11:27:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786394 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 E08F2153800 for ; Sun, 1 Sep 2024 11:29:00 +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=1725190142; cv=fail; b=Xh07CHkJeAI80krV2aKhcWICrBXZg85qkkNVwvrAv9IC+2A3I9EcDDDP6SFwRQR0hh8pVtN92gKGZGYTYhed3FnV3sqMYcN3ewRs4SXazhtZ1ke/mCu36H5wguUf5ocIzT9yBcw0R0S/LRI97dGOsO0nw8ljkTWeqEGvSTST1R8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190142; c=relaxed/simple; bh=9VYc0rgPv/B7kKkKdTACOXXiU++xD9/qmg5xGjV47v8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GXly3F7diEx92HrMMC8coid+fzjOwki5cE34F/YcVm/1NrBRQ4RGeV6K+p+T98L6UYuqn7ujUH3AOTLJOD987vOVXMMf/1TvmaVxgfczJrdOATqLpYEVrf+elCt4UEmj/DAmOR9OaSojFTwTBs4xfx2F2lyRjRx1hg5trsmJDBQ= 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=fLPFeGQP; 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="fLPFeGQP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WL1NJgJnHAQiAY60rq/hv02bJWkEzFXdADqvhcNZ6RzwR5EDEiC7d4oFGRUmD04eImmpzRm3vWB0JJcwX8QdDgSROR03TUIsFE+SwsrH10N+sINDDs7zHSaK5YdTcktlN3G9TCQUhCbVVUIq0MPEPBih4ffD18rM4aQOHpe+udclsgcRPri8+jXFhCmxvuk9GD+uk7b6dbacRRwfQsIPDRZBw0B7SgrHtb93x8LB9W8uGLPLaHKaCDEzFDOvPLs4G7zZqD2qZEtfXT50zmjOVnYMUj8tqIXZZkgEgDJ5pM4b2LhMVOFNXMas++5kkYQnTwCldhRr8EZuv81E7zaYWA== 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=grhUbnkW/WAnofaNMCDFFjHhRkq4iVKuMdR0Ra2x7to=; b=GNCSOjZv6rRTDDA+WOpmD9kXNWwd7K9WqOwnDeixAFrxFPozJvBHZflDVNNXotv897bE9Z1DH1olR+IjAKSw4zEHjdtSiMiu78gjLVSr3KzCgbxDtzX/fUBBGohnJPURmRMJlmgZ2uhj77xVysif8GaxwJgsWW7XU4D8u8BctwSazvI/2tfhkaXJf1UA6whIjhDTiApLSz6GoQ7iQJeWV4NtrmKHSLxtWjqK3jBLY70r7vT1Ulp/0WBa3YJyDsn7JTteb4mwOrh4eYBiF6sxXFwM9p0eIT/VrLNGmM/w8k+9nn81Rvyt5E/6bpETElMEU/dGT7yxozAq7k481ROoEg== 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=grhUbnkW/WAnofaNMCDFFjHhRkq4iVKuMdR0Ra2x7to=; b=fLPFeGQPuPtlOtFCj0vl6ttdiF+MP9lJMCWe3vcROg+eizriC0r6ke3ffn8diWrbN5s22slLJblQDGylLxZ0unrJ/ZHpVteA7fjUvVaj2wxaZJwarFopk5tDFleG1UYzpra0mN/QjTaFGweRr/Z1OG8P1C905m2cl1qYIXIqtqIcXWoMPUzfL2lqLqkyU/3GZmdBDbvK68Cg8fGpR8oWSGqXP+pUDe5oa+GbNTTEVSmhfGheISKZ4LbeYPLI9M+8cyvo5wzt+QO+u+ZUNFWXFfx+EOmm101v6scDteN5oNXLQJiSJtgka/3Wxy9t4fTptAI7D0t4UZvZKPZOuj0CeQ== Received: from BN9PR03CA0085.namprd03.prod.outlook.com (2603:10b6:408:fc::30) by SJ2PR12MB7917.namprd12.prod.outlook.com (2603:10b6:a03:4c7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Sun, 1 Sep 2024 11:28:55 +0000 Received: from BN1PEPF00005FFC.namprd05.prod.outlook.com (2603:10b6:408:fc:cafe::a9) by BN9PR03CA0085.outlook.office365.com (2603:10b6:408:fc::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:28:55 +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 BN1PEPF00005FFC.mail.protection.outlook.com (10.167.243.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:28:54 +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; Sun, 1 Sep 2024 04:28:53 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:28:52 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:28:38 -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 v2 04/15] can: peak_usb: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:52 +0300 Message-ID: <20240901112803.212753-5-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: BN1PEPF00005FFC:EE_|SJ2PR12MB7917:EE_ X-MS-Office365-Filtering-Correlation-Id: 456398a6-9d75-4e4e-a608-08dcca79436d 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: p5hkDH8o72Z1+HbEmVqUTX18HYYGxniSql41tHctOSVwAzVxsJR4zveHxF2iFx+i7MPy3xFpCs4R1Ao4R2zXNBlZplQrOvM+6W/Mn0dqFaJIKbkud7JDDbiVBmcJPSd0n+1NFRxoOrvPxRAzyqNQ0zqHZwjYUuejlG9tZNQelr+5yPHp5yHKmF9Eme3WKjgZqWYksQ4WktjUTlVhSlHlCBgSiDyHEP3n6uVSilFZgjHBgP/fPt10QzLiIr7uS0nXxGxEeiHmaWPvyk+2lMrEy02CCpni60QrHhbFjfW69innGiDaaiRwc7FFo6PaA/EOr9wodeGjEhbmzLQ72mSjghHSab++TRHtATEDoA9Rrmojdz9i2q7/9DwZCWugCysMPrZmyexpPwB1Fi7sqZ+h6SvDCo9ZxHvSHZmUIw+ATa9AroiL/NMZ8PgqNHNN5CyDLlek7sh/oeV4YqbJFIwHhu4XUKM7Oh/WVpqi27S2uaVgnD4E6uHyCTIVFBvg0d2Y4EDVlxNquyzyffjgfpzXU6GFfFVkuejcHq/9Jfs0syfR06uA6qqKeVf+6oCRxWzohxdWzod6WPocAD1utqBhz1OKadSrhTLbTuznoWgrF3fjjWgbpzNOq37fOTjtQ68yC3Mg2Zr3jDnk88wfAWcrG2J6zNjhO8MvacScoDerD+soBfsOqewAO3n73U7okkNAGfmaLF+PRf63T8iCtUmrDUDObkBcyAfWvoyp0h04XkYAPWxaCWkM4PgE81P72fuNmHsoFIOSVMYuNu8i5QS4GeZWE8b60js+SUPiCDQg9cW+I5ww3HcbMeVFSNqsSoRZrlpO0BL3+AyqaVLOwHqM3HkWJGL9AwxGNTUBcvEXciXL+72iNBogWaH+PF5+kocrVOcG6BFuD3InweKAvTmi97xCzmCOJ3JKYxDxQEoq8vcJx6SVX5G19fpegN5tdBTdZWtWws88mkU+RkRR3EK1i3Zy49pw3GDARTb/qTqOVsHHKDY+DzXo3ufSSQf4SSnK11SJPnxL1/vvH1hjtPjdGuvdiaOFNUj1z3PO8hbyPp0ihl5jccskDaVNDChBqwQIQspgI/kICva8J81GmLyK0TkxiqQcSNYYhMvnaXKYeopvmR6D2ett9uk6u8K+3VsarRtPKrNWsDGBYIz0JvrzdwCJVM4IwakMOXdv35l1UkrAM8W8veQuqHITR+fU8GH7y0LYmScAveVJt69d1QnXWNVzkWr17N6B7HeclElFiGLM42P9/hBzd97+sk4Vlb7tJc1cL9y9drsF/pcmfrBBFmiPs0sNSCUx652C7i+s1BYUzoHU3xz+UrLq1xyNUwMCVW8B/ZEMImYtnv7XH5H9ZXLP5LeS0tjvmkLw2d7xC6VorqfClF59GJF3ONWJVfELE9eVtJ5NpYhcM1XbOrlTGUIgwk5aW6yYvoOp3bVw8USwU8ZeE1x8ISRwbCqBTCwp 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)(376014)(7416014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:28:54.9005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 456398a6-9d75-4e4e-a608-08dcca79436d 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: BN1PEPF00005FFC.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7917 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: Marc Kleine-Budde --- drivers/net/can/usb/peak_usb/pcan_usb_core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.c b/drivers/net/can/usb/peak_usb/pcan_usb_core.c index 3d68fef46ded..59f7cd8ceb39 100644 --- a/drivers/net/can/usb/peak_usb/pcan_usb_core.c +++ b/drivers/net/can/usb/peak_usb/pcan_usb_core.c @@ -901,11 +901,8 @@ int pcan_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info { info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE; - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF); info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); From patchwork Sun Sep 1 11:27:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786395 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2089.outbound.protection.outlook.com [40.107.92.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 9AAD9152532 for ; Sun, 1 Sep 2024 11:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190168; cv=fail; b=qlFOOR8kGdIFcBqViNRoniecarvXL4N/488PNDltaFffThwbyMh4cX7tF+VpHHqksbEjQ4wH4myg7SW5HhaYLpXufOJawy7RPFLh7/kOXDKo3zje16kmeGXMU74GSTR2yn1dhms6HDFNMxDoCKDyakhACOrs1eZM0bYFt+bWdpQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190168; c=relaxed/simple; bh=tHxanDhKw/72SwqfOXdlAfOZWo9Z3CBq/KN1QFZi/bo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=k9XcPyaDb4367Iy8x/9wGaSV+bHHa6B3KJB4ZqmMsOMpSh9oD0Jiq5HOLSheFg+KiBM2l+YZ5zJZcKUK95/BYRlIj8N+Ve6mw2Val2CbWnNed2e0cGDD6gh1VJoeP3LSgQja0h9/dqNouf2raU1+2wKxDej0vix5+XioNHWsyc0= 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=KUHP4ANS; arc=fail smtp.client-ip=40.107.92.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="KUHP4ANS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XUF5gFHm4RodXrfj3zpIA1MItFRxEl1n0E+/MQpJF15tF2gmDIppfrZLe7uwgN+RQCxiidEHwWpotMAFAXfLCT+oMU7wuGiV1UkY9A4/o3oj9dAQlN0ME3dzFfB3y4UPLIyE0NDAbCkObiRZPa/ps0vU4WdVbx6/fFcfdqiuloDEsn6+AhcUz23wZWZcB102EZq87LxTIjsM7AXKGYhyMsXIdoVNFsUbNa7EGFNwYFZBzXTe+4cX3XwI6vVcO5UKvd8K/Vtk4NXWCCW6rIy5TXX/T38jpuPuCvMcBfu16R9qyJdoAsG/DoTlS5zgyP8nhXWF2BtjMUqAc9z6D7neMg== 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=Lb0l2wgDCGCtetHLb6UXFkSfaLo/a2imGazWh+TOukk=; b=ZVk0soWrITI93r0uaRpn1voXOSBnr26AjK3ga7I9sqgCc+XJ30COLvMKha3dxXbFJywq7iY4R0DdJ7c5b7Ek/1EK9etgDx22uUMkf9mlpJHrx/bpOs8Kd2qG+V7GODnKhJ5DW6cs212kqLJF+RE0alrr6OZp8UMwYLdXL7++T9uY+Fj+gvQlqoIXrA52kuPzmilPsEdzRFzUFc25O3FGBE0806hFGeH5niO4595Sr8GwEYKD2m1EHaY4s4UIxKxH6SbEHOgg6Ij2YFFj/3QApoSenOzFAGeqyb1A2KA+DxGeXIu14vRNkZn2q3NIQ9IvvqOl4YddN6pj+VeTqV8oNA== 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=Lb0l2wgDCGCtetHLb6UXFkSfaLo/a2imGazWh+TOukk=; b=KUHP4ANSe4PZf/FDLAlvb/wFF7QWya5et+EnBAHlYwVOtRI1p6Bpr1SJ7D9yJG6uNHQh/1W42M9tDtokWKAlJdkOc80QEka6G9prm6oLETUovP8pD6pUTMf+YDAuQxZdxRAfjB49g5aiZo/XVGGTeSe7chahfoRHFcj+aGB3S5zjfSE3ZUtqok8/RuMdD4xv75UVOpRGxge5RlTNfpy/mUyFaSWGSv4uuQit7uFpvGhG2Pk5JX7JZocLVfkfYcZRHT5Sky6QIYrg0tXihlFaA5Ce9iYR6w4dQaOwKLG+d3Xl9Wjkpp4eNqX4MjmFyXos7F2wBhf9sxyzL7gL7oUwww== Received: from CY5P221CA0108.NAMP221.PROD.OUTLOOK.COM (2603:10b6:930:9::39) by CY8PR12MB7731.namprd12.prod.outlook.com (2603:10b6:930:86::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:29:21 +0000 Received: from CY4PEPF0000E9CE.namprd03.prod.outlook.com (2603:10b6:930:9:cafe::71) by CY5P221CA0108.outlook.office365.com (2603:10b6:930:9::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:29:21 +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 CY4PEPF0000E9CE.mail.protection.outlook.com (10.167.241.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:29: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; Sun, 1 Sep 2024 04:29:07 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:29:07 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:28:53 -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 , Gerhard Engleder Subject: [PATCH net-next v2 05/15] tsnep: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:53 +0300 Message-ID: <20240901112803.212753-6-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9CE:EE_|CY8PR12MB7731:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c13ac6d-a5de-4a41-467c-08dcca795264 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|82310400026|376014|7416014; X-Microsoft-Antispam-Message-Info: ERMmLXFRVg6TIer4DIUI4dGwKmROBHKbrYYY6IYzpZgwcxrA6Q5pL08VQFgd6UAsQQ57yK6fJ2K1GQ795JbTqQgb0Ra2eCnNyIHens/TBp530Nh3fum4xCSoJGJZBaNzBX43F7kxl9DfEDos67ofcPAHxxp8nFXTX+4891oPF2nJXsu7yxgMKJYMzsKzQoS+FA7MtdYNkdgOn0rrSKJbjnj6Y+K9UwcVKe80nNtQ5pEGec4yIAKuaX2T15ah0nqvTSRZUK6aP6Qx9EEMvWN3G851lw94qXBac805VVP3u6z/OXA5Tp92xNiOeXitjgO25qWHfj9YsBlmZ/uTEhqb8fotRtaq7e/uGMXWQp0NUxUTkoZg8KHU9s0U8lo5Wily4Yy9L3e4gJe4sFkaeJN1FbRzy489n1pBmkbk/LKCeY5LG/yhEoUSyDsLyrMZYk2hHXh0HrRh6/oLl5dxQ0v+S4mXDoGW2Jj728bk/dC2fwe8Qg98G6mo9HFM/KBE4JZblmx6xcAf2g2qEDhgPQlYVOzOvvCwjqdP5Q11Delrjd+tmdcYunqSecMfZ5xsDXLxWCbioSKTY3wuKP97TY3yZHuH3/BkgOm3L58cOHpTMlMCQWTL6rlxnNMB6mM0npujcLIy8kXuDQ2MV1lldiVvSBXrKQiLM6+alVCoPYFgPchdrogu1FNdy8/K+NuXQ5l7ajzPWbW5RBDDksAR2YVRM4vHgfuvmpcj/yth0o03sGBJlwG/0uvw3lg91HiU4LZ3C8mPsFxolSqCn8wkYWBUKM3TOzjqGZRbaB1dJgXWljPasGLFxEs3PYpKfiPqZmEFIrEqv1hjgAYqxTFVx4ebbinfz4iSge285O44sAcBX6nIKzg4repA24sNJW/lYnvlSIfVY/5CPERtpdqnLLv7ZRuEWdCDCVC+9jv1lFU0nRiJmiA0TGKRAbYHPGt+iJB+1fljrivVOkNtgfESdyS2toEmYq0U7BWTXDNO0UmKgRzOHb3K4Q97UxCfIicXTGLSO2o6YsJMFG2MPqEbSkNy49NqgDkeGg/pc17QP2ch8CHx5lfqX7GNeU+r6ZUq9keuamKLMUYyTp4dIrLr65Y7NXCHkLOKzgvhWypozpulHBn0xM34mSbna32Q0H4QHLghzgUYvIhcwILT5dDc51ZdETPLjUQ103t/wgJ1ZQljFQkugtMBslZGbzD1gds+yxb3/fkH9srLEGoM8D0edORmOEmLYi7NA4i9DgjqUbEDVbbVNvUIzkYH0Bf6IPUL//Bxf4a0kx2+u8QrPgdNSINcvEb9NzfpXK4WztgHjcfi2OmV0UfJ7xaj1DqdxD6QHYsrclcQqw8NmkixQe8wlcZGeE08yTxK+qJG2tQEtweFH/N8PBkInfJ0MZK0OYWSGBHSf+d70Iz3x6LMIw7SF8La4zY2bBHrAHImkYoXufztLyPbi1SsZMEVoZcMcmHbVhDf 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)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:29:20.1143 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c13ac6d-a5de-4a41-467c-08dcca795264 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: CY4PEPF0000E9CE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7731 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: Gerhard Engleder --- drivers/net/ethernet/engleder/tsnep_ethtool.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/engleder/tsnep_ethtool.c b/drivers/net/ethernet/engleder/tsnep_ethtool.c index 9aa286ba1f00..228a638eae16 100644 --- a/drivers/net/ethernet/engleder/tsnep_ethtool.c +++ b/drivers/net/ethernet/engleder/tsnep_ethtool.c @@ -310,16 +310,12 @@ static int tsnep_ethtool_get_ts_info(struct net_device *netdev, struct tsnep_adapter *adapter = netdev_priv(netdev); 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 (adapter->ptp_clock) info->phc_index = ptp_clock_index(adapter->ptp_clock); - else - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON); From patchwork Sun Sep 1 11:27:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786396 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2068.outbound.protection.outlook.com [40.107.94.68]) (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 AB497152532 for ; Sun, 1 Sep 2024 11:29:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190178; cv=fail; b=E/hBOzNCpB/SMCkGFEMFcYeHVhfAu/FUCQxBmGq/mV3ommlRacXGcXMRc8XSST5y9Xr6h2/ksHAbyZImHbPe6ByecveAN8ARDDo2Z9ohJ01zk6mr9ThR4bwY1GA+TkVg0PBJTfokMzBu9DUyqJLDZXlYvoS6++YJJm57JR/f55g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190178; c=relaxed/simple; bh=Vu+3LwR2S6W9wu9+kbW8PSD26mNP36yyNZG0/0taYxQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=auc/TvgnNZDjl9uuEPCWu8HwDqfRCPgPyzePSFtfwisDnXsqNLneRaysJ5UBYM64/mcoZjqfknkM1gQLONHcqp82fS3WR5EQvzP0ajh3UC+ysd7l5xd09b+YPQDZItXtc+UfGIIS5zN8R5/wQ3meV4XDj3bSm9Pr+11uPWcFK6k= 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=ObU0alUe; arc=fail smtp.client-ip=40.107.94.68 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="ObU0alUe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TB6GwOLQDEyPFBRt7CUbJvn/skWwfAdeVzNtbeO1MQ4cIs5+lZKWISfxWYTX84vKaKxWeDzWSnqK4Up3TLSabfEi1J+HLbWb74Kbp9vhshOt+4gjB/vGm+eC1872T42WY+YcqFCqc2H4cVMxhm+Joh3Cl6pH4jSd+dy4HB2aWcny/ucVdM3GG9Xvk8HZ7RpzHDrHJOLlH1sQh1bC5C9PC+Cl9fpfqWSRyD/lCNMrvBvU+l5GdCnTL+9lS/Ennz0dCAuSXzRF8gpmU6hAqk0EJRYk+FCvams8PnbVH3fz1C181PTOsAeEnNlJjVbXenxg2V2JtKrIbQBiwBjJf7MYUQ== 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=LhURlVKXts97JggoBql9fpBQI8Ix2FOZ6zmzy56UTz4=; b=b69wqGpvYgNqZwSoAUq//uSNbyQiezFOvw64HKMq9BCWq4QFlPkvGpzAZNStvye1M/L/CHjuALjdQzwXoS/xlHfh0crFe5SdcrvalfTw9yk/1QV/tg5EaoJ+5s7wSIyBeDFHt40t678uYMpO8us3v47GROSJeNaurZ77ydixjisKKwoVda5HuEG9C0cEN7uPtyBfowJ+AH2Q9W+NzWk3QD1SM+iP7rX/1G/G/BfOxrmn3dsCNzsxFAzKGU8kiDUw7Z7LmXJggqIRrkJlFEVo9dc3Ef+RC4704VqgjNyb+13NEMqSw55DLKX2lGO/baNwj7WCQkDGDQL6rOEhNlKeRg== 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=LhURlVKXts97JggoBql9fpBQI8Ix2FOZ6zmzy56UTz4=; b=ObU0alUeFHYSZF7pGecaPBY/vpEll2WmWo5uPN4l6wfFeCQxalApeaLxMt+qIedXmuzm/XMjYZY2ausBVTus2kKlYjKrnfCnGmGAw2gYpQf+/LSiQ2Uw7fGF10b2ws6Kc8NyQAIlkftplCJ+lpaLHd/vUgGk68P5mRHt+dDsu21IPFAtqWjSvnqLuJgvba4SJZ0XLrZ+5vKPrOsnTVkk6cppRU+IlXGOgDRMzv0DdJ2Q35Pgw/FmyHIwr9Rx9eLpErW5IkLBn52M5xJ/OjWl/DsG1I3sEDxKfAXUVyUyM0I5kHqQL+SVBvNmRrJZTmMVPIEg8SyrbwL7yn7laiM5jg== Received: from PH8PR20CA0021.namprd20.prod.outlook.com (2603:10b6:510:23c::26) by DS0PR12MB7851.namprd12.prod.outlook.com (2603:10b6:8:14a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:29:31 +0000 Received: from CY4PEPF0000E9CF.namprd03.prod.outlook.com (2603:10b6:510:23c:cafe::24) by PH8PR20CA0021.outlook.office365.com (2603:10b6:510:23c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.28 via Frontend Transport; Sun, 1 Sep 2024 11:29:30 +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 CY4PEPF0000E9CF.mail.protection.outlook.com (10.167.241.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:29:30 +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; Sun, 1 Sep 2024 04:29:22 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:29:21 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:29: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 v2 06/15] ionic: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:54 +0300 Message-ID: <20240901112803.212753-7-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9CF:EE_|DS0PR12MB7851:EE_ X-MS-Office365-Filtering-Correlation-Id: 81a03e50-85c3-4709-bacf-08dcca795856 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|7416014|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: o7ev5fNCAhLaUrNnkdz5zaO4ryOZmEKFtc6P/eEVIuVuxdQvXDgfYW+/GsUzrM/dRcX2sEnC/VdEuvd8oH8Zianh7t0Jd0Uja4xYab7p4uXOkZGLePx68gS4x3EMtPmO2RrjX2fOljCQ8rMEwNLwmQbmGbmJJxEuznHxrzka9TlTf0bX1LhjYUbVb/HuzhUob+HBHJyGWNsY9Zp8qjap3uFNuDPqaR3FS0F3+qGzfPnIFaFTHHeYklcC7bGdwscOEPloi7cTA8v/t5PAm5thKGiTC5vB8rKOeyjNlzUQZ+nElV1r7SsDazfV2iTsTrXL4UC/lpSG8r8wp3zSPfLYTUa3HEHYB/2zqJEWgg5rEkly/HmHQBbuerUrlra6XGHrIfu7st1P+i+s9+pTDsP56UPEIzSUFgjRFN9TWaFer6VieS5LyRG/5IXCtKH7wHJ9Xtbr8970ymdid2TgShi7z4qad85vFYRmaaUwYpD7D0poOAZOwNxhHDRduAlSo+kdMIDWbWl7CY1xkcvt/51rjhkMgtY+Va9AgawvXmxMyufPj/b7CxYAOagsydhP9KuCSI9L764AcQWy2Y5g97B9oVWvd6mo91iXpbA+0ZYhMRMZkAK4HbpUdkkxN3hdTyoIA8WiB/CPkzwOZcN1aOhbiWrRP3ZR8JMtEHPm8ZDehSab8KNAko+mt62j+oJyra4pPxwvinn4cPL08O7+jrBW68ExgWxDw1GS9ZEQfmrpL9A7eFZSo/kDBNaaePBxvjUaFNfBU4SP1aVDDAKuCprwECzu+KlFZnNOhoK75WMeDqeUCG50jH+CJTKIMmtJMa/7KkvKnsvNcnhPrl5w/L9qsaj1gIp3d3ewHO+mQ6iz17qDiIEwqtW7Ym+iF0GDwWLW3Xje2HeaURSABUhD9P7QEJWTNjjJIjOzFKmF+PPB0/JWeCVABfFz6QqIAnaNi4sK1Uwzg4HanTybaI9wjVrvLs0doA18jHBhsSImMxhW36Zii5wr8Uyk8+4Y/K1H0shvnM8TCOCGJmJCuSLKEcJp+ppFmhPDaN+j170t5fieU4/dipX5TKHRen1AAaBsRqvD4rauHHEtL+DJlgZH5JbTIX4wZnDctO3AkOOlCtSSJWF/zxunp1ovzHZEwqb0i9vUm4MaIeen8lujVsju61xaZDCABLSec+Ep4t6fxZ8pAgpl03CH5zdf/JFKpPYsugxSvKf6eAb257GQmV1a+e5CLhKlbjk3fsS5/slxnSEv6Lj89lFRaM2qhDgkr+u6ovybVI7t4DrvkYQXRWESEtYjwaffYMmF7Uy+Rq4XZ9BYYbvJGTasHDacKMUONstT6XjCqtbF/uSCNfuChODcjmgXbKMvuK/ZhOMK11VHW26KVndBjs0NOyBXdITwXMjfesXfzxTjWUMMOMhNJtg9yg0A8dABqrrh6p+7OeodRBaxbdaE6Q75pS07zYHtUMRUaVKc 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)(7416014)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:29:30.0762 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 81a03e50-85c3-4709-bacf-08dcca795856 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: CY4PEPF0000E9CF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7851 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: Shannon Nelson Reviewed-by: Brett Creeley --- drivers/net/ethernet/pensando/ionic/ionic_ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c index 4619fd74f3e3..dda22fa4448c 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c @@ -989,8 +989,6 @@ static int ionic_get_ts_info(struct net_device *netdev, info->phc_index = ptp_clock_index(lif->phc->ptp); 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 Sun Sep 1 11:27:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786397 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2070.outbound.protection.outlook.com [40.107.95.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 0EC5C76048 for ; Sun, 1 Sep 2024 11:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190190; cv=fail; b=EKCbZ5pse8KUxvwZu6/VMhmN83cEUGFuu+Br4OOd9kPOV4TPd00TD0r2kgiF1OJvQ+oet+r34JUO/0qzSSgzhaWWxvG96/T99/F+xvk1ilkw0a+kd+IQCXLOwagmOF6/RSoDaYx4okLq42rNsJPT9Lh1Zn/xnqcqy4Xn2cdV67Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190190; c=relaxed/simple; bh=onSM1wiAnmeb37QTG7VnzFz5yFlaBRAfG4o+iqqxXAs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XidtUMvnf3jYNqqUHjmSh4SzAn+HxnlSlDcNw/Ut4OmCiBBW0mv/l5z7GLMaIsAjR+5a+2pjMKRU4B94tX4jU15xUs8CWNn3tOrA/ZUCdI0QUaX6+FnYHksTkPk4ov8d3jLl5VlKY+jPQsOtYb6hORp7uffGETzl8crq2FH/9jk= 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=T8/UmaIG; arc=fail smtp.client-ip=40.107.95.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="T8/UmaIG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kIknfR/EI7EmaJIqL6mOXLjLFcORSVexN3Xev55jys9zvhGxj3aU5dFND5FpX0/2bINk7kAerXYxN0l2uqrQ6iDDxO3r9cHC0NSG3nSxqgUD20PKEVZ88FN5x6StkeWx6QmeyIh70Lhd3nFAVX2tvftMG4BrjHbe/+Nnlopsqp8vv9csX8xFMfO4AG7LwfkVgMuW1kcRYkowaAdtOpZt7Boou+C0/WuejO74MWuRs8ilRMghZVSHDbT3AuvPyMkZXvt1xJ9W9TFeKwN2VH2eUklSE9sO1pxeTp19V9umMKuVoGz2ra9+utcuknqextmA3de1vUyH726IWg1GzpPESQ== 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=YNfVUjNyhT7V/VCS0BydOJQscPUylUArvmPuPAoK2+g=; b=nutgt+WLu1ap12g1mHU1VjV8eRlmvcbQbgFX/0nA9aS4G3LNHV5Fh0iiJtbHG2eCYjK96WHDmWkGskEHuEVCMYsmXfs1cj28ngRRVMPKC6GhOmaz1fM2VSH0tK8DQysqzcEHNJ3pTMNpGVgQA7UtiGnBzSKpkh4Ir205cDOaojsfW3rbCQkU9kQQ9XSMAdj3bIF0l97jJaKJIp/UkqXAbyohVAmJn0hqhYaV6M/7gcxjNU4DjXMLxsLZZDuwsKQbwiSBlgtHYRhKqT9inVOi2VDWUZQcLLX+RTmaF352QS7DpqlE4l9kXXi6ZZP9rnxlhY07kSWkBQsLE11CsklMOA== 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=YNfVUjNyhT7V/VCS0BydOJQscPUylUArvmPuPAoK2+g=; b=T8/UmaIG082XNMXK68uoxSAAvsoOtTnBxRGm8YHgDHMjTUTbhJz2qk2VHd1FwxsALTBZ6AdB7BqO9LnrtcwhGMzdvvDDmIas17mPjRRAWaBfFQEZfROgWG+CNhNGpBCrUfhOZuM03UopKhfFN9yHCEha8Hx7gW/PRHUYms2JprQcXOtdJ/RVfeQtfHBMPzGr2sUBoAEGy7QNwihi9k8nLBTxe021mbejsnVN/R1W8bJ6v3TSdtSyYOqe7l9i86q2ArGDzSsZzwicyRUishMavOoNF2MhiARw+762Imo26465WdHoDPCY2VgkDJDCDIiEFwiSd0cV0gkYM7wlGQ3GiQ== Received: from CY5PR13CA0012.namprd13.prod.outlook.com (2603:10b6:930::23) by DS7PR12MB5888.namprd12.prod.outlook.com (2603:10b6:8:7b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:29:45 +0000 Received: from CY4PEPF0000E9CE.namprd03.prod.outlook.com (2603:10b6:930:0:cafe::55) by CY5PR13CA0012.outlook.office365.com (2603:10b6:930::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:29:45 +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 CY4PEPF0000E9CE.mail.protection.outlook.com (10.167.241.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:29:45 +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; Sun, 1 Sep 2024 04:29:36 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:29:35 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:29: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 , =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH net-next v2 07/15] ravb: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:55 +0300 Message-ID: <20240901112803.212753-8-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9CE:EE_|DS7PR12MB5888:EE_ X-MS-Office365-Filtering-Correlation-Id: 9b7c4233-5b87-4a55-1077-08dcca79615e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?utf-8?q?O7+P7J+KeuBEUKCG2VlzO4jPVm14gXt?= =?utf-8?q?BCPZjpEcALVAibjQ9ROKAdvmM2SwsvEy1clyW3MargX5cBAIK43mzmgPFKL+ZHyij?= =?utf-8?q?3He075/CrwZt7o4TjEIkbD3weUvRlB6vhB8swUj/fP4DpYSWBCCt5XP7KNNFJGykP?= =?utf-8?q?7ucvzedhZork9mGu3NDUV2xJ+3hshITU5/fCDKTPodRZtoadFo8NLmVgpAouBfD0P?= =?utf-8?q?8IpRLGd/hvqUv28UdG7w/IBnCNeX3T8HY3utQmP0e6w+QVbTTMb7u0Qe4IHbE5H2m?= =?utf-8?q?qb7sfcMJfAWkRPFM/C0S6G6AzNJiIqTPWfwfju2bvHA42VqgvgBVG51kGx2N9M7Hn?= =?utf-8?q?PkTPNYh/MXo12R8HMp6vdb2HrdR7DGgOgbU8O7IoHq764vAl8hZnWMnXQ0ZNBqfuN?= =?utf-8?q?qFSl77ydyMe5DHw9c6IlDIb9JtUlDJ5cuJrBKGx0mMnfLAGQSRVCtJqy4Zbp+D6bC?= =?utf-8?q?HcrVCTAJ9c4qiLFg0ltEJy/dUQhdLVBLatjdzFfaaMkHkRDicZUDIplGwMwzCDI/S?= =?utf-8?q?2V/AuCs1RG5YqUEYKHc1poMIkI0RVg1o1tJBplgowffjPrMlIsW+TtIg13l3hUMeT?= =?utf-8?q?i+9aMBs8zwOQUqqbzDyFKA8E7F/T4NKasE/RkBhVQ6IMKf1A3+55yNOW1bmOII1k3?= =?utf-8?q?Sj60Fx6DDfJefYk0+UihwEZhBwI714zJexC+6eagc4ib8lW47YrDVeh9GEQFTkyst?= =?utf-8?q?V/axw9EmK4ugM8Nv6S0nooo+wSI2lmqQW5Le/LAKAT0nCOo9MIXAvFb79Laudcej1?= =?utf-8?q?txn9WmoFdEvv1mc/4FN+sFdLrt3bwa3arHx8Z7H+zclos2IODWMGorcg+d1wQkX6F?= =?utf-8?q?DmgD17jvcmlzbmio5EBtY2SVN/run2ijlZVHB9N6/AzJW/K2fI5HBrqXLa775B+c4?= =?utf-8?q?iL4bpcy1Z5PkOHsWJlaoBcyYAbrWaEzUxcgd5eco25or8FlC85UPPw7xh93sr7bj+?= =?utf-8?q?aQbQlnudMT5FIRX4QRQ9r2tR9vJjDdd+wQyPWP/86D11nKXZlV/OiwOuFyTPe9KWY?= =?utf-8?q?+pywiFcDvlpWJ7yOSlNXd/gFGQKQju1QAJJGp5aqU/sv3rK8G1GpXfTe1C/iwA/3/?= =?utf-8?q?sPyxPWuxokQg5LhXzB85G1T+QwnfGhx0353SpMTUmELtIOICdqwbOqTwAGs6FEaln?= =?utf-8?q?rD4cBOs92gnu551lCDftlEQ5cHLj8Y46dMILTLHCPYIQpfi+rtSo+lFh5cbpSlXwa?= =?utf-8?q?i5zD13d4JwffqMIAoEoqn4TdYPmQcKkGgpJTTkuCG/djPDKoHJD+LehJ9s2kvTMa8?= =?utf-8?q?932kTLA4OkxWWlE1esNKWkNOx058a+4Mb3LbOG8cPEhdUop/+515D4JmwzXPo9izO?= =?utf-8?q?G9IErKdKiZoPft1dOzGlav2fMKfk7QEu5bkAW2HiK5jHMOk+PcCJGKClhRkjfTjs2?= =?utf-8?q?x8zsokv7QIp?= 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)(376014)(7416014)(82310400026)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:29:45.2238 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b7c4233-5b87-4a55-1077-08dcca79615e 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: CY4PEPF0000E9CE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5888 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: Niklas Söderlund Reviewed-by: Sergey Shtylyov --- drivers/net/ethernet/renesas/ravb_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index c02fb296bf7d..c7ec23688d56 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -1744,8 +1744,6 @@ static int ravb_get_ts_info(struct net_device *ndev, 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; @@ -1756,6 +1754,8 @@ static int ravb_get_ts_info(struct net_device *ndev, (1 << HWTSTAMP_FILTER_ALL); if (hw_info->gptp || hw_info->ccc_gac) info->phc_index = ptp_clock_index(priv->ptp.clock); + else + info->phc_index = 0; return 0; } From patchwork Sun Sep 1 11:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786398 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2076.outbound.protection.outlook.com [40.107.101.76]) (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 5D02216C684 for ; Sun, 1 Sep 2024 11:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.101.76 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190203; cv=fail; b=mgEh+J09NK2KFgXB29+/GZelxenQdO1z/EoasKbmOTJ2ZWEv7W/moQr5soPxKPsK61Qy4DHmnKpZ0A8Q2Si3TThBMlSpgV9LF7XFOLtLuBmXS7WW/PprNkTAEUWNtAIBtT59lgDYR0J8kgHES3bEtlvYfnEQmjj3GfJssG6gAD4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190203; c=relaxed/simple; bh=Bm5oWtRQKtMQzWBOvse6P6sKM8rxf7X0VNY+AUfgMr8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GaI6CsnKiBOZqvSmjDTUso3gNEPycSCDSEd+aAX4T5HcWmabdxFUoeyNb6LIQK3E2HyHslceyMuYLI7Vf/MtQ+W8obQJCAFMB06k9hyHqB6NSPpjLpUDpDM6lDr14vuucDVIE4sN46zJJKv6lXzKX3WfFheKx3Lz0nrQb6/whzE= 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=aNnocdTC; arc=fail smtp.client-ip=40.107.101.76 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="aNnocdTC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JezuDEhp76+2UWo/fXX7McavmKLjyz/d6gGZAtCgiOp+9L/O1nPZzH/lF7zuHGR9lJr7n6JUl4gjqfl1IGTIcezBBEN8IJz5zVvt38OuwwRFiFRU9LZ/6r42RgBiQ+qQnpp3QWaMSuZPP7uUkINTomAu/F77+aKkZz3zcGO9GnSXarj7VicVpV8rT0S48My4mayjgDab3hzBeCotozkNc2evjOzV2uTLjMzrOMZnKO2TNajYyEgYPpckNdasvi6gxp1WQ6wznS2jpA8FdvaYOpHQUP79+rkCJ04LTmHV2RnjO8NmCi81wgldp7XW/gD3lu9R4kVVugKOO94tGjYtng== 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=o0P1znIM0fH8D3kPejRS+5gkYjHa1MyVgOGtQSk8xR8=; b=Dhda4eEKJMRKq5oqQzBrYdI0J1klZza20viyWch5D/i2+XjGSY9lYyb3BsuSAvKMs+5pPPGDbK9J5nYCT+PPxiz6yUBgM/JK8wB4+jKvFuEtLnkK7gJdJnJLV3blU5oQNOJ7/abwpCjBUv+M4uH1fYJYI0mbONruhPy5Ci3SHhO2MTR8CnVno+r3XO9vxwO9PZGU1rWzF7nPaSw3UXAS6TwaNOPYRqecrtfI41bdlsidEESWTtkzBizrR/69uOiBFwa9LzpX3vokTU26c4TkrbIa3apoe7w59K1oWKDuGcd5O/mIhcKXsPO6uvDqOtwF/hGpG83lDsBfN7nc4uibKg== 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=o0P1znIM0fH8D3kPejRS+5gkYjHa1MyVgOGtQSk8xR8=; b=aNnocdTCizmdJTojjW73z/HUE7GLivHXx9bZyG8KF/LGEybCKlPy1isiVNGpJNlNeOu+Jja0LzI5T4EPj7Yqhb4zU+y7SCoCiSWY0LIuhUgReQWxVRoCdWiRnp7hzioVDtXJdpVClCGziHWLu2MZcbfk0vnAN8B4h8oBsMBW/Rf85Jl24fHconx8n5LWJVGZvsSZhYE90cwy1BF8nqqfXGbZjoQ40egUc7VzTDyMIv0yIvkZVazA7LfVzz+vhXGlo09pxgay4TxjmmG6/Nmga8292QdffI1jKRhLGsJc/53zqj3x3M73ORYY7VurvHnovQJh0pdx7VH4bRRvVHL3Nw== Received: from CY5PR13CA0024.namprd13.prod.outlook.com (2603:10b6:930::14) by DM4PR12MB6088.namprd12.prod.outlook.com (2603:10b6:8:af::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:29:57 +0000 Received: from CY4PEPF0000E9CE.namprd03.prod.outlook.com (2603:10b6:930:0:cafe::92) by CY5PR13CA0024.outlook.office365.com (2603:10b6:930::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24 via Frontend Transport; Sun, 1 Sep 2024 11:29:57 +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 CY4PEPF0000E9CE.mail.protection.outlook.com (10.167.241.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:29:57 +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; Sun, 1 Sep 2024 04:29:50 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:29:50 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:29: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 , =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH net-next v2 08/15] net: renesas: rswitch: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:56 +0300 Message-ID: <20240901112803.212753-9-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9CE:EE_|DM4PR12MB6088:EE_ X-MS-Office365-Filtering-Correlation-Id: 063108f3-3760-492c-0e18-08dcca796872 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|82310400026|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YQqpKN7e63kOEXy0SBZghgHHneygQbM?= =?utf-8?q?f2g4/8ns65y0kPSwZOBVi+ku+ValiYsf8b/3L6y5TSYOaMLAHR+8MNUlH8An/uMyE?= =?utf-8?q?KRTgxit37BYqLVLwVpKrk/64iqmDf85K2hilmS5dUHAt9JtbpeHR5R5276J4XVIeL?= =?utf-8?q?+FEIOTyMaUhc4UeCr2Pz1OVFCXDepokQxuiHF9+xwa3/IaFVpI5m6n7ohN9dIAyTR?= =?utf-8?q?25cksl9gROn8+nMiPAs8it8mWNCLL/nwegLM8VkPzwLDfHXkylQNQB7UkOH7cPCJB?= =?utf-8?q?2hFen5DoKGYAlDUTJptExukSVf+hN96aYuYsTgktFhfmJZvUiQWJTvKqT2BHZD2O3?= =?utf-8?q?M7T2H1pYscPDjq7kscbdrNyy6iFPyOWsQzZAPMBivZqyTAWupLkBXkG89WUQaIySP?= =?utf-8?q?HcIcEQv10+N4ZVr8FJf5c+U8EKnCHtrfMU8ALpU4YyPFbPy/Ymv3uui98VmgXLn1d?= =?utf-8?q?NlYrHX65SsHU9GNN0EZU7rmTtl2Oiz2MLvImqjAJPji+MGq5K798cgOhphDhwy9hj?= =?utf-8?q?19hXFyiq8UsFVmIehtcqR3+sn8SD4Cd+AjVxjEFNVX2jJvfEDtj5u2ZNTPMCs3lK2?= =?utf-8?q?daGniAJnYbzhGyIv0/5+3qGMiuKfX1IfYh3sffMxdfdZlQj86R1JA5Pvsq4UFgccY?= =?utf-8?q?kyQmo5/Rs/aS4l0W0mltwTgJsI90bUum/OnawMXHepd9Fqwya8eU3SPUoOb4r8oCM?= =?utf-8?q?HTcvq3X8WBQbYZQg3mnu7XcoB5YY7mEDuys0PXlvGX45PcNZX8KjOg0N7f/DyFdKj?= =?utf-8?q?VDAtolXYy0I8E+w3e6KOg7pXQUxtIBf+qlHAYwWDQKHqzDJMVMDQ/HGXeb5ddSXmB?= =?utf-8?q?4uiIGD363boVNlUhs/h5f4cZJ0eGEXZx4tocCRdtEzBxHiUXMim9cIxCktjauaC1P?= =?utf-8?q?8RnPRMuWIVtuznV3uQZu4vLi+maLoFtcXDmZev0UWNTkGA+SFgDNP+l1O586O64WZ?= =?utf-8?q?L7uOldVSpgrz6mzmwFPqWAgk8f8n4vkZt2m1xuqlNWYTgfr/8rmoTUYUdUfFGlLDg?= =?utf-8?q?n1eonR1GamMfRnv8H6MVFmvIhA4KEFbBlAgiTCeU5R29rr+Bd8aR2AC0vslXUlTev?= =?utf-8?q?rI7P0oygvdReoXKSRW07hjYytAp/0r7sZJFtpKGLT0TrV4fidessTH8eFBfTg8lmr?= =?utf-8?q?eRepDCkRqPTAABvI/BUaZ0T4e5k5FloP2iOIoCGJZK5Q/Cy3D1deaNKdwdczmECFR?= =?utf-8?q?BCpDR8BaiKifjEaEtZjpD/bg3q1KITfwx2kKlNlvVdYOWK410y0gJsQ5HiZMdaayH?= =?utf-8?q?m1REs0gBGssApZU6srHBlYIZ9SUtzshC+pwlZtMcrdidQfG4TQLi0v3KTsuZkGeCR?= =?utf-8?q?ehWkXJpXLcZTq5AW1/fS4k3TGLcK3iMMXESi8sOhq544X6xxqZQXx2vMw0lbRHHGV?= =?utf-8?q?hAJj69Vz5PM?= 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)(376014)(7416014);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:29:57.1145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 063108f3-3760-492c-0e18-08dcca796872 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: CY4PEPF0000E9CE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6088 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: Niklas Söderlund --- drivers/net/ethernet/renesas/rswitch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/rswitch.c b/drivers/net/ethernet/renesas/rswitch.c index ff50e20856ec..b80aa27a7214 100644 --- a/drivers/net/ethernet/renesas/rswitch.c +++ b/drivers/net/ethernet/renesas/rswitch.c @@ -1815,8 +1815,6 @@ static int rswitch_get_ts_info(struct net_device *ndev, struct kernel_ethtool_ts info->phc_index = ptp_clock_index(rdev->priv->ptp_priv->clock); 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 Sun Sep 1 11:27:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786399 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) (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 05AE714A61B for ; Sun, 1 Sep 2024 11:30:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190224; cv=fail; b=LWk+FISUu7RLvPUuovgJHVx28LoYz5VgV7pnOqYR1AxGjfZv6Ob4/0XqSLQMQtOjowHoEqgbOVPWZO4Xns0wiT7kwYxHinlBryx3T+tnximidu32O8dgvBefSOD79eA7HxWaRz6Z5w72xYOTgvY1jPxtT5EPQSGFWn0IyTpK4f0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190224; c=relaxed/simple; bh=xv0uxta8+TuTtcndmDNBzfG5oKQi7q/hv7VYLrN+qwg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H0dFQwdfPWOwq5Xk1DTp8D4wc/NbXBwZX+90HEsMIiAdsbdNZM59DGzac6OC/UYBCX33WC86lBo8MrOSO4cLoJQ9Z7ElTOoYJNXBWLoMuNBIa/OthP1Ln9FHI3M1KmkauRC5WpXuyRDDQJcsxfVE0ixOeJzuvsDvw+0+d+Pcg7c= 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=nyXtG9tC; arc=fail smtp.client-ip=40.107.220.75 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="nyXtG9tC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kmzKTUkEGx04rOleEE1jd90MWNNbv9qZsrcnuWwSb71AO1sXSgMSZe8OfBvfp9ZTsX8Fw/bM6cAnXAANtnjQ2Ds/UW4avtd05oAkvPA+yEeoV+9dFxavdsCodnGydvfnszhj8NsN5GUT8OnUmYzM9sk2XbHXahkO9V5FiavaIkga9zVMGGouQjMDuJs5VwPRFP2wuCf17qHPBGU5o0UgyFC04JD+287iEN0LHT1OIxDZ/e4jCuBKpv3+cQhIx/fpNwVEagrW94UWpy6CWZ007KuMddM8y9Bqfe5e/3PKsy+vbbWUTwfKmYmXPukmDkq6+6lpJXvOlzNn9NMJ2cfTSg== 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=Xb6DEx/2X6kR5w9NmoT3s6AZI9qqkKstdgoCS4pJ2QQ=; b=GYX6P880KMHcJfRDA85FKrrQJNv7JnZzNPFCTZW5x+k+R/3QPN7QeNZMOf+jkyGGjzXK/y+Hg2gPhqu8MIPi1ZpSEzK3ki2xqRX/qMEN9IUGqTyYL5WaDVJwVVOFnGncQMz8znr0GyP4APXGaMZpLYtYaI0bXIljr8owzSlVky3jR5ph5eNOdvjfw/P7a99R4MHy8sDetBdngBQ9Rboz+YJVPGIcDCQJ3/tb/HtaKZSubji/I2goonWfgRwUI95d2P/+2i764eJQKa/WdHVIJQ5hm+lLZJNd+OI+WlfLo/pc0EoASw23AJPWxrwVxmtOmqFVrWam7BfzlV+lc4SMpw== 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=Xb6DEx/2X6kR5w9NmoT3s6AZI9qqkKstdgoCS4pJ2QQ=; b=nyXtG9tCFm6hXtFBLM5DKfWSkOr1RKIc73cExuwK8vFiBKysOYBLMNIEPrISScr1JDSt0v6cz1JAozJ19d2o1qtCkmKPsNJlPj2xTaC/4t0G74zylEJ3miwXyVCIZByY6w5SUHzThe+iJKsIOYBAt74drxUwFTnghvWgEKlKu7gLj1tqQVbwpD3uU8dZzKn/GHNg+a/b2ElRqdqUifvqT0rNj0hmbT7MyWm0mRZ1OE/SW+zkaFz0RAqsGj4ESCk/Qu3+HIPmfEYDvMbiB/9uVGjyB/+TeOLZWwIJ3sbNQV5PjjjTgFy4eb5Un6zFbQF597Mt360paZa2UZ3Yx3OK7A== Received: from PH8PR07CA0042.namprd07.prod.outlook.com (2603:10b6:510:2cf::8) by PH7PR12MB6586.namprd12.prod.outlook.com (2603:10b6:510:212::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:30:16 +0000 Received: from CY4PEPF0000E9D1.namprd03.prod.outlook.com (2603:10b6:510:2cf:cafe::2b) by PH8PR07CA0042.outlook.office365.com (2603:10b6:510:2cf::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:30:16 +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 CY4PEPF0000E9D1.mail.protection.outlook.com (10.167.241.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:30:15 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) 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; Sun, 1 Sep 2024 04:30:05 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:30:04 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:29: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 , =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH net-next v2 09/15] net: ethernet: rtsn: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:57 +0300 Message-ID: <20240901112803.212753-10-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9D1:EE_|PH7PR12MB6586:EE_ X-MS-Office365-Filtering-Correlation-Id: b722eb6a-4f18-42b3-c30d-08dcca7973ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|7416014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?utf-8?q?OuSUviQO2u1TCR0MVMv+NKKSuLAfUU8?= =?utf-8?q?YSSZqakeZe3n92Dv6Iixo42NdETj//Qs28zMZDd5j9y6pX5rewvHBHiEBOySr7nxl?= =?utf-8?q?QC7FsViA3hhCKzTA919gKeOCq7UxhtoZ2kJQEuL0eAQZ2anrcp4ZCEaCWZ0PN81pb?= =?utf-8?q?zNE+WTd7hjp6FnYo7p/VSxmI9SmTJGnSnlSlln+XLuvS+F0RP+pSP/niS3RWd/zx6?= =?utf-8?q?yGHuIFVrhNn3lDMALCjZussKepmx7IcG1Tqg+BW4Tk5yxhAmScLvCDl9J1bo6Cg8y?= =?utf-8?q?fDPAgceEDsx8CACvHvNeR55rK/hvWB23N6eVmOxpdGSZHDueh5eEBTbIdplXrIqKU?= =?utf-8?q?q13Eafo4bzGe+sW/k6svCbsOzNGNn+C5+KOyxfPFpUCe7GY+/7ZzI2iqQo2R2GKB/?= =?utf-8?q?dWJm1+7WZ4ijcsrB5kHE3m0tR3HCvAlEqsN6rmHDsRL9vbKVHUfrGk/3BePzxg0Cq?= =?utf-8?q?tQ5pleb8pFgSos+/imlJKO21Mmv41SO7fIyK60rT8Ybk8kYbHMyHLBwPPRr/v5Wfb?= =?utf-8?q?5yT4Kie5sIPN534tb6sL6znkiqzp/6MeUf3Fx2inDTsDNoM3rWYkGmCedF7cfPTxQ?= =?utf-8?q?jmeZ2jFMx7KpxCuUVPicUaZBbaBWMMQCB7ZC1lTS7GO2kcibJXthqqk3Ng823r43a?= =?utf-8?q?R6XgaEBfdX0Ilt6Je6ULYDq7qHkroHyzhTTpEIs8IuAftNZIcGrUOubycWMW7CWx0?= =?utf-8?q?cIK3IOdAHsXnbVgDWN/wPeV2BmVVba5V58yhlsp8VFsbtHNADVwxi6FSNpxeFO6KN?= =?utf-8?q?3ZopzEskhL2NJGeraRlmguLxQLSHlt1PhOWvTMd1bJGETAYsD/WJX2LFS7TPVxJNU?= =?utf-8?q?nCjCHntJv3ZrFN879iuZ92dAihUpZ0HHCuubm8n35YCkEnpEEYUE/FaddH2MBIK6A?= =?utf-8?q?tzcwE8w/8DKMX61HWtVD4JlNqTwSDwzvJYmiE/9RTS+ba1//tCqpWCYUmvFASV39w?= =?utf-8?q?Jj1ZRskn4Wnt4SvxXlAW+ADNhNYXWNgAPKFIwlIaBDfCHbFQbTRywZGnw1yONfPUx?= =?utf-8?q?x/sC4PFwqxi8WfzrqsZMax0xJNc6mSVYlBgYXw8KGc/1+HJmposQPbhcLNvpvEu1u?= =?utf-8?q?utHIZYgLyINE8Si8QV9MhQT48ZPvbKKftwJZQiuVxXrVbgF5kUMALMD/39AZxqZr0?= =?utf-8?q?n5Z5cA7ouGq2rGqxUGTuTxiRFx2FRlEyimbBuDXA0vPA/qZqD8aS4O9v4MWPeoTLQ?= =?utf-8?q?hYczWtnZrBIqxR6bJH4p48eLNp/EjgcEYm52sDdw+RalWYBCg6umN3yMhMhfQtUoG?= =?utf-8?q?cBLBTQ7J8t8j6EKTy29ZkQagVzJwaW3XX+XNqreuuS23bCSUCfFcedLJF/NSfyTQb?= =?utf-8?q?f8kGg+pRPxM9oXdi+fHvyaPnpnPagQpt1pbgrmUyTWRrirKoujSU8NnJMPoSCaTne?= =?utf-8?q?L678WTLgygd?= 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)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:30:15.9451 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b722eb6a-4f18-42b3-c30d-08dcca7973ad 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: CY4PEPF0000E9D1.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6586 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: Niklas Söderlund --- drivers/net/ethernet/renesas/rtsn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/rtsn.c b/drivers/net/ethernet/renesas/rtsn.c index 0e6cea42f007..f9f63c61d792 100644 --- a/drivers/net/ethernet/renesas/rtsn.c +++ b/drivers/net/ethernet/renesas/rtsn.c @@ -1219,8 +1219,6 @@ static int rtsn_get_ts_info(struct net_device *ndev, info->phc_index = ptp_clock_index(priv->ptp_priv->clock); 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 Sun Sep 1 11:27:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786400 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2083.outbound.protection.outlook.com [40.107.237.83]) (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 DB91414F9F1 for ; Sun, 1 Sep 2024 11:30:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190240; cv=fail; b=Ornxww8eYG3vnfHMRA2AXmAZPQF7Ne0S+s+mc6GzhgzS7hCewSgaEdNq/0qCnAkilaAzW8JdL+G3NdkEAQPRgGf/0KqKw6Q3o7UR9UomNA7t3PizAJch90TODXJRAwJtBo7MP+bmTR57iE3ORb/z6XOUyfaHVFrWvrv9ZiC5DBQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190240; c=relaxed/simple; bh=hVfLVWkTyLM5kx/E7K77KutBTD7djXA+PZpDvdGmmiY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=t0YCA90b17oZKXBcHPUpT4BoX4MyDte9pb9/eyv6XKZxrr6qJuU3ZwZNq67gOY9sa4M3qtbHGPxYX1ut2CO2rLy6nNn7xFAx8yZLCer6L8klmApX2HC8wDTdzYZ8ZjspAF+uxkABwm1JA1YrO5Mm8VGjCBwoTjrK9FyosX69484= 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=P+VMTD4Y; arc=fail smtp.client-ip=40.107.237.83 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="P+VMTD4Y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tNaVrtUAn0nx93ltRiZq6wsHl/M1idMq9nNX+CeLPEiJc08kCUByefH7J1gh/55nnRqDIlHllmw3I2ODjXN0NQtze0CvJ+uuX3eBEqdSWhuueRT3s1IxcjV+LfRAreef5s0cjhUEUSDfL++kZJ8KxvdkGSdenvJvCRgZIl2aVJD/cHDEyqSQNQ5HCmfgaqEOuqkcTTJO6Ji7vcKUP7ur50/BZleMQlywXYBCvU3MEK6Jl2RBgOfb3YPKkh9N1NOuKVtUTf/oBlxbe2jiet2Tp5vjti9kFeRXGS0vpZGdD4NpWsM7hyG5l9lMXepipxrKLB7Vb42J7sAeAxGkwBjasw== 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=e9zUijLyYkc+qJen1w3r984Qwm3OGDy3ph+yW/wG/o4=; b=ElqqORiLvsBduP5og7amt70q4p6n3ljkMSOJYWAGIW+lMfwe7HCyTDfllv6EhJT2JP6rfsYQCm5d5GjCvOAddAqnHeGWXme3Fa/mv6I0diQD2bNA8Ooc9yMtxUooXPXwjBR6tFj2pRn4sQ6Y6/jko4Z2GRtgwSx/SpkI5FUci1KGuIYIheW28GK0RZ2V5Fazc5ZvxtlDMVtWJhuVmuOrL+E9ktEBsR0lAuscz9VW5JeWM4iFiH/W7pM5zbOcik4XMt6zJjyLI6HjxaX56LWVeLN1IszpNFeDy0oahGc9NAFFT6S/OMnNlC338tuMlUh/VMMUfg/yysps8J1gWfKPKA== 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=e9zUijLyYkc+qJen1w3r984Qwm3OGDy3ph+yW/wG/o4=; b=P+VMTD4YAyceQuzhBAoQnCYgFNIOa+ruyhdVOCq5CjBSOzE/e3mOE0G9JTVib9dehhCSVxa/Lp/1FU2nGPz3RzxQYbk1WF3X879ftBRgNBXcFloHWh64g1NmoJWjXwkPHdgj0qi8ZxmhfDX+sOYPPHDCntgoexZIa9dVGIG29zTbikmivGiB9degYMgafkY9Vwe9lIzNXqK2l6/QBIrOGIDutNrsXGwKtLotG6BJALvljin9iQbknSlIMxfw4tl0Xhq15qVW7oBqqHusIC0pmeeTab4EcqaqRx3G2ZbvIkWWNs0/V+sqxSJzXDoiEka7lGh5O7nfWK02++rXv9wXFA== Received: from PH7PR03CA0016.namprd03.prod.outlook.com (2603:10b6:510:339::13) by PH7PR12MB6763.namprd12.prod.outlook.com (2603:10b6:510:1ad::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:30:34 +0000 Received: from CY4PEPF0000E9D0.namprd03.prod.outlook.com (2603:10b6:510:339:cafe::4f) by PH7PR03CA0016.outlook.office365.com (2603:10b6:510:339::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:30: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 CY4PEPF0000E9D0.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:30:34 +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; Sun, 1 Sep 2024 04:30:20 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:30:19 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:30: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 v2 10/15] net: hns3: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:58 +0300 Message-ID: <20240901112803.212753-11-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9D0:EE_|PH7PR12MB6763:EE_ X-MS-Office365-Filtering-Correlation-Id: eb408972-dd19-4efa-7fbd-08dcca797e86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: WQrXRO2dW/b0+l5hFwBGRzk5dDXU7huBSqTCANhZMKnt11ntuJWVM1Yc1LeK2iHz+cYAhFnzTY8RnCTi31zLpHws5XYIQMd6BMquC4OrVX10+Q71tWIiS55wrxPLKxE2a/GoYM6jBXVkL7w/eT0Y67mOHQ9of6C0a5x4uHgnZQ8TJ1F1GgK+VbT4GSltfTR9X4z7ChYPyRWhIy3ZXrTRDIIhBanop2usY3qrcX7PHDXgBka2dJ8lHv8KSW4yncSRORtt0eu2aGQolTIvHriQ948RiXqXDeLfFAhJoswExDoYt9sq2onzWsePNShq0FwazHFmXwcWK/W7dzm4xQNlPDTqANOO16mAWoqsKdU1GoKudktATDFoVSrhUUHWOYsNSkQgmobhgjD4wr2GsSXk/O/Kqdp3Dyt8fnLVmJ42JRmXzIZceozobsPv6scgkGKr7vue8PeFYmE4wxf+NrLXmtXg+7Qx7LNXO3vrrUv6bdYRCuWsuCwIy9ZOSt/UIUKmAFhsr7MAQtVvQYdpPUbznLbFsP1BeaWeJ5ITFqU2fE8J5Zz3drdLA5s4rgXybP0N7vXkoXn/kKX2medRmes1pz1TXGE78nJunP6fP8lxmb52YjdMa5+D+wU7lj0HZb5/m9vJKV9J+WeUtROsq/eEN6rhIwZFEIdFw0gW5wmcO6W7l/+hAAO6Ta+9kz82vczMHf/drS3lj0Nz2AOrHavDnknwdDzrOkwhNOEZm26lVedir5CAK0DlwVsfDKggZ6i1glyXKDNZJOiEhTBC0HCY0E/abhV3EZNPsvbiqgpHl9qrGJDrmgxN+24/83GP2Q5G019nRh6rAOxrsaPebh5fBK2HtBu+GvjYMNjWyhWgvgZH5Rfb6d7FRdjTCCpah7W5vkRoV1E7hk0WXSZaNre32mX4Zv9F4cJegdVSvx6RLdQzpFYviGQncatBFRmSCGFf0kzodhtpAESfKO/6t8ehx0BGPEk8Y4qfs+KFD4UsKR59JGvjsulvo5/ddeMg7wOicYfphScKWhYM2rx6+rVfosJoqKtKJbHgrw65tqqr7hVAOpH9YGmcKbu2BSPh1qAWEp6MSb4DeOngVQF8XMlajFPIS2mahUMa+l5Axsf5FWj9ZaduWEOM3W+R8IypQPMDS65254ObpK9VbGQ3M7nPnl8/2X4EP/P1G0X0YeDlRXUqyfzTSn7beHKfG3of4xGU22Y9oDO0kQ/crfBEx+BmK1uikMgZn0I9jHw/7SeL8FPBDHMSydNt/xTG4xMaN1LgWRFSbyBPni5+FLZ+fPEO8WCS9lsNM4hFu65AL5j5uW8guLZVmYcZXY6ulDd5/7Mdm/dCrnvSbTBGVM2K0uO28fmdolJfErdmHFvIbNll/YPzEhbn8przvKLFEfpDQG4WtPAZ8TAzMWUqa7/ZeyvDDHrHs1WzS6vQOLqN0H30AgiCoZCbMWJAfh7hwCEH0V8x 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)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:30:34.1427 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb408972-dd19-4efa-7fbd-08dcca797e86 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: CY4PEPF0000E9D0.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6763 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: Jijie Shao --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c index 5fff8ed388f8..5505caea88e9 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c @@ -389,16 +389,12 @@ int hclge_ptp_get_ts_info(struct hnae3_handle *handle, } 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 (hdev->ptp->clock) info->phc_index = ptp_clock_index(hdev->ptp->clock); - else - info->phc_index = -1; info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON); From patchwork Sun Sep 1 11:27:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786401 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 623181684A4 for ; Sun, 1 Sep 2024 11:30:59 +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=1725190260; cv=fail; b=FTGhgET5+YLe28YmE6P7NsEWcIn2qtkfyktZz43qmH5nTqPMdmHv0HV9NMuERl5BlNDq+6lw+oDq8n1IxELKKkhmZ5T2AxZs7Pdlrnv+vEIkPXAIIPn50UawDVrula8y85h3Vmvog207csx2pB/0lO6cK/lURxdC5+MhEyCRvFU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190260; c=relaxed/simple; bh=k8UFacMuLGain9eTs7TqVUtyo/AJDj7O3QoeG5G9bIg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WrQUAV8ZXJ+Vlc0VIPWRlp4MXHt1zpyKjLTFkTbnika2eIk3ihOLUWrz7gDX4/Zh5G1hRTo0asBXGunVizb18fOXPwCbLmgzvIGHwiwmMLq+47Ig6mJqnmtRiRzmhvQ94xvIltiLx5nIScmHjNG2eby0DfZCzW9/0RByHPQmx+I= 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=TTLNDKXI; 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="TTLNDKXI" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xEr4OUE3+TPedO69hC/eISRCr64rP+G1V4K5ygt9CDRNeOtHrCes2ZCmVtRJcjK4tqn6t8nvcQqSZNUpbtdrxbnwpL+1uqHiA0W+Fvlypj5OKft6VP/sp2WWxKNz9JN+ZeZOZNeUdirYELGSIJqdoDpte5QIYA/IqPbxg6DrJGgIdHc2U4vRDubaMY30rwLqjfn6XqvjUkk5oj7ohsd/a4+2cKO36axTfzCFZGfQCxiKN8ypzikHbzo9JoWv5oq/UxO4vIp27nl1+JCXXesNaYoHSmVW4BA5mq3QdB4Gwl/Gof0adKUplLcHeBKzoKaTLDXWaNUHB4caycHqLGFoJw== 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=m/ir06wWyjEjxAQcap9lzpnYfSNiK3tLiHimyI+gJLA=; b=JHO+tAcZI15rnqOnAiYeM9K/DIwJCk2ahKkJfpgERZ0VDzup96PxVALPFfTONCWjIYWTCGVokFCpxW++3ItEYrRvx4o5E5fvgcAi6XSo5EUDeAFeb34aenRERG0Qk/PJYOjp2pmhN56tq1WEHDoVFHsUG/0ZHR3x0aIb8sdMJvok4nz5GiSGa8WsdhHxihTbegFFm4hv1qStwxZchGLbuoG8nk7OZmZI1jWuEkAQaX9Q/kCY1apswLhLqjtogWoFwsOilkOotd0XWPePukMuZnPVME2V2he7+SPoWQXQxtixI8D6R7Iu4DwfooHNnKSbbKbBOUCRSzZ/gfFW46SqiQ== 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=m/ir06wWyjEjxAQcap9lzpnYfSNiK3tLiHimyI+gJLA=; b=TTLNDKXImIKy35PxCfSmfcV2jccxTQyRuZymiA8/8xxXCxJpF2tK24gQsqAmqUrqQ6l8tcLmmWPpsGkL9q3LA2vFFUNzMTUqS2P28qW/xpnQzQedPwKsfQbS9D93v1u+3hyYYLPo1JgUovZl8cU3/NrC1YZTSArX817F9T/QoVLlWoxIP6aHV873ETFgwjN0cFaKO8Gm5jELOHA2NaHQD+54KzOJUJgShKXhPTtuSjP1ec2LUMSulpeV5DE5QrHQW8al7jbxsL7aClmHoxAIyP8HLt8zDIyUKgYrYzFHzmt+TrdQ7sS3ESSpxLret4X4hZxkQS9OyZqzZVMZD9GuSg== Received: from BN0PR02CA0053.namprd02.prod.outlook.com (2603:10b6:408:e5::28) by PH7PR12MB6635.namprd12.prod.outlook.com (2603:10b6:510:210::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Sun, 1 Sep 2024 11:30:53 +0000 Received: from BN1PEPF00005FFE.namprd05.prod.outlook.com (2603:10b6:408:e5:cafe::73) by BN0PR02CA0053.outlook.office365.com (2603:10b6:408:e5::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:30:52 +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 BN1PEPF00005FFE.mail.protection.outlook.com (10.167.243.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:30:51 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) 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; Sun, 1 Sep 2024 04:30:36 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:30:35 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:30: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 v2 11/15] net: fec: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:27:59 +0300 Message-ID: <20240901112803.212753-12-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: BN1PEPF00005FFE:EE_|PH7PR12MB6635:EE_ X-MS-Office365-Filtering-Correlation-Id: 88a1ee71-311c-4db2-9cea-08dcca79892e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: CKQzMqKOHznKXF0WGvMXegx5q2XTxL/KOJhg9OqZU2E5A/i4LQ6KA20b6Dlx07Ppzf+FMke/Tlr05yBIvg+44g5LCVXlDKwxvgyy/dNCVp2CIFQ56b4JNjhPtdRjwnI0fvN3t+OdUWvNLweUATb2qUsrOrOziiAfEl4BA3HdzzZ1OI3YtFdhSpoE/G9IXEXGjZqJtoo9GtpOoHjSd7fopWkKuX2rBWS1eBwsYHK7SVHhFMVumld+K5MhmUCUGSetA6RBYYO+sBiVXNIv2la7GQBNSI4RZeAhErli4edfkuBLG+l5JosMmBwlEyQ8IcXRaKMtgoIX4r1j+VF29RM5AjF2TIiRSNet0foytWqRdNNIP5PNp6t/QRYlCqKaLPkQC3stV+sSCap1N0CnwNL2e7z7z25DYH7aKsiIefIENAvwNRuobCsKTavdy6s2NYjCASSRyZJBx2LpPYLECvsJBey2uEKha0O1y0yqOeMxpko84cEAiXzL0AJw5jlr4DQZk3UAsKvlRNmgXvsQIvxXC66vHmcEzzVJIcrK7YG+mb7gxXzVkOgDGKe+uNrNpNZtzyoTq/TP4aKx2VHMRQbLTE1dQMGtvIBonieeXGEjI02xkxXAX/ZRdtZYHuPKGhXQatUXftfK5TXfyIzu+rsSySFaxMtQZ9UbwsBEamVGWeRBagYbJayfNgHM1plOSDHPj6W+mrBpgjhR1RTZBdEpWD7ts8/v5I3VZS1eoi8fbaIEKvbzLlg3P3h8Fzk0aT42wLdOUsynH0Wi8/WWHGHy7qJYkOB7l542zXc3+HNQJnrFAufZdVkcA1Vl9V4iAChJPe8RWjJvyawZPIIvSDd68kz0dDilMJ5VVeuMyuxXlxYoXtua5PZwmgipqQXMi7gvdmvsOjN1qc4K9KWZABhXtE2+243EZTEeDzwgMuodo17POgCNKiuZwioNp0vZOMyUCXjsJBsMawMpakb4zQBNRD3Z2rHk9Et6ukeTSAqP8lJ8Xqmon2haCRXPluKBLGiaRn3l8VsoC8YD1ctxioRY6hlr2bFjDYN2Cvyoh/jm2jM3YTjJ925iURDEMZc8onJu96U66Sxvn8MW3DevjVZG+56xDe86ADtmcT7j2Y8e4nF0s8TA/h4aJRO6tPHfIOTlILiXwSU4EgqReEaRULxHVlTA7Eu2urhdD5miqExr5VabZFMDp5Xqc7WM6gs8iZvIUmXKAhggmXFXBgGpCSKNU5go9njb7EylAwbG0rGVPxEKE0QfA6qFs7hKYOas+w+p8Cwi46wRGcqyrofAJgAXjZOEsllB/PmVNgFTs/+AoAlTtaB9J6GQR+nC9B0oUyluWYgPse80xn26a2mr7EckkO3E7rJu4jGgnfws5EeFyeEy1nfTBjC57fxQDQTuNux+yHuj3Ph5ycMPJqnQhgTfjyfh+79wAzO7OwYpvFRFFkwpxI33GLUX+2BEvZhUMzvk 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)(7416014)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:30:51.9279 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88a1ee71-311c-4db2-9cea-08dcca79892e 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: BN1PEPF00005FFE.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6635 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: Wei Fang --- drivers/net/ethernet/freescale/fec_main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 8c3bf0faba63..acbb627d51bf 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2775,15 +2775,11 @@ static int fec_enet_get_ts_info(struct net_device *ndev, if (fep->bufdesc_ex) { 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 (fep->ptp_clock) info->phc_index = ptp_clock_index(fep->ptp_clock); - else - info->phc_index = -1; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); From patchwork Sun Sep 1 11:28:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786402 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2072.outbound.protection.outlook.com [40.107.236.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 31AB5170855 for ; Sun, 1 Sep 2024 11:31:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190271; cv=fail; b=LGxlz93hEIefJwz6wa5cYJxK3hZCaRRXarx28pOqbcid8rAVCrZpqMy7sjXvCMLiHeyTWT2QPGtEG2W5Os/oi5vzapr/KC9Y89JFGM+qngfM5a5MlAPp/Jc+JV8z3Qxy1SFa0H3DMZuODkKBdElCT+oNkix8vrdDnIJcICsKDB4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190271; c=relaxed/simple; bh=J4Hm5UeOI6yOP8tn3vxqX8hrLJOPRRQmPRZV+pAFLmI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GcZ2mKlKaQMAsQ7V8f1vW4qH/rjDW4+lXB1MQWBYtovHp4qg/div9nNc7go8ozs9gmYM38Iwy3Lcecm7fuB2hoSsFOQ520lH47cbmIR6uGwkZB1/wcIbeJGy+or7Knvs/NnJBEcyRZRZeFlYJNlHkr7YlepC7IPfW36jQmiBLAY= 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=cVH16YV3; arc=fail smtp.client-ip=40.107.236.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="cVH16YV3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rVkWdCFAPsoEOznsrrD9U5vbTFAUP9nTxaFcEp6FxXnJsa7v9lNYvXDBHyP2UdVNQC2fokqawcf9lTa9/RtnqrLEzLz2QUR5EACzk0Nbw2OA63oxooO5TUqVjWyE5E59Bqk39eQ/GpH02zFilNRjV67updwBwpdS6CXIxiVBW7zayCHEt1xstjjqheDUr1hdr9ikXU2rSeA+da0iB7cFETh1YI4V9N3Y6kan1jh4mdUyMxxIo09XHc5ZVH2RqVSrCREPtHxm8PwRmiWhh+TFYWoC6xkL51ERQZ59+d6mXJtE5KlBt/EuaE1F/kxoZQC0Eua5Da8Jq6h+MRg/HBDlMw== 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=6ruGocmAv5GU8D3y9pdF3Th7HXPyq3Z7U2nYtfL3REU=; b=i2Hl7kWYRcQpf9WjAjoTiwB/DImf+ys3POjugZsU5sr+C9lxBQknrzsm/r7RtGXtjW/s/X5ifmkqpzoh4FeftTdRYQb2sQyf9vbcJno/VlrMcWC2U45wBzFeMHVG+PlxufNfYqitITuAsdBpoW1rk4nGoQxMdwxYbt8RATePOdTD0/NgInji7MbPHK2l+d5WsKPN0L+HvSP4IySW17a/DkIvlv779N3TQ7LCVtauhooJOWohd2W0W8O1gwje4FnJ8/QWSb9z6NeORC8TlzAzOSxTCI/OoGWvn7woOMwfkzzkRY/jb/PWIAA8wR+wy3py+laBCbEAp9BztoALDVRcZA== 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=6ruGocmAv5GU8D3y9pdF3Th7HXPyq3Z7U2nYtfL3REU=; b=cVH16YV36HMAj91UBTlrWcu5wp1Ys8p1cWwZixb2mlXzTjUiesIua+oTOM9H3dV6p6/qURPkAxSh6OKOmMLNk10w4Cm2eEmfPvgpe+EH3TSwRfunz0YAND/KKIgQjBzjEpHcUqe6LxphPtlv1uxZhhEEQ3dhVSh2PfYZoEsqbD198Xf0SW1odcn3mLk762dimOVIhF9lEUEMGT2w3jDhEDB2hDZ/5t4BWkTD7bnQCPozJVyOjQeW8iskJ/TYfqBqRDj5y3B7i29940p/SN/qIA7j2ZVsdCvsE5vWm0FUDRxDE1EZjXimK+XFTU63gSaBqkrput/Lu2kEjLOTLZRm5w== Received: from PH7PR13CA0020.namprd13.prod.outlook.com (2603:10b6:510:174::27) by SA3PR12MB7857.namprd12.prod.outlook.com (2603:10b6:806:31e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:31:06 +0000 Received: from CY4PEPF0000E9D4.namprd03.prod.outlook.com (2603:10b6:510:174:cafe::3b) by PH7PR13CA0020.outlook.office365.com (2603:10b6:510:174::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:31:05 +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 CY4PEPF0000E9D4.mail.protection.outlook.com (10.167.241.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:31:05 +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; Sun, 1 Sep 2024 04:30:51 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:30:51 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:30: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 v2 12/15] net: enetc: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:28:00 +0300 Message-ID: <20240901112803.212753-13-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9D4:EE_|SA3PR12MB7857:EE_ X-MS-Office365-Filtering-Correlation-Id: b5025ff3-d8d2-4042-2564-08dcca799103 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: EgLswSQNqBzWcJNAfzQhgmzp779P+JUnwAcxDgTseZSUQtA1NEldVNOzP8AcCGzModpTU8G6tOmZOuK2jF6Dxux7sLkq0zs42t4ijtGZEwOHSHXYKQtLZn+UB+ecmsFeWJaDG+cxfB5r1c8nGMuYzDrqAsWRXn2FWAeAuYr6C3AIIhk1I1SKc3w2v4jObVZeL1A+FKbwtKcjJg/rqrLOy2luvpl8zdeK0oCvGWX2dYwOFyTclt/w8GiICWH1KJW7KjzVq1yOBUshfp71aCPjSgYzElU7KCobonNQKeiqZvjmoFR04SDeFMBLOnDZoR+YSgWjGjWt8F/GSn7MKncL4Q1TulUEQmINwHnwRyfBceuEwumWy00z4fdkloLbuPIsft0cWUr18x7uGEF8uHZYZe7iGdVet6TIN85Lv6lG7PDZPGkP0DB6RjKQiaEkflz6HOY7JGT2oSdtZJQ+DND1IfPjoXKK+RnjZmhDsh/6p37WYKrfevln8lsJMUxlGV7YJbxeJGO5s5K0Zvsa1tEKT406lRWZGafK1kzukGklTaFjVSvnuNX79OScdA3DyX8lDNr3KPCWzwzHE501iWZpzMj84lu6qJPUvdxZ0VDj8NnE8rONbBpIMvTNmkKUn70L54prRFVXx4BjVI7JtEZC7GV55caJGmNnm9/HW+J/jXaxKyaRAmtxY6Ym6+/SDP/oUm4NZsI25k6SfJxv+Hj7/Kwp0QXbhF1RY6Rre5LLkUSGntSInOCm7kI4qWUOIzgrnKGcdjE5j8uee6vpzsV+G1vihHE/RF3FY35kFfrK26a7lZoTm/8xx7wp8j6i03Kl75fqycHpf0VLXcnLp3WzTmSFytzLwFykUmuNykfdVTIsnAR1d7rCoK7I/tUZdldneaGuM/XS4cHLR9CXZY0HhAVb1tVC3Ld/hvRruYjYwL6N6pbFwkCdAYQcjfe4FEJVfVqY5QJ1DEbooZEoYju2gKvWTvYJi5S1XzM171BcKCH+OblFN63Azz9lQTaK66nlrYl4E8ukwdtf248UVNsxsnbfcpkfg/lPif40r/mYqmtduhuzQVJL7vMlhC6Ks7RJ1COpiLDZSyll/RiZtflaQKeAtMSZ9b3Oh4NVT5VUn5HiRCtteiOjtnyC4MnG8TgqnYAbde+StleK9gSX8WbFcVcTUDwu5PXXXqb/UN0LUuwtRdu/w97I1/bjTU5jisnQ0oqbogMivWKda6jL6PGMdhi2DeGyE+w+XKR7VlCs+gSP5WhRHWcUVBIqUdadInSpqnS+DoSt7SG+280yr1o4PmvP9ujeILKbj/DzIwXhFsbAtY3MUw/qJmTkSpnBNGJlxb8pNuqyV7FzGpc6QhHIRUYp0B6U1rzutjJI11+BrP4ueB79r/knKYEzktqFbfkDv5jg+LKV9Ezd5Gl2A5ke23g2yXGiCNpVLICcpx/SJW9qr40EUHA3uzBJ8XSjL2eN 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)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:31:05.1586 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5025ff3-d8d2-4042-2564-08dcca799103 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: CY4PEPF0000E9D4.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7857 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: Wei Fang --- drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c index 5e684b23c5f5..47c478e08d44 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c @@ -849,17 +849,13 @@ static int enetc_get_ts_info(struct net_device *ndev, if (phc_idx) { info->phc_index = *phc_idx; symbol_put(enetc_phc_index); - } else { - info->phc_index = -1; } #ifdef CONFIG_FSL_ENETC_PTP_CLOCK info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE | - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON) | @@ -867,9 +863,7 @@ static int enetc_get_ts_info(struct net_device *ndev, info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | (1 << HWTSTAMP_FILTER_ALL); #else - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; #endif return 0; } From patchwork Sun Sep 1 11:28:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786403 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2048.outbound.protection.outlook.com [40.107.94.48]) (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 1646615C13A for ; Sun, 1 Sep 2024 11:31:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.48 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190288; cv=fail; b=moe7/Z+HYMZsX5rAHUIOr2x/AjWuvOVOOJPUDQznssTeugtYkI1lei8YpW4nofdRoEfa/EBzY9HhqksHdJ1KmZocCjD9iXZs39JrT3+vprXMWQJBkfhfEP6xmvjk6yVBQxNtgzHxmYigUlE2m/P93A93GgQPf7bw3RE/5Dd6MoE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190288; c=relaxed/simple; bh=/aNTUfTpzEjPFAt76dBITLc19JHkqcm41YOeMhqpNJc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=e3D1Vh0X6IyLgiYdGluj3Qyn5+XlQ+fYcsYriwcSeqEWTZbfvEqIlI4POEYGvFKgQHXxa6K41r6Y4kIAGbapjAu/wihhe2v7qeS7dmkUcwRErsDyVLEHi+Sq9H5S8f5Shj38ZYYooJg1ygss89XqHvzplkeshR8CDBUxojfhros= 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=HOwgvkLe; arc=fail smtp.client-ip=40.107.94.48 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="HOwgvkLe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=p3r0NvFgOZNXfiIqoNSONeplfUOlZxH2eSNQyrVFvRmIiJuLkzTK7BFeX8qr059cc3g19dPgY7LOdWE5akaa1AYBh4n1CBmrI3h8ictaKAd8TfRrKpksbU+OnvducJzsT/TxU3VicG5Jo/wWXeRlVNsr0RckfTdu1DbwmfANEq/q8G+8jMEP2yNItHd7m3TjWvkZ7OSq8iosT4F5TG3Lftb7mqwfIov6IboFFYtzHK7CqtCTFu3IlaKsDgMGNDmyrir7EcJfCBpY8P60GPHLQevbuuurHQRFsFakoBiKJrUHbZXPqfYSXHOaHwxRErYghm5is24e4jyQS9tPp0FLLw== 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=6LQgHaKsaVGL16YOjciDVSTCgYYWfvzbrLEzj4+P+rc=; b=PBBUI+f5saBQKea4BHZVgtEG4C4qg7wZV/L5zVowwkiH4k9bJooBwVs9y32mtcJfhWLdNqK1v6iWc6NRF/SF5lJKbk9/Xam+eeQEOvnar8YjbOS+Z5ZG78ouC5I1ynSseBuBbi+4aK7FeJa5iIK0UopH4H38DT5NoYx0+U6Ukc7jR3HuojI1ah0uEWp2pWyA8OhSulvfQ8jODQhCQQ6rehrVQHnLZzPQQgEJHa+tSoDE22X9L4Y0VWPaocZX/sT4b+3+ko7mQdejPyqsVClIOstsgVQBUZVkJuG7npA9ci66xEZBt8+Lr1ZncaEx6xC9a1N2jrjwzyZ5ao9786y0uw== 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=6LQgHaKsaVGL16YOjciDVSTCgYYWfvzbrLEzj4+P+rc=; b=HOwgvkLeuw8IKpl0xrCyH/yhk3LTujhUqJVthetVpJZNP7CELCo9D7HNkzAV2LGpPmX0Fx04hXYvQKbim1rT5N4cVYEn4b8amjPPpPGs/nBleUENfrWOoQyhHM8+s65TaGXyakPVKwFcKb3KHOzzZ310ZuvEsSfKY2g/dddJ3eH8ssNBLEqmP04aDQsb9P6RAJLNwwtGDpT0POJPqzfP9fHP73QQTRanzgzTFTQVVGXHAwn4tV2RbIOQEWT/m32wmMn0y+HRnCtNTEVGDYLsQI+13sjAXX+yzrrh6NYjGhh7vEX3XtSDDzJxNmEiBlmeyjBL7ysC0onKLqjTMgTvlQ== Received: from BY5PR17CA0002.namprd17.prod.outlook.com (2603:10b6:a03:1b8::15) by MW3PR12MB4425.namprd12.prod.outlook.com (2603:10b6:303:5e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:31:22 +0000 Received: from SJ5PEPF000001F2.namprd05.prod.outlook.com (2603:10b6:a03:1b8:cafe::ba) by BY5PR17CA0002.outlook.office365.com (2603:10b6:a03:1b8::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:31:21 +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 SJ5PEPF000001F2.mail.protection.outlook.com (10.167.242.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:31:21 +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; Sun, 1 Sep 2024 04:31:06 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:31:06 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:30: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 v2 13/15] gianfar: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:28:01 +0300 Message-ID: <20240901112803.212753-14-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: SJ5PEPF000001F2:EE_|MW3PR12MB4425:EE_ X-MS-Office365-Filtering-Correlation-Id: de46145f-4787-4096-3ea2-08dcca799abc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|7416014|82310400026|376014|36860700013; X-Microsoft-Antispam-Message-Info: x5A0xBZ4n9wXZ2dVzTiHeoU5k5JAI854Yfm43fuz9H8hzG8Rkhc5aA/pM4KPMAuiuaDA2CSVj+cn8oyMWgQaj2GcRbuD23R+6x0EQitvs12AVVQl62cExI8KBMv4gz9zQl6rylBAEKFqK0Vf/2EB3oeZW3RTYNWVZXCq81KwTzX4OrM4EGtk32VmLyXMUUkbKGaFlviK0i/GMtxh+YN735UQho50nWQGyHiKQGXHuxfqzhzPkWwldnN5st8G84jEzDxc2dqPth/YxwTTkRlqsUFO8m2QsQ69N5fRKNsw/gT/lGdlDVS2Ot88gEBi/n4E9098PYNFEwzN8IhsGUjsi+y+v0CmesJOb1kE+s6aofuMzNlYsEtbq7aoTTQ/l6uEqcV/IZ9OoDhDhExbRMyBYpGFjR+IhlkmN1AFddDZSntsN9fGKS4ShzF6duY62f0gDH046qrOHfkaI5sSvTROCEjy55uxOAlATlCwxjYPSMEYHcGKu64i3HB7EpNZW89kWpDAA5YoTwxK2kmUZV0SYYqCkYwWX4Qm1xzyAQAOialBH03Zl4ik2jAW+A/Eg+rkVp/iZAUrizFfqEDHKKdFUd5cOeaLHdUacVow38blXxDYZ0+6gxO+yutglORP4JSNQRHSbVW7qMPzEuMAnodX38OEiJpkvUD9jSP6MH0OVpP4KCA2qq2RMTZYh+FC3gYoDb/spV7vI0ZelPtiqjQM9XYpD7vgo0c9z6t9W4Pp26allhDRnVPbXZRRnIGIqDBNWxnfg8gh87GmtHYRhS8i9S3OVm8FCB6PpFI3vl1yE3eWxAalAyViDPaGPPInmDs8f4HQ14rwDpD3TQKHfllmYNI2/PvEOEUdTfP9ZWDrUAmNR3OpcwjBJk9RF9sBff6FUDKsG932g9OKqKAlMY64aJ1lJ9xa2rDcwgZZhklcC+tfrMX0yzMa796JZyOmAYlW6W2Mt78xtmTRbQ/oOi8kRbbYn7DUszNdheUQRGUPrLtnCPjNT79FDszS5rEJFUH5yQTEGRIDvD45WMotns/mSKBKmaM2q9ztci+2iU+NQJ675eFPcA1zg4nQZsZ01zAiR76hD1bx7tYJTSdv3oTsALCfER2NrtnW8jdRmB3oIuM422o2ib6oCgwDxncHqt6GCbWuoqU9i2/14X7wRMdsYEN5OKcg8iMW3vgdUwaKcW+98eFo8JAlYnhMCxMxLIL5QAG3XdHU37xHDKiA0XuUAui8hfg9vJiYhq3os6c1Jj3IqA3dXZK9vyOG8raDt9P0rxEYSpVhGUEi4F5Sx1xPMmZ2iy2iESoNu2chrY1M6HuE2XtK/QD+J4kjg87p9Ye9kUzrhx/7ow0xLu3Gb2OAaJP/ZkPzZT3KK+Y7cLKu0CgDCxt84GgjHvrLxiBJyACwof80vLY71bZ5CMUZEcdp8TKtnwvT/81oO/gJ8J9KbnZlmLHlsQxjdfzZswiXm5yV 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)(82310400026)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:31:21.4555 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: de46145f-4787-4096-3ea2-08dcca799abc 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: SJ5PEPF000001F2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4425 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/freescale/gianfar_ethtool.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c index f581402ad740..a99b95c4bcfb 100644 --- a/drivers/net/ethernet/freescale/gianfar_ethtool.c +++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c @@ -1455,12 +1455,8 @@ static int gfar_get_ts_info(struct net_device *dev, struct device_node *ptp_node; struct ptp_qoriq *ptp = NULL; - info->phc_index = -1; - if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { - info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } @@ -1478,9 +1474,7 @@ static int gfar_get_ts_info(struct net_device *dev, info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_RAW_HARDWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | From patchwork Sun Sep 1 11:28:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786404 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2073.outbound.protection.outlook.com [40.107.95.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 9C36221350 for ; Sun, 1 Sep 2024 11:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190295; cv=fail; b=BYxd0xnI4by+sBhHraZtlHiky/Aw4HaSFGdODCI8TAzSKJDXVsN3iETzO+4OP5ZOBkgBs+/TQ7ini/YKDq7oVYl6dhGq9sbc02sO+1mwDph4TcAr1cqD57wrqw+cr++xDyMCFZhC4cQq6hghaREpPhqwa2kmWhXyUTY3z6s60Uc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190295; c=relaxed/simple; bh=o4QCUJ/gh8s1CLGKa6X96eptN1mrsI8QD+5zZYTg2qs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mZrXSmtrGg1QNWF60eliPpMOfR3rCKqQSuiOO1S7gReEkwtQQ7M7NYZ+IE5a/N+M46Xs0RgUiImlKl9Lqn5cPSmAk7Z13j9MCUVV7sDWfpVVcHFyddJmCvH/oa+OM4v/lNIOMaWskEsimps38QGeAQ1ZlWwgaL5W4kwlty1s3lY= 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=k1W2BM55; arc=fail smtp.client-ip=40.107.95.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="k1W2BM55" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tDdx55aSdctGDBWMy8tOG1JHm3j8Pz+Mx4j/Yu1rNNiqWBKzFZ8kvM9vsetW0WwS2SNmKGAhA9CLBSv0wI7WIDvvNVbXDSQk614aFJz1t675Y92cz2IoWaz9XDFDaTp8r/G2FDkhQFzV3Cvg77H3/VaBk6SQXVflhVwl+3tQb7p+AnKoL8P4LRRgbWbev5D0zJ7L7KKlBAaj1GQILljGCP3j8kbsyu/A07x4tdMRKxquVZHoI9W4iBijxg7NONl8mKUi4swfBs/Z0HVmI2wL7BX1/gOIAA4hSdEYirxVGaI4GaoRrGvbIJd/V5PXbUmJVWEuwAHL+gNwy0Rp0EjQxA== 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=BMOFvZx8e7A7WjfLzthoMRwholUb8610O9Yt1jvuZFw=; b=j4ieTxmASTom1GqyCe/MUhLSDXNYTyUe/fD9lem3JIq43GRB6dy7/AyqgtYD/8HQEFbcEh1CuiEeusaIVoxDmTCAUud0ROHlXG7c5u1twWtjPRLRjCsFAJ5q/d81nSBwWNvzkk6gUobDsgfOZETpvgxmOcrO6dkZ3PbhI15bVxcE/z/eESJGHH43OXhZzd6gN4vx5DTzzc4OZxTPlL1xaBpMJEb+3U4gyzUl/esieGsAOOdfYX+B2HUhUYbLLQZex+UrJ7UpvNyQ6jfnbuoWrFMmztLHrkmUzGHtMf2TadVWjX2ag9B9h65UdZffFM5fpuwvK3uAo8J772uMEZJpCQ== 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=BMOFvZx8e7A7WjfLzthoMRwholUb8610O9Yt1jvuZFw=; b=k1W2BM558wxCGJezTfVvo7RC0w2pn/yG7RB/pv8YrcRp8lOGGPt6Yy3qUba/JDve1O7VR0vmMkjGBWrcsLP1CnR8FpVbgQ3KiKXmjjsiHUQ6jcryF9oKO7vZkz2TKFE91uWyZaCetkzQzD9E7QsEinh25K80FgLP7FibmpOegdWSUI7GjPc1+Sp2YRpxZJfk0EjEsmG4ws97b0SJjKB4163KQKZiS2pbFL3h9gKPwUyDp7KCtIqhIGsYWufQ15wAJWFDtft3Wall8h44q+Dd9nVnjhJoWV3Ojl7q99E/+7A9JsqVlO4g2T0txrNNQHaZX2X+pU188n8Zb+bzfotHlw== Received: from CY5PR19CA0055.namprd19.prod.outlook.com (2603:10b6:930:1a::32) by PH0PR12MB8098.namprd12.prod.outlook.com (2603:10b6:510:29a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:31:29 +0000 Received: from CY4PEPF0000E9D2.namprd03.prod.outlook.com (2603:10b6:930:1a:cafe::cd) by CY5PR19CA0055.outlook.office365.com (2603:10b6:930:1a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:31:28 +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 CY4PEPF0000E9D2.mail.protection.outlook.com (10.167.241.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:31:28 +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; Sun, 1 Sep 2024 04:31:20 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:31:20 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:31: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 v2 14/15] octeontx2-pf: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:28:02 +0300 Message-ID: <20240901112803.212753-15-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: CY4PEPF0000E9D2:EE_|PH0PR12MB8098:EE_ X-MS-Office365-Filtering-Correlation-Id: bdf7bd49-316e-4718-8231-08dcca799ec4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|7416014|82310400026; X-Microsoft-Antispam-Message-Info: Jv6TRyzFMgWnOEUOVxPz9wAXZ5AYkOaErDkxm9it3xKfpI0LPk64tP2ERIE3+kEtAE6oxvLZPndIQlwUN35lUAQSdV1RAcVJFew5PiFfw0VLoiatNDZMgnCm9ViQPVbvjjo/4Rh7JN4tPxScNSRL+8gyDir23jWwUJwm2cPZJ/e4L/AMKp1b7s1PiAGJXrZnxA/Sw4vH5pSbjlxp2qLoOiXLHtMwBXGlK/Z2RvdLOpcjThLCiL3BTW9PyN0j8GlOVUyPQ+xpwd5W6E1JirCavLCWaQTNYfeYd+BppC58tjdjN9eXxEYui3ERXBGeb8ZnWZqjqBCrGnsBMsXq/Gn3rr44V7GBm/zVqVFLuVRT2fVsTzlVbD6dbpdYrB88vOY8GTm0HjTgQ3UJS5BGY9oavBTWaajA6kXR/oXogS9TTaXEo9qNiEV9Q16kGhDD+LVh7jE9VvVjJM7DvWOswpjiWDIfxLzyRFISjFWQhEjrOhukcUJxboeo8CtnHO4/Z6ZL2UreaoZ4FQG9CGo2qc2gtFDZpn0bn+F1ZaEQB4zP2H4+uWT1w3VddcXJdnGUj3R03PRfvc9KqrBVnSwr0ZcaZSsOuF1omKyCQkEfGRdz5AoABWEVV+7hTxCubYrQoqsa56N26joGGHVq0yAPzs9ZukMHkInpayNQxGiNu2ESzHjW2tHgS2Btf4cXaGEAWq7F+cnzsutCgJwA3N8yGH3Hpwh/MgAnbLS8p0PO8MkrlgMAbq3IZE6aPo46HGGlI3o0DiCMoAJXwKtmSnrFiSMmGAsRT/noQ1+MhpZfV0Kmr/soIHdzcLoOW4n/OFfNO7wMo4DCZEYdDdOZHqAi9VVjp5afbyEpqBkM3lECIwZx4Y9q2oSioya5v/rM931v8eS3LwgF7LexqFTX14PR1ULTIEX76KW3l9JiK2a8gWczMpFCbPDrku3bRdd/Q2P/tQ3LuTvXH2k9vSY+kzfo2g1kzWyBSifbjdaexkMo1NIiQLbNTSluM0491b+Od6G3aTMUI6DYgq3/0YfAW/wgGZR3cfER9tYiY9rC5SNGleSXhOOtDOmhGj6+kyLbwOfLEVo5PcimQmnXC1ytKY4fWRcnf744tg7NKX2yNdCZWwVkQ2P2mc+L8QWa8e0acm2/yiK3LL5K9FewSQZ6gK812VDy9/6TAPs7gtG0iNadBryZr2I4+nbY1PjeP2r2mdgBvijAt4EPAXd3/VRhP0S+wci9/3wx58hvLeNhoZ9Qemyz+SVJAbQajD2U6DFxTZTFj+FhWwzHdzEEguPCZmobn6mzRybaHxRDMub+Z/JKNYx5RO8kIxtChOwODU8jm1V063trofM0D7oXteRFT6pVc0AqmGprBYN/QrnHEW9lTqQh+zgi7dW+5gLQAFyDCBrYYLJ6BybuAdvljl14yI3i7OHorcsUa2aYahgcRHwbgN3O5qW1qHMWSrXYVjt1ciB77UoE 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)(376014)(7416014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:31:28.2517 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdf7bd49-316e-4718-8231-08dcca799ec4 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: CY4PEPF0000E9D2.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8098 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: Subbaraya Sundeep --- drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c index 0db62eb0dab3..32468c663605 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c @@ -962,8 +962,6 @@ static int otx2_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 Sun Sep 1 11:28:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gal Pressman X-Patchwork-Id: 13786405 X-Patchwork-Delegate: kuba@kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2084.outbound.protection.outlook.com [40.107.220.84]) (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 2086214A61B for ; Sun, 1 Sep 2024 11:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.84 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190310; cv=fail; b=Gu5eMyiX0/SsPZnQ2F7jrbQQxxZ+23oTIFw8Ege2OeOrsn6RvfcfZdzkACgP6e5cEvihQ4O+hELk/jGBm/T2fOorV2NP572VOBVVMDsThyXoQbphZDfTsY/DETrgTIVQKrTkZeAxUX5g9vS4H/yF11RkVU3GoKzE7XghU8H7ZJo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725190310; c=relaxed/simple; bh=hNQimT3FGwS/R8Bqif+FnJvmThUZOmsN/Enk7kgnk2U=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jnwO0c4yA7RSRMtl+62Nl8yuvvq4z4xQ877KCC806JBNAy5/FYmoszF23Dc/y+DHcLm6SiIEXv/ZEpbQ/7IMlELa/vtbJghDNvEi692c0XgZaQoSozxt1wFAcx7QzINPqxyr7L/osrwAwP/Od6H9LvvRMfnBnztpcr+bYqjgjiM= 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=mQMhxyn7; arc=fail smtp.client-ip=40.107.220.84 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="mQMhxyn7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N+q2nxMKw2jos5RYfaYQOa/U0QoyVkuVOJHuQoW25rFeHx/tDIH+SMEk6OqldRRrqbz9+Jf0IYyGPjXEZu2m42WofeSmUfOZswHtipdimQPAUNMv2/2q/1AvcAv0jedF8Unge9JrixRJs+Yqa3axtDS923p5xw5lDNiK9TClYIf1yJoWphtzHUPODtl+drrnvz4HYTnOzrhjzRps/9ybBcZQW5nhom/r+Ro3zRqorx86ayXvRUUUrYzGzsOWe1VRqTlXmNOES8mvp3prQXn3g0A7qtgjTMvCVi23ZGZo57/mj0M+NNq1rOI0BtRiL6lnkKgkDgxBKh8NjxP22mk4sw== 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=rpqDiT6elLMhpy3jofH89JaINp/FW4339jF2XNN9evQ=; b=PBdochJtJmLfZaMuyYhZe8FxSsnYrwr7etsVCAG1kG/AGpfxd4jjNfksLOgHqoTmWTeyA3QKgjAr5NzSGwUn/M3LM8BD54o141FwqPKcNs/MglbjDcbK2vMSdAovtdxaqPOiSi7yylaWiwf/rNkIJLCbm8YMQpfDw3X5a0WmjnVJg6fhmMU7rk9xVsl9ik0ToVbkMNHoxooJYoKwyOAH5o5AlhQEP6oItHIduc/OV6ELlU4AVbpnglad1cm3swx69Di1jVI2FPmtvSW4YxtFSyk62BS6lGLvC0ioK7YG/4uyR1T8N5j+5U9SrPe/D+vqtotSPJF+yfXGFQOgT6rrhg== 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=rpqDiT6elLMhpy3jofH89JaINp/FW4339jF2XNN9evQ=; b=mQMhxyn7LHgh1jLRTE4DHgZQOZPWqzIbd4T6/4YP+P6srg6POCV2+6CK0kF0S0zUvsbtKl2eYMO2YPB1PGQWvd7muWhxeDktcPsuI6NmatrYBABTtzi4Pk+17e266LiMpLPZNVF0E0fNSatBRDfs2M4oLfbTG0jsJ5raTM6OnbNo2xCeoI8brTREVnnKYlMazWsVBzmpBxDmi0ZJJGJ4YyVwOIqiG/ViGmxcGp25RlTa2KCwqT5B3pq7/bU0ddG3Sb2b27I2E9lUKoUvxX1OxQO1Eiq82Td0eAHgOYz5CFY61yMHm7VdV9mv41BPX14LnHFHMkGiZxEnnNSOrwIMkA== Received: from BYAPR07CA0038.namprd07.prod.outlook.com (2603:10b6:a03:60::15) by CY8PR12MB8265.namprd12.prod.outlook.com (2603:10b6:930:72::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Sun, 1 Sep 2024 11:31:45 +0000 Received: from SJ5PEPF000001F3.namprd05.prod.outlook.com (2603:10b6:a03:60:cafe::b0) by BYAPR07CA0038.outlook.office365.com (2603:10b6:a03:60::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23 via Frontend Transport; Sun, 1 Sep 2024 11:31:45 +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 SJ5PEPF000001F3.mail.protection.outlook.com (10.167.242.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Sun, 1 Sep 2024 11:31:45 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) 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; Sun, 1 Sep 2024 04:31:35 -0700 Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Sun, 1 Sep 2024 04:31:34 -0700 Received: from vdi.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 1 Sep 2024 04:31: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 v2 15/15] net: mvpp2: Remove setting of RX software timestamp Date: Sun, 1 Sep 2024 14:28:03 +0300 Message-ID: <20240901112803.212753-16-gal@nvidia.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240901112803.212753-1-gal@nvidia.com> References: <20240901112803.212753-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: SJ5PEPF000001F3:EE_|CY8PR12MB8265:EE_ X-MS-Office365-Filtering-Correlation-Id: cfcd942a-e701-492f-6723-08dcca79a8ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|7416014|376014|82310400026; X-Microsoft-Antispam-Message-Info: IDRyYkdluEfAtwjGT4a43nNsCxUxtIdtR9VcQPFIZOl+Sth1TY27qk9Hb/JMQXM5EJ8Gxd02EACv5v8vEePMD/mukz2tATqCDpejTOdFSVx/f4y3QH5PkOabEO87qIMJSxLOCzqP7ay/eN/Tt4G6qgIO6MnjTdkp7SVZBtTOGNQzUCvBI4cBFS9qR9pNw/jpoQpqzwJA7ET8HcdwSnqzGA3wL9GS30a5469YKjX8PreNjo/EBuMf3UebeGT23DalrbZ+NlNj6W5vF0KVGRO9GxVZ516fjXbv2ZbX2tulQcoLfpVc76HTV6X+SdhX5wjeLJlOGMnAlT2cBsl/dR8jXJEqVajaENnUxAAaaK35/L+yavJgJuvD6ae0zekSpn2Ab3U5n2vxrTcFlHwpQCzPKifVwZChiFHWuTSeslnrKYmrfBHS26Ib0mvLLBKScHY+FZDSDtU54T33QHp5tVwc6RNTZ1myMwaoVbO1gFIQD6+lNJNv9apMgkQ0e8jco9Rr5D3LWpOxtTxU9qvTUQXOr/R07GOMHcoQWv2uQLcNkTMJ8vMuqncrn6HjkwZ4SLzZ9mmHUn40j4ezumm76E0DCX1gOe0XMV4rV+jRgy1acjvrx53Pt1TQUcPCDvuO7AgTb4EKwqXF0wtPQP0xQKUo0tDFOY+4sPyB5F8rkf3naJ0gbKwokBm6lh1woG5sMuuyC7QTTLl4/qIa0dbOlq+eCcn5V0aLbJe3FRg1OU4AnhOCP7d/oICVe3JCTy7g1OAiqAZopyupY6rulqGmSUjQi3g2/Y53dibJ/lWKm6Zm9NfwbGjAycHB2rwMziTm6fOtnVvjM8KS/BPSPmSGbJlKiY0+uUSb2054hz/Wgi7mq+qR8a8KqxNl1B7qvPK+EGEAUBiKv9FVRHgKxtcwPf8zP7+k09rqL2s+LEWky0whyrUGK1ZUy+Izisc6RRiJpL1Klmed52TX93/LJgVnozNO0aOBTFvrBp0bD7kdPv5L2N2QRsDvuxMq2imUhQgKx81lB2u6LzX+/HXeIga0J8nTHOPh+6M2NXZxiZhkI+irpAgT7SoV73OkVcJT0cOaMPEQGjnD7eRhfhRI1qpfwF5BazbSEDYtJOqc3Com6dNeeVA8A1n0s8n19De3n9xExVw2G3S+dYx7uPxFg64YZ3ZS7jFChbvgpUKUzx3/RLdY6RTsxdaVpvJ/KygKt4hITydUmwU4VKk/UVlYvjhArh9AtW+mvUrrWHv3w7s+8GzHclUZInEV9z0loDuvL8aR9HgJowMcibILlZFQ13sChgOxigDDGHopRZsEFWupTJZfi6fa/qF2O6z03xzj6Cks2BDyARRU5HllJuLvO7BlStLSgbVMAtE/RG0SFlhFg84G9bZMK0Q6Ksntypzvs36f7f7GRJJeHeRYN5TaNcRjn+lyb9ustH7qjHl9GIuPRDiirvr7918hG6XSRI9xkQLM66zm 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)(36860700013)(7416014)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2024 11:31:45.3101 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cfcd942a-e701-492f-6723-08dcca79a8ef 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: SJ5PEPF000001F3.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8265 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: Marcin Wojtas --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index 0d62a33afa80..1f01c6febc6b 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -5268,8 +5268,6 @@ static int mvpp2_ethtool_get_ts_info(struct net_device *dev, info->phc_index = mvpp22_tai_ptp_clock_index(port->priv->tai); 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;