]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabb37db9677db867a29c7a1e3bf57c5664407ebe
treeb265e410803cd8e9da97b581edaacca9ff64b586
parentdaad058372845f681f1e04251c04e38f50a10c20
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