Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp291806lqs; Tue, 5 Mar 2024 02:02:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYRCnLFmN2qeiIa8WQ4SGr29ibPPUuD9bRvOQbcGultdo++BBE+UsxQpjpGc3dyMnwpnlsXoCftw5IcTNIMwzP2srSVHWryW60aEdLGA== X-Google-Smtp-Source: AGHT+IFv4GDHvFj20G7adBhigJVUiI7paHxYb5lWZxsw+iEfMYC9UsedsoKdFXAlJuF3zHknCCzw X-Received: by 2002:a17:906:4818:b0:a45:2fc4:f25d with SMTP id w24-20020a170906481800b00a452fc4f25dmr3774807ejq.12.1709632978740; Tue, 05 Mar 2024 02:02:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709632978; cv=pass; d=google.com; s=arc-20160816; b=ZHzZCtGOy8YO7Ycqb3UKIU5WTj9wyx/b7M8gnQAG61k+EpdPwBBVDMixx6KNo9TY/y lDVPGjVZnT10V/oozdAlZgWYBdnHorjGQoDa/TuPUch3KI+6dH/70t8oTXiTzLI11ikQ Ie2cB2NqjaT1/Mqm08T5fssP9gAkd0J7CGtAdaREOMnyq5anQfMZibHKa/pcwALyT7AY fUHHFqrg9oHfAXfeEtw88zF44JVMQyqjncKGj2TmQpv9/z4M33+lWuxJSNWZCzdNfNHb AeBPtC9WQQEQo05ywpHuqUFDNEvCjFRwsO42OPsCCP/mYruPl2I0aNH3mPehFfaTu+6m MthQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=yTaRrrhLCd6vyS/QfkqHI3GV6BwIOBGsPobf3wIDHq0=; fh=12pro/Y/lDXTnCiR/HP+/xH9APUzuQXz1oRgHp1swnE=; b=Yc4QR5+JRjmzgToKNIbsxZV77M/NuHs/S48lCgXwaE3zzZzpXACwN1uHPYfaxqtFAg 9tgiJbRpWKQjBPT5NuJAC6bEAnR2d39ynoK6PNUt9LDiQr3zfv+f4QGYmlzyhDildM1l tYjAt2PYvYe1U311DGdr8Ec4RsA8q8hTL015ZrWGRbE6RjV8I3GQFGN6kxvUac0U+1oS oxZjcbE8s2njSOehGEoSpf/ZPXxCbbecO44Y4NraMNlpq/s3wmGGEgyIcuww9B3MKnMT EijTqJp1YRODzev0XscGWTkPUv2wVgVHuAf6ogSx2lHqS+dtct1d8S+qjMoUvlkA8aWk O8/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VVi1O8qY; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-92040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c21-20020a17090603d500b00a44415df763si4945996eja.893.2024.03.05.02.02.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 02:02:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VVi1O8qY; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-92040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 79A6A1F21FD3 for ; Tue, 5 Mar 2024 10:02:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BFEC54772; Tue, 5 Mar 2024 10:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="VVi1O8qY" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 2BB9E4D9F9; Tue, 5 Mar 2024 10:02:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709632967; cv=none; b=WcJj0KHWqKQd3Wu6PqYF1VD0G2h5aLkQWfe9VjUv2mKB4RvxWm5KLb1m8F8gsPY7b1IiL/GGaH5y+tasjajE27r3uQbsPA8O2mQfkd+gTwHRRdTXA0BjKEadj1Ip3MwyBszKKahcuyrm8VH+LG1vZAIH/UaBWTGSzOvWEU4R1Dg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709632967; c=relaxed/simple; bh=D0vHsAJNAvotsrRPO6R/H2ATrWJBLX7q5KDT/CK6xHc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CM3BLAY4STbSB4pWrtpyy1MuOEQOXU0hz81HCLdsFW7jfW7PV0fLsHmDfH9NURUSDoiBWZSnSkmEzug8JVo6KeKCuLjYeq+841givfKyJLK+OiBBuBr/vDnWHCI948TJYKMzzC1UKg8KtKDTNOzsm7UE05veVCbGfXNMIGo6fLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=VVi1O8qY; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 73A50FF80D; Tue, 5 Mar 2024 10:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709632957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yTaRrrhLCd6vyS/QfkqHI3GV6BwIOBGsPobf3wIDHq0=; b=VVi1O8qYd5QxG5YleJVNsRGWGhyJrG2nWLJCm/HkgI2Ns2NYFG2iQh0cYziYqsrmMUHu0I cgaMBRsfv5YvqfisZwq5Tei8FTxe6Zl0s9fCH9H6VPpPOjLdbw89p+9qfpOaxhONG0Pv7L YDgWeY0I3MmCSQKMOvk07wo5ciZPR8nXXzOrtH+hIuVvvdqswZa7ERshUtrr2w0EodQt5P RU/p/Zh/qb/Rb4RoJ6jxh0Nk+/Io904/tm/HAmHoKfZXwKigWpzqgpJpwj5e6AuFlw4fLr aMpfNnNck5UUseFDRkBkqlM/Rc9Sa5MRa6EAoyPirTYyhT2Jdrj9KES9HLgDfA== Date: Tue, 5 Mar 2024 11:02:33 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Jakub Kicinski Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu Subject: Re: [PATCH net-next v9 02/13] net: Make dev_get_hwtstamp_phylib accessible Message-ID: <20240305110233.2aca99f7@kmaincent-XPS-13-7390> In-Reply-To: <20240305105627.1d277a76@kmaincent-XPS-13-7390> References: <20240226-feature_ptp_netnext-v9-0-455611549f21@bootlin.com> <20240226-feature_ptp_netnext-v9-2-455611549f21@bootlin.com> <20240304184048.1c1724fa@kernel.org> <20240305105627.1d277a76@kmaincent-XPS-13-7390> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Tue, 5 Mar 2024 10:56:27 +0100 K=C3=B6ry Maincent wrote: > > > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > > > index f07c8374f29c..7f78aef73fe1 100644 > > > --- a/include/linux/netdevice.h > > > +++ b/include/linux/netdevice.h > > > @@ -4005,6 +4005,8 @@ int generic_hwtstamp_set_lower(struct net_device > > > *dev, int dev_set_hwtstamp_phylib(struct net_device *dev, > > > struct kernel_hwtstamp_config *cfg, > > > struct netlink_ext_ack *extack); > > > +int dev_get_hwtstamp_phylib(struct net_device *dev, > > > + struct kernel_hwtstamp_config *cfg); =20 > >=20 > > since we don't expect modules to call this, how about we move dev_set* > > and the new declaration to net/core/dev.h ? =20 >=20 > Ok for me. I replied to quickly. It seems this header in not include in ethtool part.=20 This would imply adding #include "../core/dev.h" in the tsinfo.c file. Not sure this is what we want. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com