mlxsw: spectrum: Add debug prints
authorIdo Schimmel <idosch@mellanox.com>
Mon, 20 Jun 2016 21:04:21 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 09:02:51 +0000 (05:02 -0400)
commit223053783b2374fa45f22600a127c9dcb3bf018c
tree8fefebb369f5426a25ec7b1534e0d973f2cdcd1b
parent1c800759078d400a02ed4ed1655672ea5fdcfd66
mlxsw: spectrum: Add debug prints

For debug purposes, it's useful to know the order in which the driver
responds to changes in the topology of its upper devices.

Add debug prints to signal these events.

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.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c