Subject: Re: [PATCH net-next 4/7] net: nexthop: Expose nexthop group stats to user space

From: Jakub Kicinski <[email-masked]>
Date: Tue, 27 Feb 2024 19:35:55 -0800

On Tue, 27 Feb 2024 19:17:29 +0100 Petr Machata wrote:
> +	NHA_GROUP_STATS_ENTRY_PAD = NHA_GROUP_STATS_ENTRY_UNSPEC,
> +
> +	/* u32; nexthop id of the nexthop group entry */
> +	NHA_GROUP_STATS_ENTRY_ID,
> +
> +	/* u64; number of packets forwarded via the nexthop group entry */
> +	NHA_GROUP_STATS_ENTRY_PACKETS,

auto-int, please - nla_put_uint() etc.
No need for the padding or guessing how big the value needs to be.