Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2396596rdb; Mon, 20 Nov 2023 09:38:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGx9pOZIjPj+Dt8BXhcbmoqyau73p/UmyvZxLw3eTp/m46/h1zE0lBuYgBvYtjr6LZ4qxXm X-Received: by 2002:a17:90b:3014:b0:27d:8ad:c4e1 with SMTP id hg20-20020a17090b301400b0027d08adc4e1mr8908935pjb.19.1700501911197; Mon, 20 Nov 2023 09:38:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700501911; cv=none; d=google.com; s=arc-20160816; b=YTVN8TAg30MalHyMraHQbAoU1wTPukW1NiWwBorb8ouUZ8jw85pXSEjoMxO2lnyCD8 R9GETeEAk2L+8lyMxtRgsr1QggJ5JNmc0HNVU6M8iC6qgNeBnm35ctTsVK0cCbmq31IG Ov5P8eLs6+3TWY+ZqEJX1/X4f7XxecWfEBz+677yhrwAXTBAtmqQKLyfQBB9X5v/ru7Q S78bdo2qKNnnDVW9FU1ubCIDA41u2UMQyLWENmW3OKCLh0LCK+1t/aPLRDDrCFarduK9 wYYahnJ+VO3aZzWl4uLjZDmr4fwSFUGRxRwP4DRiEZ2JGVSdM/xD3f7gLlzcYpOt5kzM xayA== 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=XvOTh/srznUoYLM2WTLAm4UhF2NlkB1XPEDQdf6C4e4=; fh=R5kBmJySSBdAH4m2RtTvd5gBSup+rk9XN+LvkgmMOaw=; b=WsHmk7FT5kMiR4eeO2kUpxKHHrcjIrf/1x2b4zp8WRc1uXJZE15imVW+B/G0DkZTC0 U4FSWNemJmrYNtcpRZeqY7ffpsDX+VpID3MTK+/nz7fiVAyqYzN06LMipnsJLM7rj1E0 jRj5Skkh16nIlQ54g8hvQCKp+TM8IhbUrM9U0YDSdXt4A1hO+hfK0xoYb+hpPoYXzMib aVGFCRNG2CCMf8wZsM3Kqyyi6lmhtoQimxdB5Fr9tjNT244aWNHV0uK4WXBQ/tHk+0cx ZQ7aBAvp0qk/mpkVsczWp8QaqP4PNxNrXzuY7qYm1QRtaJWQ/reWtpS+TAtUQL5KGaBV hs/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWYJ+uOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t186-20020a6381c3000000b005b7e3ee181fsi8288408pgd.642.2023.11.20.09.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 09:38:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWYJ+uOe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 2F46980774BB; Mon, 20 Nov 2023 09:38:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234168AbjKTRhn (ORCPT + 99 others); Mon, 20 Nov 2023 12:37:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234165AbjKTRh2 (ORCPT ); Mon, 20 Nov 2023 12:37:28 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CD27D72 for ; Mon, 20 Nov 2023 09:37:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03177C433C7; Mon, 20 Nov 2023 17:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700501845; bh=XvOTh/srznUoYLM2WTLAm4UhF2NlkB1XPEDQdf6C4e4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cWYJ+uOejmw8gg1t2I8ApTuyaqhsivYgHsBvw6o3HRH46GT6iidi3lTR67y12NTZ3 iHXYozPX0WYk8oyXSHgElpYNjrslFH7odgRpXZkfOrXlzsfiVtjCjpQDIt47hnSCuF wPL9LrGmx5d751IlqTe3/jtJ5Nw33Vqfo0V5LiCunVh+ghg2rvkYLB3/3ujG82R938 CrHaXX7cIsYxXt+9wxFnzGrB9WS56eFVhC3vxf861CgZQJG/HbGwWZwL2o7tWiY1aI qHlyvxFPSViN4/xZCXrsbx/2GcNJpZaeM8yMX+VfO+kCYKc/LIZYDIB1qqTbkjN26l 6146cd+NGxtxA== Date: Mon, 20 Nov 2023 09:37:23 -0800 From: Jakub Kicinski To: Vladimir Oltean Cc: =?UTF-8?B?S8O2cnk=?= Maincent , 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 , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier Subject: Re: [PATCH net-next v7 15/16] net: ethtool: ts: Let the active time stamping layer be selectable Message-ID: <20231120093723.4d88fb2a@kernel.org> In-Reply-To: <20231120142316.d2emoaqeej2pg4s3@skbuf> References: <20231114-feature_ptp_netnext-v7-0-472e77951e40@bootlin.com> <20231114-feature_ptp_netnext-v7-15-472e77951e40@bootlin.com> <20231118183433.30ca1d1a@kernel.org> <20231120104439.15bfdd09@kmaincent-XPS-13-7390> <20231120105255.cgbart5amkg4efaz@skbuf> <20231120121440.3274d44c@kmaincent-XPS-13-7390> <20231120120601.ondrhbkqpnaozl2q@skbuf> <20231120144929.3375317e@kmaincent-XPS-13-7390> <20231120142316.d2emoaqeej2pg4s3@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 09:38:28 -0800 (PST) On Mon, 20 Nov 2023 16:23:16 +0200 Vladimir Oltean wrote: > In previous email discussions, I was proposing to Jakub and you "what if > we didn't let user space select a specific layer like PHY_TIMESTAMPING > or MAC_TIMESTAMPING at all, but just select a specific phc_index as the > provider of hardware timestamps"? What about my use case of having a NIC which can stamp at a low rate at the PHY (for PTP) and high rate at the DMA block (for congestion control)? Both stamp points have the same PHC index.