Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp208361rbe; Wed, 28 Feb 2024 18:09:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWyo/movhigHVB3Twco26Ot5rwmc0YdxmcMx+Wo7oCj1gsMNmpn7W1SP0OdgdyNydf/0k87U/VB03j1bFAnPDeAo/qv8+/RqjmEnc33yw== X-Google-Smtp-Source: AGHT+IGSZ7qAdxs1tPVXOYMdh+50mjHuYy0zv179xGVpVIrV9vCHJR4KxFRgc0T59O1WNepW6mSf X-Received: by 2002:a05:6a20:558f:b0:1a1:1161:af86 with SMTP id kk15-20020a056a20558f00b001a11161af86mr849575pzb.21.1709172550165; Wed, 28 Feb 2024 18:09:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709172550; cv=pass; d=google.com; s=arc-20160816; b=aQf0DUbgDxq2Xp+3R3pt2RnEcQUM+yJZQKS6A5FoPPymg++hgIa96h/37bN1c/BfIV yUprTn/At815cUFrzYe5/Itwrx3kSuafSadXne8jqa10sz+hbU4DBXqXWgTm+w5cJVJG 62XeZoGU1zAeHUfXi6jkLzm3lw/PhB+Mtgc57dCmjzIK64gmNSfBxaKnDrqrVGaoMSwk xgFpFZWYWuLC88zqLIvdFgOAU0ZYD50mSKCLaLfAVYhWpn84IrbXdTT/NZPBujRQlSPs zQGDquGdhZvQEvRY5ZXpoI2KGZ/wqAqM3/j9/iRhRxXmyVNVfqKfA+Wkotr6H6sfQ3yW wLtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=sq0phy4iuo5IpdkIIXUzUPsgH9Su7zFWmJP0ylcTmGo=; fh=UOYmdn7Vvt6S26agLj5xmcbMH1LTEli/d69neLCTFuE=; b=eHLB7TE2byqkYehLZEnqmS0deR84a5m4BKaWUA+lNbkwZkEVwMaNow/G5sWBEuGHBC pMy5rq5MdoHMRemkKxLwk54D2EjhNmtRROsGXSiStDN5FhVlwpMud+pJFTbSk41UXnXC NLc/wklxE/aNcctP1LuLXFXVg/nrjutWnV/Opcm9j/L0GD7KSxs6fce1CikCrcg/C4pw 9Ysl/KM0SiKpRhrfw5ut/wJX4e8N3cUjEXaUgneSkWKx4LRBfPd5NR6e1z/uY3GwNnOS sJtMqQkX4NA0jEQnKHKmJE/JpT8W3WnaH39uBeEeQCbOytuyOv2XozaWaq9TnBsz6A8C 59ag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g0MHKAcv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id oh15-20020a17090b3a4f00b00298aaff9c2esi490823pjb.47.2024.02.28.18.09.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 18:09:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g0MHKAcv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D62B62887DC for ; Thu, 29 Feb 2024 02:09:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C362C36B00; Thu, 29 Feb 2024 02:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g0MHKAcv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E692C13D2F5; Thu, 29 Feb 2024 02:09:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172542; cv=none; b=VWYmOu4QHygaddk7+X6RNcMQeQOepehq68A2/znx4wFzJpiIW01hLiv+8SZlhO9tXhOt1ITJ+KS5db/9RNCttVfnE/3iOGOCVVe9HV17XfdrrByZFZpUj9Utp5na5G2RHDPRSPjctRMOto1N3ozQCQrSQUEDSFpc6Vytndg1mGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709172542; c=relaxed/simple; bh=sq0phy4iuo5IpdkIIXUzUPsgH9Su7zFWmJP0ylcTmGo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sa4cDRC2Sjua24dt9Sb0PuJD8UQaVJMqPFbAxVqasqg6Njd1mKRNracEJDuKWCjLpz5H9lbLPsQ88lDLgen7VmacwCSbYwtagpFLAFdAkLEciIK6a1vjR7XNrc1W1lXnpCX4p6DkValYDX0IQaZbp6POyuPaNf6uGiWTMeMLKuQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g0MHKAcv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84E0FC433C7; Thu, 29 Feb 2024 02:09:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709172541; bh=sq0phy4iuo5IpdkIIXUzUPsgH9Su7zFWmJP0ylcTmGo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g0MHKAcvPLTcv9FmGAqOvCO4gP7LuD6fdt88S8HmsV8zOcBD6CjwSCi6r/8rz2EyS MvR5jndo5mBLy7nETDDKnN+nPtVjoBzC/gspjfjKEqNf5Ib1v8En87Urw92iAupJp9 vN+SgUg4NuG1oZDBDnZIch3xCav5TpffSzFZbYw5vWTmrfwBMXqfTxT/ZGGfKhLJlF ha7QSf7nVkqg9HVuHgYkY8eV0qKMhlucG/Z/Uj8I2GF1A+hL1jSa7S0dnCo7O9MnRq p0qNb6SnEak3d0Hvg9np3gYSauycg4py3IIUdohpjdCOazZmOAyMiZfYhzVLAMPyFs 2pc5bJ82SMaqw== Date: Wed, 28 Feb 2024 18:08:59 -0800 From: Jakub Kicinski To: Rahul Rameshbabu Cc: Jacob Keller , Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Richard Cochran , Tariq Toukan , Gal Pressman , Vadim Fedorenko , Andrew Lunn , Heiner Kallweit , Przemek Kitszel , Ahmed Zaki , Alexander Lobakin , Hangbin Liu , Paul Greenwalt , Justin Stitt , Randy Dunlap , Maxime Chevallier , Kory Maincent , Wojciech Drewek , Vladimir Oltean , Jiri Pirko , Alexandre Torgue , Jose Abreu , Dragos Tatulea , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH RFC net-next v1 5/6] tools: ynl: ethtool.py: Make tool invokable from any CWD Message-ID: <20240228180859.5ff8d7e2@kernel.org> In-Reply-To: <87y1bavm50.fsf@nvidia.com> References: <20240223192658.45893-1-rrameshbabu@nvidia.com> <20240223192658.45893-6-rrameshbabu@nvidia.com> <6e0a725f-3bd8-4e14-afda-860f1e4c1dc5@intel.com> <87y1bavm50.fsf@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 23 Feb 2024 14:39:07 -0800 Rahul Rameshbabu wrote: > Unfortunately, even though in the next patch after this one where I add > the ts stats group as a comment, the tool seems to fail at rendering the > actual counters of the stats group, so I had to use the ethtool tree to > test. I should look into that, so that way other contributors such as > Intel can simply use this script to test that they hooked into the > ethtool ts stats interface correctly. IIRC some attribute nesting in ETHTOOL_MSG_STATS_GET is too "creative" for the YAML specs. Using the ETHTOOL_FLAG_STATS path should avoid this problem.