netdevsim: Create a helper for setting nexthop hardware flags
authorIdo Schimmel <idosch@nvidia.com>
Fri, 12 Mar 2021 16:50:18 +0000 (17:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 01:44:10 +0000 (17:44 -0800)
commit40ff83711f76d30265140827b46066dd3db2db79
treebea33e0d8e5890f7cadd37067b50bc42279c8620
parent86927c9c4d4e59b75a680f1e7922dca717cba24d
netdevsim: Create a helper for setting nexthop hardware flags

Instead of calling nexthop_set_hw_flags(), call a helper. It will be
used to also set nexthop bucket flags in a subsequent patch.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/fib.c