Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp81658rdd; Wed, 22 Nov 2023 09:56:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHy+8bz6yXmm4/lOlHcPDPqHrMWcsfqe62hAwGxy0z93ZldYqEqFtJp004rPJoGHMIIqKWc X-Received: by 2002:a05:6808:1587:b0:3b8:4762:1e7b with SMTP id t7-20020a056808158700b003b847621e7bmr410058oiw.24.1700675787109; Wed, 22 Nov 2023 09:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700675786; cv=none; d=google.com; s=arc-20160816; b=tQ9L8GtN9smfITU3IvdWOpM/cxuqJIExl684pwByDX36plD8eeysvHH+fnW1d6lXil KGuOGRbAHp2uuz4vGc5kA6iczDhJHVtOOcHhLjQK0ZYhec5wqciUm2Z3EzWhLdO37S5M k32iVcJYKW7+syasquQp0/HQiaoXRuIMWBtZGIRo2+TZbbTaCJj/CUumuq3401hrZEhz ViUQXcHkIgdUdNx+9ELkqjyJGiA5VO4D5vCKB4lPx5m00nngqI3zd97Kd1vgnsafE/II 7m15RQ3EJ3iw9v5hyVJ4sWQJwpTdYRNDBLfDh9ndjcGpnAc8HvCBxkrrV4/uqdGJqXkH qIhA== 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=NKrLhVxDSneYqBCgaVREfOa2yycpjhLMjCDFnhPnIpo=; fh=R5kBmJySSBdAH4m2RtTvd5gBSup+rk9XN+LvkgmMOaw=; b=n2Eori4EdVTwMiAe42CTeDOlW+vv2X1tnX18f1wMUdCAQUqzlTOjEB4PajaAnul558 N1rwMsFljGoa94lasm8ifVL04k1r+FUXKCloJn474n0sh/ZXB1svqTcCN3LYhmKg0qAW RReOXIcgLl1OiUPxr1MmKNPQPE4/JhnlKg18rPGPVECH6r2vT4O12sG0WQFV+rD7IaC2 4xeWFikyjIyhZG/5pYBifhMsLHvL7O454l2om3E2Jvj/0eadTVsmJD1ouc7cOosTx15b XJjXymQi7Clg487FYq8GLs1I9BiK152825yZ9q+Nycw76+fYz9ks93LmZLhuAJ30Fu7Q VbMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dOR2PKrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id b32-20020a631b20000000b005c24221b37esi7076253pgb.600.2023.11.22.09.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 09:56:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dOR2PKrT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id DCD4B808987F; Wed, 22 Nov 2023 09:55:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231652AbjKVRzg (ORCPT + 99 others); Wed, 22 Nov 2023 12:55:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjKVRzd (ORCPT ); Wed, 22 Nov 2023 12:55:33 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA761AB for ; Wed, 22 Nov 2023 09:55:28 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FD0EC433C9; Wed, 22 Nov 2023 17:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700675727; bh=NKrLhVxDSneYqBCgaVREfOa2yycpjhLMjCDFnhPnIpo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dOR2PKrTFmPPs9/0hWB9mt8n2ESvpeM8wedLTWtBwke6lEOhjDVyFWNHvwr2IK0aZ YgW3ENr0qW1JAdGvsdxaJYdSAPeMnVhVn57X7EEqN5yyx1jQbLeVTODDy1LtyHZYMM YlW07D5wXxGE9SYU1aJNMsckLmGb91ESFAjhaTsn40tiHiK22RQex/bbRZxOcQnGRi Bl7DNCE+4JG/7nTxehf5ML6n/+Kiqx6vLNSBQHnvirnmGt4uafJdfcfOfVRucczSj4 glznnW5TNdm61zY+kocAbaHsQbeSXSrJkeojrZL26mfQYWzd78x5z9SMRsJ0LKb98z z3jzNIaLyS+OQ== Date: Wed, 22 Nov 2023 09:55:25 -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: <20231122095525.1438eaa3@kernel.org> In-Reply-To: <20231122165955.tujcadked5bgqjet@skbuf> References: <20231120115839.74ee5492@kernel.org> <20231120211759.j5uvijsrgt2jqtwx@skbuf> <20231120133737.70dde657@kernel.org> <20231120220549.cvsz2ni3wj7mcukh@skbuf> <20231121183114.727fb6d7@kmaincent-XPS-13-7390> <20231121094354.635ee8cd@kernel.org> <20231122144453.5eb0382f@kmaincent-XPS-13-7390> <20231122140850.li2mvf6tpo3f2fhh@skbuf> <20231122143618.cqyb45po7bon2xzg@skbuf> <20231122085459.1601141e@kernel.org> <20231122165955.tujcadked5bgqjet@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 09:55:45 -0800 (PST) On Wed, 22 Nov 2023 18:59:55 +0200 Vladimir Oltean wrote: > I wouldn't be so sure. The alternative interpretation "for PTP, give me > timestamps from both sources" also sounds reasonable for the distant > future where that will be possible (with proper cmsg identification). > But I don't see how to distinguish the two - the filters, expressed in > these terms, would be the same. We can add an attribute that explicitly says that the configuration is only requesting one stamp. But feels like jumping the gun at this stage, given we have no other option to express there. > So the ptp4l source code would have to be modified to still work with > the same precision as before? I'm not seeing this through. We can do the opposite and add a socket flag which says "DMA is okay".