Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EA83C64EC4 for ; Fri, 3 Mar 2023 23:52:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbjCCXwX (ORCPT ); Fri, 3 Mar 2023 18:52:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbjCCXwV (ORCPT ); Fri, 3 Mar 2023 18:52:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0821865479; Fri, 3 Mar 2023 15:52:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5DA8D618CB; Fri, 3 Mar 2023 23:52:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A3CEC433EF; Fri, 3 Mar 2023 23:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677887539; bh=Jmrj/iKDWzzgD7xtWeQj8EIfUptfnvPqo2teGdKzKow=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UAdmfVRSyMphUcN/oGDQZpdzQoo49H1qhPSvZXnpGTepleb0CK1Szk218GYcac3AV fwScos3/CK/ZwY353yRQaLzybIkaa+vIUQaR0GSyR9BSxKvooFw8RVsve4sKzdvUmn +i86fL+8DND7SOvOmm1BUKp0nx92TwOOG7JCE6GpAoMcZ8N3d5p+sQUaOo7DcDy/cZ WIaikb0gQ/YSqs/7xsv3fVU0HcQEwZcrQRAhmMtz4rH07oHByLt6G9FoYa7GjsrNWR veD1aErQxmmhI37+Q+yaHRQcsdQtdhFGAU0FIG7QOiWIuHiQ3NQvfvq9KvKNZz9Z4h W/t+Bn26hexSA== Date: Fri, 3 Mar 2023 15:52:17 -0800 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-omap@vger.kernel.org, Michael Walle , Richard Cochran , thomas.petazzoni@bootlin.com, Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Eric Dumazet , Paolo Abeni , Joakim Zhang , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Grygorii Strashko , Andrew Lunn , Heiner Kallweit , Russell King , Minghao Chi , Guangbin Huang , Jie Wang , Wolfram Sang , Sven Eckelmann , Wang Yufen , Oleksij Rempel , Alexandru Tachici Subject: Re: [PATCH v2 2/4] net: Expose available time stamping layers to user space. Message-ID: <20230303155217.012337b8@kernel.org> In-Reply-To: <20230303164248.499286-3-kory.maincent@bootlin.com> References: <20230303164248.499286-1-kory.maincent@bootlin.com> <20230303164248.499286-3-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Mar 2023 17:42:39 +0100 K=C3=B6ry Maincent wrote: > Time stamping on network packets may happen either in the MAC or in > the PHY, but not both. In preparation for making the choice > selectable, expose both the current and available layers via sysfs. Ethtool, please, no sysfs.