From mboxrd@z Thu Jan 1 00:00:00 1970 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 88E832869F; Mon, 16 Oct 2023 14:22:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P/dLmVoN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC45AC433CA; Mon, 16 Oct 2023 14:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697466127; bh=7ut8R7I0LgKdNiZkpraTHOG9TpuCMcSaL//bQFLc0+U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P/dLmVoN+A5AiY1dRBROyri1XWhaV/Hcm+Z04t5juYnZZzo2EdMz5yGoR/+rwwx0U TeJl8eC84R5YV9yv6hPFVuTqkkpzCBmXNWzFGsngFLwtZbaQa/4kcSG+7gjhwU5rp3 38/vvsqRLyjeOc/SyNuR1s08buoz6TH2BkBEpbvER09fIFdJYWTLVLZNPCFUvYsHxe MHYXQt2Rc2hk6v9UAlA/g2VYNtIkfMaX800ZqPzHYuXQ7YAxr2kVe5EYnzPUgQCmLa fQClp9+LXcqZfb/ooCAKhyE9yapeGu0aTSvp7mcL3OMpyuLy5kBKz2+g5cmAgI7Gmd iLjpua0OQCEQg== Date: Mon, 16 Oct 2023 07:22:04 -0700 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent Cc: Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Thomas Petazzoni , "David S . Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Horatiu Vultur , UNGLinuxDriver@microchip.com, Broadcom internal kernel review list , Heiner Kallweit , Russell King , Richard Cochran , Radu Pirea , Willem de Bruijn , Vladimir Oltean , Michael Walle , Jacob Keller , Maxime Chevallier Subject: Re: [PATCH net-next v5 08/16] net: ethtool: Add a command to expose current time stamping layer Message-ID: <20231016072204.1cb41eab@kernel.org> In-Reply-To: <20231016124134.6b271f07@kmaincent-XPS-13-7390> References: <20231009155138.86458-1-kory.maincent@bootlin.com> <20231009155138.86458-9-kory.maincent@bootlin.com> <2fbde275-e60b-473d-8488-8f0aa637c294@broadcom.com> <20231010102343.3529e4a7@kmaincent-XPS-13-7390> <20231013090020.34e9f125@kernel.org> <6ef6418d-6e63-49bd-bcc1-cdc6eb0da2d5@lunn.ch> <20231016124134.6b271f07@kmaincent-XPS-13-7390> Precedence: bulk X-Mailing-List: netdev@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 Mon, 16 Oct 2023 12:41:34 +0200 K=C3=B6ry Maincent wrote: > > Netdev vs phylib is an implementation detail of Linux. > > I'm also surprised that you changed this. =20 >=20 > This is the main reason I changed this. This is Linux implementation purp= ose to > know whether it should go through netdev or phylib, and then each of these > drivers could use other timestamps which are hardware related. For an integrated design there's 90% chance the stamping is done=20 by the MAC. Even if it isn't there's no difference between PHY and MAC in terms of quality. But there is a big difference between MAC/PHY and DMA which would both fall under NETDEV?