summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2018-05-23 13:38:02 -0500
committerDavid S. Miller <davem@davemloft.net>2018-05-24 22:19:26 -0400
commit2770a7984db588913e11a6dfcfe3461dbba9b7b2 (patch)
tree82c1983fa92ac5f26aeeefa6b1e34aea1fb901f8 /tools/lib/bpf/libbpf.c
parent06e43d7f9fe536621091ca5b87dc6b8498898226 (diff)
downloadop-kernel-dev-2770a7984db588913e11a6dfcfe3461dbba9b7b2.zip
op-kernel-dev-2770a7984db588913e11a6dfcfe3461dbba9b7b2.tar.gz
ibmvnic: Introduce hard reset recovery
Introduce a recovery hard reset to handle reset failure as a result of change of device context following a transport event, such as a backing device failover or partition migration. These operations reset the device context to its initial state. If this occurs during a reset, any initialization commands are likely to fail with an invalid state error as backing device firmware requests reinitialization. When this happens, make one more attempt by performing a hard reset, which frees any resources currently allocated and performs device initialization. If a transport event occurs during a device reset, a flag is set which will trigger a new hard reset following the completionof the current reset event. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud