This patch set cleans up and reorganizes the driver's net_device close function and leverages that to fix up a bug that can occur during some device resets. Some reset cases require the backing adapter to be disabled before continuing, but other cases, such as during a device failover or partition migration, do not require this step. Since the device will not be initialized at this stage and its command-processing queue is closed, do not send the request to disable the device as it could result in an error or timeout disrupting the reset.
Thomas Falcon (3): ibmvnic: Clean up device close ibmvnic: Reorganize device close ibmvnic: Do not disable device during failover or partition migration drivers/net/ethernet/ibm/ibmvnic.c | 48 ++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 25 deletions(-) -- 1.8.3.1