Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2370804rdb; Tue, 10 Oct 2023 01:41:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYzqAWajcl0iPhkTGXB4SWtRpUOjzeWXmtq5uiS4afTrdrKKVBW/sE1Q4GO8tPat5Zhlt3 X-Received: by 2002:a05:6358:e49f:b0:143:9827:5f71 with SMTP id by31-20020a056358e49f00b0014398275f71mr19567102rwb.8.1696927288869; Tue, 10 Oct 2023 01:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696927288; cv=none; d=google.com; s=arc-20160816; b=JOX9YmIWzcoNIeV/S5DfdO1dSIB/NteytFfpi8iKFutU89vBcyiwS3/nn5JiU8feoV iAYht1Y3rjvq3wmKW29x3LflqJXmt0esuhAS/M6p7TiDYnr8uIKcIYMD86kxxT0WAkkB K/gKSF6T88+tWAjqfqs1PzyfPnDgFosiHmcXPbtYV0wAvPs012YVx4iY7dx7sSsieQ5E WWNvRUruwULWM/8pXeVTUEBKHHdDYVZhY83lumx5xCbBhCergcyd9btqnFWlYMFGW0vv 3ljfma7DRvRmo5Jzg0A00k1Ztz0EBrxOFTfC2cHA5+OueDhHZ/4xWAR008oumDajaxUY ACsQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=wK4zIFPqfurxMkHf6VB6s+SlOkIyziORUxbFuzfwqTs=; fh=PrOY+0Fdi7WSArmkeVx/sQtQUUouEI/a3WZfuZaSavY=; b=Labmwu5yVopcGlpyrI4WDZrK7f8wHEtIT/gX7PGzCwBaP8QCosoXBOiUIyLVPX98Wy 3UHC4O+3KdNFk15TiJUXUASjtL5vZalgS+0vguyUiX4nyfsIOtsw+7nNV3JqU/7FcvG/ hjOSMbcqhBAt1KcwNYz8Llw25E5vWhB/ORRdqRwcmVr4OLe9Z76XoJAku0L1Gy9XecaD ngc4bRT/jK2qKO/gRB2haV/R3KMQN6QXLcwXWPqS3cptCUk2mEjIhIWiG9E8i6lAqWhH YlxHoF3VsyKa7ryC9RdrwhHVhQ5fm+LOY9l5RDcU9iGWxbGHx3lGs/DnBYM4B/ZNUS3c iwHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ivbCgZR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id z14-20020a63190e000000b0057828b85afdsi11070552pgl.795.2023.10.10.01.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 01:41:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ivbCgZR6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9057C802D203; Tue, 10 Oct 2023 01:41:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229816AbjJJIlH (ORCPT + 99 others); Tue, 10 Oct 2023 04:41:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjJJIlA (ORCPT ); Tue, 10 Oct 2023 04:41:00 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A8DB0; Tue, 10 Oct 2023 01:40:58 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 566BA60015; Tue, 10 Oct 2023 08:40:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696927256; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wK4zIFPqfurxMkHf6VB6s+SlOkIyziORUxbFuzfwqTs=; b=ivbCgZR6obEsPfq2D5fylfPAo4F37C9TLOps9qaTjvpHeQZNGrpcx/HYSQiaFRa9xt82T1 +fCve+epducw5Df/xmMDoytnpOsW1SyDtog5ZgQIE/y7mLjBtVN22QRwn0DtScTGHhdEV0 kabf6eU7KDOEmVjBqMCmo0Mu0tTAZ0VKtb47JEGsBBmn4UV9ywQXjelp7hjKjTHVB5UJ9u 6isfpc/N5uNsqwujTpLdia7vf7e//NQP1hFO/AQfcWmBt9Jcg/okkB7l4r2znCnMkIa0kH j16fMxKy7NrsUcLBSCk5MeK7FZel5WYph7OMkEDszWSEvWpdekCxkf/dB6x0bA== Date: Tue, 10 Oct 2023 10:40:49 +0200 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Florian Fainelli Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Thomas Petazzoni , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Horatiu Vultur , UNGLinuxDriver@microchip.com, Broadcom internal kernel review list , Andrew Lunn , 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 09/16] netlink: specs: Introduce new netlink command to get current timestamp Message-ID: <20231010104049.1cbff3f8@kmaincent-XPS-13-7390> In-Reply-To: References: <20231009155138.86458-1-kory.maincent@bootlin.com> <20231009155138.86458-10-kory.maincent@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 10 Oct 2023 01:41:25 -0700 (PDT) X-Spam-Level: ** On Mon, 9 Oct 2023 14:21:42 -0700 Florian Fainelli wrote: > On 10/9/23 08:51, K=C3=B6ry Maincent wrote: > > From: Kory Maincent > >=20 > > Add a new commands allowing to get the current time stamping on a > > netdevice's link. > >=20 > > Example usage : > > ./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema --do ts-get \ > > --json '{"header":{"dev-name":"eth0"}}' > > {'header': {'dev-index': 3, 'dev-name': 'eth0'}, 'ts-layer': 1} > >=20 > > Signed-off-by: Kory Maincent =20 >=20 > This is small enough you could probably fold this patch into patch 8. I like having it separate. Indeed the ynl tool does not have a proper usage documentation. I took quite some times to me to understand how use it especially with bitset. Using the commit messages to add examples like that would have help me a lot in the process. I could also squash the example in the previous commit message but then it become more noisy. What do you think?