Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2534271rdg; Mon, 16 Oct 2023 07:22:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGU6aqorTaXlPvceo1C83WER3SseREDaVu0orjjs3X4EQePOJB7AwkJ1BFWQzuYq3pDMS6X X-Received: by 2002:a05:6870:2b04:b0:1ea:7470:a15c with SMTP id ld4-20020a0568702b0400b001ea7470a15cmr519428oab.15.1697466146416; Mon, 16 Oct 2023 07:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697466146; cv=none; d=google.com; s=arc-20160816; b=t2Nodr2GjXe/cLrjcYqCj7pzc8VeizAS2uzNgZVjojHgGZ5ILPg2V1UzFruhUtqD7e thoO9Uf0PiixgRdjbJ18/Qa4IyazlKE2cl+nx5SCcKTIZkiW1KqLa1JZQBWV6TxphDcm CpMMPVS0JpR2gmji3r7i02K/Qy7/zFX1dopK5D7XywkIB5KJ0MFjGTuTXDTcPjrzhLQ7 o0mGG/PAa6yh6SFHLE/zx8BsqqADZ8HKIW4yq6Fn+1/W1qG90Ppn4rApKOd3qoBpD4OV NkrWaKt7MUsS70YgPsyyI6kitZcTPnvtyvc746HOKtRToPyz2vHdU5QRLG/ogyoyZdNR /6Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7ut8R7I0LgKdNiZkpraTHOG9TpuCMcSaL//bQFLc0+U=; fh=XxyL1YgQZIJ7RHzZjvuIj0NuuyJjUDOxO2YlN4b07X8=; b=IO3sO5X7Uv09ETdTJTgBgQ7m+zmfoT1iMwYBqdGQxBZHfMbTlkJ8u1OBcvyeETHPfA UcpIpTgHSUOUPjnVa72u2YjPzkvcPmPWQeMYTyB850jJAgZv/n4N5CGiTT1/rYsUD3C0 jWQKGJGrBdgTf08yrerL8XdX8IzoiTUc5xra7AK5wLipoOPZ3qg0IcwUZrxnHp6/TkUh tXhFiDW+u8xw/I0ooK1zNN3O/6R0DxzGkj5eYoY9FjPTaNzM1uMjA0Hrx9t0e7R6IjHN kDUUSffEcLnorDTCLRPt8DUY7UttKAmgQYZcgov8FPBL47dGMjgTWJi41P4aJw0DCrE3 MKtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="P/dLmVoN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id h11-20020a63c00b000000b0059cd78384fdsi10524062pgg.222.2023.10.16.07.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 07:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="P/dLmVoN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C342E80ACFCE; Mon, 16 Oct 2023 07:22:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233736AbjJPOWJ (ORCPT + 99 others); Mon, 16 Oct 2023 10:22:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233706AbjJPOWI (ORCPT ); Mon, 16 Oct 2023 10:22:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 923489B for ; Mon, 16 Oct 2023 07:22:07 -0700 (PDT) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 07:22:18 -0700 (PDT) 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?