mlx4: Setting new port types after all interfaces unregistered
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 21 Feb 2012 03:41:07 +0000 (03:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2012 20:27:24 +0000 (15:27 -0500)
In port type change flow, need to set the new port types only after
all interfaces have finished the unregister process.
Otherwise, during unregister, one of the interfaces might issue a SET_PORT
command with wrong port types, it can cause bad FW behavior.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found