]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Do not disable device during failover or partition migration
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 7 Mar 2018 23:51:47 +0000 (17:51 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:51:45 +0000 (12:51 -0500)
commite9f8399751b553425bb1e4b7eba78629d69f674b
tree3b8db1085222b16065fa96113f6adfaf01c83e53
parent737c138fc2f614fdea3c61496031f9fa200a74e4
ibmvnic: Do not disable device during failover or partition migration

During a device failover or partition migration reset, it is not
necessary to disable the backing adapter since it should not be
running yet and its Command-Response Queue is closed. Sending
device commands during this time could result in an error or
timeout disrupting the reset process. In these cases, just halt
transmissions, clean up resources, and continue with reset.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c