Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1371203pxb; Fri, 21 Jan 2022 16:48:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4+rRQz1vvisabGQPxSJBXFRxxOnWRUIzofHfqrccng88/mCRj900TZPcELvqVjWDrkxE2 X-Received: by 2002:a17:902:b681:b0:14a:9cc:d9a3 with SMTP id c1-20020a170902b68100b0014a09ccd9a3mr6161027pls.121.1642812507946; Fri, 21 Jan 2022 16:48:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642812507; cv=none; d=google.com; s=arc-20160816; b=J2MXRARDLZA8uVuzkEL51xZd3CbvVdlyGj3TwVIez1PeY0haaZEbZzWMBE0Ce901Y6 GwoVxFa1Wyr4JMvw8PNQfM1VLpc/3E/6QQXQmyAOIV+ZUjYbOlrDGe3gXyZ/tvNLTjMl 8ScoM2lEuAafTQZl0fuhaqd6RqNY7kIJ+ZYd2jpYfHxGgseuxRRXzUkx3ANiGJwiMT9t ZB6+4WYgoRHGpM2cTtyQUdhPfNO7dmlbyky77fzKynV1Z9nXCJbBMPZdO+GfeG+VRTkO OTY0WAumfOrVQ8RhWYYEwgAhJpYtnk+v35ljBpkx4NAUIcODgtkZJCK2uejN64fJ+FnL gb6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=KLRb5xJzxFHLcKrBvp3pfZFjXpfTPsBPVrCH8A4ssKQ=; b=qwLuVDPrWtb2VqLEC+Rk1DvxQYy+RUgwZhQ7Zw5FKMkOoEcsaffc+LOLtElGaDWD3R bcCrPKv0l/scLVaIVe0Jah/dYLQ0nh6s+856ksh3J3fzAWr0yWuqLDSvr6PfKd15zcF1 6MZcFfIA74uMh6Nlqu274VBmEWR4sE8qwgzPhATs4S0/f/ns/dnGYM2xhvOCb+y15nxA buXZX/siDRl204Lqgc2mjZlYYP/S1SS0VcHuWDtw5etl1sGjbU+FSKj3LdvHfTKEckYU PEdazKBnABiMMSw3HSjjMfsECBdzhEU4qVfrclfG5aNWLJ7eRkWksZEGi6VeGPkMi/1O ABWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WMIAymUV; dkim=neutral (no key) header.i=@linutronix.de header.b=hai56KVH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x184si6621079pgb.676.2022.01.21.16.48.16; Fri, 21 Jan 2022 16:48:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WMIAymUV; dkim=neutral (no key) header.i=@linutronix.de header.b=hai56KVH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380070AbiAULFj (ORCPT + 99 others); Fri, 21 Jan 2022 06:05:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344558AbiAULFa (ORCPT ); Fri, 21 Jan 2022 06:05:30 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A0F8C061574; Fri, 21 Jan 2022 03:05:29 -0800 (PST) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1642763125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KLRb5xJzxFHLcKrBvp3pfZFjXpfTPsBPVrCH8A4ssKQ=; b=WMIAymUVUlW+QGDaJKyPk7zXwOg4W9DCQaubrp3qkApyAy4Ib1qKwE3RPxEsuXORfVqR1A VmMli3PG4MeMlC6JA82dL9dpb92TVEPFmnIiSEpxaKxZUdBmBPjr76MYHzn5JwXRn9iJ52 80cTeLfuhGMWbZBu/n3JqaFuPq9VCVfQIXrh2939eKn9eMQjGaxFhUmLfVLFxYQJfT6AsX Wzkt0ELvfmAZDb/J8zEHGWmT76sOfsmuBn7FfSZjVw32QupBQvc3nWigmySKZ98YFerzNr mlqbeL0k+J6e9VlVzE88CN30syYVkZSrsbbO4DBKQJy+ZO+dx237bY3/ban6/Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1642763125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KLRb5xJzxFHLcKrBvp3pfZFjXpfTPsBPVrCH8A4ssKQ=; b=hai56KVHQp0sdmHQ3qGVI7hz0hOa0XMbxW4Id/UYxjFq/w+zx4lUl1WJRPGKX3slCqsB+G /BlZSGOSzG1s0ODA== To: Vladimir Oltean , Richard Cochran Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Andrew Lunn , David Miller , Grygorii Strashko , Jakub Kicinski , Joakim Zhang , Miroslav Lichvar , Russell King Subject: Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable. In-Reply-To: <20220120164832.xdebp5vykib6h6dp@skbuf> References: <20220103232555.19791-4-richardcochran@gmail.com> <20220120164832.xdebp5vykib6h6dp@skbuf> Date: Fri, 21 Jan 2022 12:05:22 +0100 Message-ID: <878rv9nybx.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu Jan 20 2022, Vladimir Oltean wrote: > Hi Richard, > > On Mon, Jan 03, 2022 at 03:25:54PM -0800, Richard Cochran wrote: >> Make the sysfs knob writable, and add checks in the ioctl and time >> stamping paths to respect the currently selected time stamping layer. >>=20 >> Signed-off-by: Richard Cochran >> --- > > Could we think of a more flexible solution? Your proposal would not > allow a packet to have multiple hwtstamps, and maybe that would be > interesting for some use cases (hardware testing, mostly). One use case i can think of for having multiple hwtimestamps per packet is crosstimestamping. Some devices such as hellcreek have multiple PHCs and allow generation of such crosstimestamps. Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmHqk3ITHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzgj2KD/9xKPSjG5Meu41W5JxlbxJLt1P33xMi rmjhsYUDUpzWRCZIJchOiuPuCQ1a3EmYyRrPiGkpRXbdSL93+YE/05/G+3Cmz9Tc EFJ23F74NfdEP+ubg8l8X0qtO9ePielMkevfD/gSsbutQvZGWQbA6U8efhAnN5D7 Cf6edCE7YTDnrE+aiDKJz1JImn1KRFs/+Wd92+a6my0Kdln4yNWYTGqZvLqkEIns mPwlXzz/kVsYv4KgkPjbBtzbdBgEEZ34w2YHt02Euft0Gvo+6kPppjMOmhyTxt0F pIv1u0NQUUVNpL4d0ns5qCjJXR1z1Htzm9qMzWZAcVdd++ndiqDJPZEHTXfHcvfp NGCL4ZGzLHK8XHAOA6/VCB5F5//Il1riFZgDGt0reXyGin0m/Vo+IDctbHzCHRcL kF4DiFenXcm2WtJT5onROZahheBf6WXS5x50B/ELRaFlsM5M/3hDAfCUImyPGoXu AIcHsmLRr/e7kRbhzlOqeKZ9EQKkwxZiCm22fSJMaE1MO6bIP0NpCeMIs62lF1p7 MspFfQVYNSmT4R5r0d32LSCyfGnTf2vqNIXzYrupaYwY07PsgmWFomgtdyJ5/zr1 kmVcpVPFkxKrWOncDRsCHyxgaMb3sPsS4v8NGIihyCK4APqJXwMDBvg1SU4zIibx pssz8CYN6Hm10w== =CBRU -----END PGP SIGNATURE----- --=-=-=--