Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1402975lql; Tue, 12 Mar 2024 16:55:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGOuCozvwUozqjYJLVA2mvxDf/sTbtqvAW0ibQWaCC8OXuZ/eXyBAEblpshxskZY2dujSWy0AlLmbEURmpqqdMaNekxbYntSVklh/wgQ== X-Google-Smtp-Source: AGHT+IH3hODtq36/96sCSbQ9DyRor8NYgherzWC7SCPIF97i5iTyVbiO388oAI53F+NB2fcVBUKJ X-Received: by 2002:a05:620a:66b:b0:788:8f49:b690 with SMTP id a11-20020a05620a066b00b007888f49b690mr1629076qkh.68.1710287755972; Tue, 12 Mar 2024 16:55:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710287755; cv=pass; d=google.com; s=arc-20160816; b=FC9XCMH3V2gtCYAuLp9Hk7w3sIoC4t8HolouLSRd2zGwUYBQjsrbq1sbKzjpNE/ukR iBmWWY6917M0/3pkdQmC8pvX73Jdc2onRh/8NYpa4rdcCeYMayEyID/UBMh2BuVABFNA XUtE9itEGfPTyMsL6ffBn9+2jQxJOhckpTn1fzIcyG3BLPXVjSJAIAX4H8+GD0ieCIk+ 2bOy/ZDncvz0slKR0+yZi/H4N0HmCzZDGa1b2z+qFgGl7VNannv4jcTXT+vKJQy+m4Tj v81D82OJwVWN8UYyfVFSnoaxvQglWiG4hHnwZvRaLmhk+wm4Wmli24gSfYwGc/pxbSB+ cN1g== 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=EsvJKDjgSckeIkG0RMbZ5yGtZZxopxkSgi27C70VNUY=; fh=V46wgF11vVOv71zhuLDLISq1d/+Bw5pvh++GK+Qb2js=; b=wnOEFeetfBeQ1HudUB/wWP8YupG4iwaMMUsumJtUWRX5q25uMR59MT/JuFVqO0JpFN /CXLCkaTn+0uPmRxWC3F7NVjqLYrui0uYIUpk0zMBvj2SQfkOyO6v2rHIOo9K4p/1aiL qUVF5A43LkINen+Bm+dE4Q7Xu/9gg84wH54oGv3AQVzA0E6wiTZSOhPq5ok9jZ/g2dsK WRQ2Pmid644lYO7AGA24nBzu/zV6+xlLwSvy3e6qPvQWOJZhEeFaaVw0ENGGsuIek5rR QsqHGG6pVtPWZ9EbkngXaGb1C8DKcX0wOixTYA4MnSZTCT0Lew3Mievy7DW4FnbBNClD XfNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K7uFle32; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100946-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bk4-20020a05620a1a0400b007882d1c71e3si8831683qkb.279.2024.03.12.16.55.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 16:55:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K7uFle32; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100946-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AE59C1C21B37 for ; Tue, 12 Mar 2024 23:55:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73C1D4CB2B; Tue, 12 Mar 2024 23:55:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K7uFle32" 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 9709047796; Tue, 12 Mar 2024 23:55:47 +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=1710287747; cv=none; b=FjCa1m2/1KenSyhtjZPrXfdHwDhg1lT8cmuXNYlmithJJWgo/s0SGkZe+oofzKXrayKr88+jvmarToOdOKp/EiSzRgE9GvG3s3anZflgbDvtANoanXEZbQ7BRcC1ppUapFQ6Tt2FkSr8b+KdLCE5TXac5xj/fsB+EJj5ihqc0Ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710287747; c=relaxed/simple; bh=lWVOaAa1PbN4cR2qaaPG+mAy5NHELjQFGPdecwhzW0w=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WlnFRgDs0R4x6tGIhZigBlw+GMI5T8JMcWyL0QIGq+IzeelyVMoq2eiwqIta0kIc6kSMvvPO4Bo07NJJX8v1o7gc1RMFbu051qdKnNThm/mMp/yRwCw2l0mwyL9dd12fGT956j6S8mKeUzL52cTiJ1+Xom9SKWz4DuZNcFpwigs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K7uFle32; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC5DEC433C7; Tue, 12 Mar 2024 23:55:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710287747; bh=lWVOaAa1PbN4cR2qaaPG+mAy5NHELjQFGPdecwhzW0w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=K7uFle32iOGRXQBVt6IXGvExopg5GE2QahRWr0HC7sCN0DLj2W1D0+khFeKVybwtw eQnOur50Hze75Sv2WyebymAWUcAotmIN+0c3LLAUJGL4whO4gXgqhByOJhTILmRh2w AfzVhCafu83fa/EZ0gfUwPyApbCxPIOfN6fKiR+MBYM61vde6Pk78QPKOJOX2Ox22v /MQMg/05/FOXqZUWjsL8Tc6zk79akPY2fzHRgrrX1XXJQUsYhBpYBeQlVpL+nXp96p xNdtEtci5vOmi+F6tSj9c37fkJ5QPm8ptLgPiWWI1pElWDlVUMo5mBc0mUrL29bPcM zMPc7O39yv5lg== Date: Tue, 12 Mar 2024 16:55:44 -0700 From: Jakub Kicinski To: Rahul Rameshbabu Cc: ahmed.zaki@intel.com, aleksander.lobakin@intel.com, alexandre.torgue@foss.st.com, andrew@lunn.ch, corbet@lwn.net, davem@davemloft.net, dtatulea@nvidia.com, edumazet@google.com, gal@nvidia.com, hkallweit1@gmail.com, jacob.e.keller@intel.com, jiri@resnulli.us, joabreu@synopsys.com, justinstitt@google.com, kory.maincent@bootlin.com, leon@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, liuhangbin@gmail.com, maxime.chevallier@bootlin.com, netdev@vger.kernel.org, pabeni@redhat.com, paul.greenwalt@intel.com, przemyslaw.kitszel@intel.com, rdunlap@infradead.org, richardcochran@gmail.com, saeed@kernel.org, tariqt@nvidia.com, vadim.fedorenko@linux.dev, vladimir.oltean@nxp.com, wojciech.drewek@intel.com Subject: Re: [PATCH RFC v2 6/6] tools: ynl: ethtool.py: Output timestamping statistics from tsinfo-get operation Message-ID: <20240312165544.75ced7e1@kernel.org> In-Reply-To: <20240309084440.299358-7-rrameshbabu@nvidia.com> References: <20240223192658.45893-1-rrameshbabu@nvidia.com> <20240309084440.299358-1-rrameshbabu@nvidia.com> <20240309084440.299358-7-rrameshbabu@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 Sat, 9 Mar 2024 00:44:40 -0800 Rahul Rameshbabu wrote: > + req = { > + 'header': { > + 'flags': 1 << 2, > + }, > + } You should be able to use the name of the flag instead of the raw value. Jiri added that recently, IIRC.