]> 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)
commit9e2f2b26f714147a3a9871718500ed4424f202b8
tree21cc6153ee6099a9bbfd0c4b20215db6b4586ae1
parentbcaf2cff141567d1e287aa3c4356bf9f6cf0ad4e
mlxsw: spectrum_router: Add batch neighbour deletion

In commit 88f7e330ea53 ("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