mlxsw: spectrum_router: Add FIB abort warning
authorJiri Pirko <jiri@mellanox.com>
Thu, 10 Nov 2016 11:10:29 +0000 (12:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2016 03:36:59 +0000 (22:36 -0500)
commit8d419324efeb1ac9b99a226643859a6636bc2aec
tree7b881d3a913cf0e5bb1e3c2098b08faaba4506b5
parent5aad5b42bd4b8c067cdac153636db56b00ac874c
mlxsw: spectrum_router: Add FIB abort warning

Add a warning that the abort mechanism was triggered for device.
Also avoid going through the procedure if abort was already done.

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