diff options
author | Lijun Pan <lijunp213@gmail.com> | 2021-04-13 03:31:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-13 14:48:44 -0700 |
commit | 334c4241472916851d97aae209aedf1927ec84e3 (patch) | |
tree | f036b5d61b6a426cbefb18f7c56d3c995d476fbc /drivers/nfc | |
parent | 314332023b1f095fb24e230e60b50aff981943c3 (diff) |
ibmvnic: improve failover sysfs entry
The current implementation relies on H_IOCTL call to issue a
H_SESSION_ERR_DETECTED command to let the hypervisor to send a failover
signal. However, it may not work if there is no backup device or if
the vnic is already in error state,
e.g., "ibmvnic 30000003 env3: rx buffer returned with rc 6".
Add a last resort, that is to schedule a failover reset via CRQ command.
Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions