]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Set bridge status in appropriate functions
authorIdo Schimmel <idosch@mellanox.com>
Mon, 4 Jan 2016 09:42:25 +0000 (10:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 03:07:58 +0000 (22:07 -0500)
commitb018604610f2f1fa5c7e3805d4af67fcb305b141
tree1234d963009a622ca1cb29212229d2f2a0243dee
parent4afd2a8fe5e58bf6f5d572234936e196d1aeb542
mlxsw: spectrum: Set bridge status in appropriate functions

Set the bridge status of physical ports in the appropriate functions, to
be consistent with LAG join/leave and vPorts joining/leaving bridge.

Also, remove the error messages in these two functions, as we already
emit errors in both the single functions they call.

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