[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240402191842.66decfd3@kernel.org>
Date: Tue, 2 Apr 2024 19:18:42 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Rahul Rameshbabu <rrameshbabu@...dia.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, ahmed.zaki@...el.com,
aleksander.lobakin@...el.com, alexandre.torgue@...s.st.com, andrew@...n.ch,
cjubran@...dia.com, corbet@....net, davem@...emloft.net,
dtatulea@...dia.com, edumazet@...gle.com, gal@...dia.com,
hkallweit1@...il.com, jacob.e.keller@...el.com, jiri@...nulli.us,
joabreu@...opsys.com, justinstitt@...gle.com, kory.maincent@...tlin.com,
leon@...nel.org, liuhangbin@...il.com, maxime.chevallier@...tlin.com,
pabeni@...hat.com, paul.greenwalt@...el.com, przemyslaw.kitszel@...el.com,
rdunlap@...radead.org, richardcochran@...il.com, saeed@...nel.org,
tariqt@...dia.com, vadim.fedorenko@...ux.dev, vladimir.oltean@....com,
wojciech.drewek@...el.com
Subject: Re: [PATCH net-next v1 1/6] ethtool: add interface to read Tx
hardware timestamping statistics
On Tue, 2 Apr 2024 13:52:01 -0700 Rahul Rameshbabu wrote:
> +/**
> + * struct ethtool_ts_stats - HW timestamping statistics
> + * @tx_stats: struct group for TX HW timestamping
> + * @pkts: Number of packets successfully timestamped by the hardware.
> + * @lost: Number of hardware timestamping requests where the timestamping
> + * information from the hardware never arrived for submission with
> + * the skb.
> + * @err: Number of arbitrary timestamp generation error events that the
> + * hardware encountered, exclusive of @lost statistics. Cases such
> + * as resource exhaustion, unavailability, firmware errors, and
> + * detected illogical timestamp values not submitted with the skb
> + * are inclusive to this counter.
> + */
> +struct ethtool_ts_stats {
> + struct_group(tx_stats,
Doesn't seem like the group should be documented:
include/linux/ethtool.h:503: warning: Excess struct member 'tx_stats' description in 'ethtool_ts_stats'
--
pw-bot: cr
Powered by blists - more mailing lists