Subject: Re: [PATCH net-next 04/14] nexthop: Add netlink defines and enumerators for resilient NH groups

From: Petr Machata <[email-masked]>
Date: Thu, 11 Mar 2021 16:45:02 +0100

David Ahern <[email-masked]> writes:

> On 3/10/21 8:02 AM, Petr Machata wrote:
>> diff --git a/include/uapi/linux/nexthop.h b/include/uapi/linux/nexthop.h
>> index 2d4a1e784cf0..8efebf3cb9c7 100644
>> --- a/include/uapi/linux/nexthop.h
>> +++ b/include/uapi/linux/nexthop.h
>> @@ -22,6 +22,7 @@ struct nexthop_grp {
>>  
>>  enum {
>>  	NEXTHOP_GRP_TYPE_MPATH,  /* default type if not specified */
>
> Update the above comment that it is for legacy, hash based multipath.

Maybe this would make sense?

	NEXTHOP_GRP_TYPE_MPATH,  /* hash-threshold nexthop group */