Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp470276lqs; Tue, 5 Mar 2024 07:18:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbQgGv0BFrgm7zjX7lOzBBztTUaRmXrVyqOb2/QfEDt1jgfLLgA8tmeyVz3t7TX6miNagy7JHOOZV46CeDhJciDvcUyU42wz4rVb7d8g== X-Google-Smtp-Source: AGHT+IE/fOEJEpxESGIE78ie1l9AALZJ17224uVAdBrBvVxkjyprOMZlEhjhRMEyxUswWlOb6MN0 X-Received: by 2002:a05:6808:1153:b0:3c2:1386:ba0f with SMTP id u19-20020a056808115300b003c21386ba0fmr1316793oiu.44.1709651913678; Tue, 05 Mar 2024 07:18:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709651913; cv=pass; d=google.com; s=arc-20160816; b=lBr/idataKppm8KIIAJMt/aZEfHYcOrXgP1Ai3FYD4+2OE0MC9Klwwk3g96ogVupch zKLZMwFP/vXeaTNHziJgvIYM3xaoe4dM65QcD3yBjunWPoUyJxAmIdLfa5PyhDrvixMw VrVIMgPw5jRRQ4hVAPmvFQxxdNG9tj3oHeZPDf6RT5zFBf91ouUVbvhQpLXfRUJ9136H k2fAIeRg3ySJlRCsFfkmO+DTCIXLNyHHeB0G9mWAljpGPRo50PN6+R42Q0eH7fS+DxCp XA+Bqvm5P4KS4cYFm+NQ0mNwlq3Vi+tU2HerEOvqruShKpfj9zfex+LsiFR3sDlBW9M7 J4Bw== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=KSHIM7tG5nobtaW8jTAOl8AG4iYguBWjWiTPP7snwko=; fh=OjYomBzSJYKdQ8L4UhWFb+qH2yaTh6uN5Jk7JGZivU8=; b=E8rdppbvbpTf0rnd6mU3Eug2hZ7Hr1f9H/TpPEXXznFDwnpzdDFfxtZI0FDlqVKzWY V5b0sMEhRKbPSsUluquSs97l9bDQbCy9BKuueSrrnTmxpvdufCGfh3yF+aQ6iEclxhNS toHViqW5lVJudBEc0ohCF3lf3VsJvK0+LqaM5AzGFew/ew7oMm911P/jQ1ZTohN/69VO 1/Fm6UrtIMN0jichqnWIsxnca+Jk1wwPobDhen9Ux69bfH12ukS7oqML5N+fh3hM5gLp aDVBJfOEpnxpe1+LWu0OsIL19UIa1dw5ZaWaUQ0RuoYN0GTORelFqoXJj7xWZ6OAoeMQ 77Gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tIGLpqWB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q15-20020a63504f000000b005dc488101casi10192674pgl.341.2024.03.05.07.18.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 07:18:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tIGLpqWB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9FFA5B235F5 for ; Tue, 5 Mar 2024 15:05:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B5BB1272B6; Tue, 5 Mar 2024 15:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tIGLpqWB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4A54E126F2B; Tue, 5 Mar 2024 15:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709651125; cv=none; b=FFEiw0jR/1eID5pqFiHBJbo43qHC5MPw2l6Yr8TlKnin+BEAPfJeLQ0N+C8S9zAszsqjxo+KiG/yaqrdQZRnOKfSpghdJi9Vx/4vOPeQ0fCIhDZge75G7DQC86D+SmwBxIQaphCuZEJl27Oicn+0qNkleP0gtTg8DgKyKyqLnfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709651125; c=relaxed/simple; bh=oa8V2FuxjKUdYLS/9PBgK2zWedJ1BSk3Kddft+iXeSk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n+irZE3FVed65Ht/7h/hQxcgY3qexm+Jt27ysJfsAGIOlF0i6YQ3lrZoWYeyYv1fJOT/Sj5Ndu19rdyn7nfh0W8W+Sj9TasEXO2ZhGNX7uYk7xCJGFqi20KIy5XyryvXJOouZQ6IDZfV4LYhBMnhoC8w8OTCBiVRAxg6p6xUyWs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tIGLpqWB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8926C43390; Tue, 5 Mar 2024 15:05:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709651124; bh=oa8V2FuxjKUdYLS/9PBgK2zWedJ1BSk3Kddft+iXeSk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tIGLpqWBcZGxv1iogMEV+qDw/QkkvcaClKKhiDzWOnv7GMauxBTK8XJv9bPZ6LZd2 umAJKCzddDP5rWWIcn6XBx6SPP5SyijmzJnNODgwpoYCE/bRYuz0tMRvOwmXoP0IyU F0XSpEdQE96l4ociEM+O/0N3IK5MR7W8u2/ujs0Blqf6d0HIpn6FteXMQ6WVWDduHX LTZB76xhIATOrWBZ56KtmnQrK/WnxeoDsIYiDRNjZM2H/oKreWwyBSG9Oh7aYzi+TF gu2rlqZgTFW5Ys/OjpiXctM0VYmHO4nlJdYxq1VWst/R22Toani3riWH/JlZFCkx27 MulUdpVmKS+qg== Date: Tue, 5 Mar 2024 07:05:22 -0800 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent 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: <20240305070522.7064e11a@kernel.org> In-Reply-To: <20240305110233.2aca99f7@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> <20240305110233.2aca99f7@kmaincent-XPS-13-7390> 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 On Tue, 5 Mar 2024 11:02:33 +0100 K=C3=B6ry Maincent wrote: > > > 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. =20 >=20 > 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. It's not amazing but I think that's better than putting internal stuff in netdevice.h. ethtool is separated from core for code organization, it's not really a separate entity, it controls very core things.