mlxsw: spectrum_router: Associate neighbour table with nexthop instead of group
authorIdo Schimmel <idosch@nvidia.com>
Fri, 13 Nov 2020 16:05:48 +0000 (18:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 15 Nov 2020 00:55:03 +0000 (16:55 -0800)
commit02d8fdcad7cbaf4b786fbd694b62686ed8d8935b
treeb265e410803cd8e9da97b581edaacca9ff64b586
parent1664dd3d5e545fb63a96f30ea71c9cbab066c892
mlxsw: spectrum_router: Associate neighbour table with nexthop instead of group

As explained in the previous patch, nexthop objects can have both IPv4
and IPv6 nexthops in the same group. Therefore, move the neighbour table
to be a property of the nexthop instead of the nexthop group.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c