diff options
author | Ido Schimmel <idosch@nvidia.com> | 2020-11-17 19:47:00 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 11:51:18 -0800 |
commit | c0351b7c25ffd52408c1297fbe552f185d5aac3f (patch) | |
tree | 8f12ab8c9412afed019544ad0913b7be30384ae4 /certs | |
parent | 5c9a3b24518c8b5c446b247ccd0e8a98f65abf2a (diff) |
mlxsw: spectrum_router: Set FIB entry's type based on nexthop group
The previous patch associated a nexthop group with the FIB entry before
the entry's type is determined.
Make use of the nexthop group when determining the entry's type instead
of relying on helpers that assume that the nexthop info is not a nexthop
object (i.e., 'struct nexthop').
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions