• Thomas Falcon's avatar
    ibmvnic: Fix failover case for non-redundant configuration · 5a18e1e0
    Thomas Falcon authored
    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: default avatarThomas Falcon <tlfalcon@linux.vnet.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5a18e1e0
ibmvnic.h 25.5 KB