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+Z7fNngp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+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);