On 3/10/21 8:02 AM, Petr Machata wrote: > From: Ido Schimmel <ido...@nvidia.com> > > Add a function that can be called by device drivers to set "offload" or > "trap" indication on nexthop buckets following nexthop notifications and > other changes such as a neighbour becoming invalid. > > Signed-off-by: Ido Schimmel <ido...@nvidia.com> > Reviewed-by: Petr Machata <pe...@nvidia.com> > Signed-off-by: Petr Machata <pe...@nvidia.com> > --- > > Notes: > v1 (changes since RFC): > - u32 -> u16 for bucket counts / indices > > include/net/nexthop.h | 2 ++ > net/ipv4/nexthop.c | 34 ++++++++++++++++++++++++++++++++++ > 2 files changed, 36 insertions(+) >
Reviewed-by: David Ahern <dsah...@kernel.org>