]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Add batch neighbour deletion
authorIdo Schimmel <idosch@mellanox.com>
Sun, 12 Nov 2017 08:02:56 +0000 (09:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 12:17:07 +0000 (21:17 +0900)
commitebfd26f8b1025b64d9a96e838a1b48ad32df2e96
tree21cc6153ee6099a9bbfd0c4b20215db6b4586ae1
parent1a6a71e58e7c51be740163688f34137333365675
mlxsw: spectrum_router: Add batch neighbour deletion

In commit 76977bac641c ("mlxsw: spectrum_router: Don't batch neighbour
deletion") I removed the support for batch deletion of neighbours on a
router interface (RIF) since at that time the firmware did not support
it for IPv6 neighbours.

This is now supported by the version enforced by the driver, so there is
no reason to delete neighbours one by one anymore.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c