• T
    ibmvnic: Fix failover case for non-redundant configuration · 5a18e1e0
    Thomas Falcon 提交于
    There is a failover case for a non-redundant pseries VNIC
    configuration that was not being handled properly. The current
    implementation assumes that the driver will always have a redandant
    device to communicate with following a failover notification. There
    are cases, however, when a non-redundant configuration can receive
    a failover request. If that happens, the driver should wait until
    it receives a signal that the device is ready for operation.
    
    The driver is agnostic of its backing hardware configuration,
    so this fix necessarily affects all device failover management.
    The driver needs to wait until it receives a signal that the device
    is ready for resetting. A flag is introduced to track this intermediary
    state where the driver is waiting for an active device.
    Signed-off-by: NThomas Falcon <tlfalcon@linux.vnet.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    5a18e1e0
ibmvnic.c 130.6 KB