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

From: Petr Machata <[email-masked]>
Date: Fri, 1 Mar 2024 18:17:28 +0100

David Ahern <[email-masked]> writes:

> On 2/29/24 11:16 AM, Petr Machata wrote:
>> +enum {
>> +	NHA_GROUP_STATS_ENTRY_UNSPEC,
>> +
>> +	/* u32; nexthop id of the nexthop group entry */
>> +	NHA_GROUP_STATS_ENTRY_ID,
>> +
>> +	/* uint; number of packets forwarded via the nexthop group entry */
>
> why not make it a u64?

uint will store it as 32-bit if possible and as 64-bit if necessary.