summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/nfp_asm.h
diff options
context:
space:
mode:
authorThomas Falcon2018-05-23 20:38:02 +0200
committerDavid S. Miller2018-05-25 04:19:26 +0200
commit2770a7984db588913e11a6dfcfe3461dbba9b7b2 (patch)
tree82c1983fa92ac5f26aeeefa6b1e34aea1fb901f8 /drivers/net/ethernet/netronome/nfp/nfp_asm.h
parentibmvnic: Set resetting state at earliest possible point (diff)
downloadkernel-qcow2-linux-2770a7984db588913e11a6dfcfe3461dbba9b7b2.tar.gz
kernel-qcow2-linux-2770a7984db588913e11a6dfcfe3461dbba9b7b2.tar.xz
kernel-qcow2-linux-2770a7984db588913e11a6dfcfe3461dbba9b7b2.zip
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 'drivers/net/ethernet/netronome/nfp/nfp_asm.h')
0 files changed, 0 insertions, 0 deletions