summaryrefslogtreecommitdiff
path: root/net/vmw_vsock/af_vsock.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.ibm.com>2020-08-31 11:59:57 -0500
committerDavid S. Miller <davem@davemloft.net>2020-09-01 13:23:23 -0700
commit36a782fdcc2bfe39265ac4640f29404493b52a55 (patch)
tree34b19cd337bb9810b8afd2a5a3126fee1ea5ebdd /net/vmw_vsock/af_vsock.c
parent150f29f5e6ea55d8a7d368b162a4e9947a95d2f5 (diff)
ibmvnic: Harden device Command Response Queue handshake
In some cases, the device or firmware may be busy when the driver attempts to perform the CRQ initialization handshake. If the partner is busy, the hypervisor will return the H_CLOSED return code. The aim of this patch is that, if the device is not ready, to query the device a number of times, with a small wait time in between queries. If all initialization requests fail, the driver will remain in a dormant state, awaiting a signal from the device that it is ready for operation. Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock/af_vsock.c')
0 files changed, 0 insertions, 0 deletions