OSDN Git Service

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)
commit63dd00fa3e524c27cc0509190084ab147ecc8ae2
tree21cc6153ee6099a9bbfd0c4b20215db6b4586ae1
parent2f53fbd521825078c0b801d416702cdd877af262
mlxsw: spectrum_router: Add batch neighbour deletion

In commit 4a3c67a6e7cd ("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