]> 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)
commit7014441f0f22c1bc88ef6647d04fbb77e76b67e7
treeb265e410803cd8e9da97b581edaacca9ff64b586
parent560bfc506bee86bbbc9d3f90429c20bcc4304c85
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