Re: [PATCH net-next 05/12] nexthop: Use enum to encode notification type

2021-01-28 Thread David Ahern
On 1/28/21 5:49 AM, Petr Machata wrote: > From: Ido Schimmel > > Currently there are only two types of in-kernel nexthop notification. > The two are distinguished by the 'is_grp' boolean field in 'struct > nh_notifier_info'. > > As more notification types are introduced for more next-hop group t

[PATCH net-next 05/12] nexthop: Use enum to encode notification type

2021-01-28 Thread Petr Machata
From: Ido Schimmel Currently there are only two types of in-kernel nexthop notification. The two are distinguished by the 'is_grp' boolean field in 'struct nh_notifier_info'. As more notification types are introduced for more next-hop group types, a boolean is not an easily extensible interface.