summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.h
diff options
context:
space:
mode:
authorJohn Allen <jallen@linux.vnet.ibm.com>2017-05-26 10:30:37 -0400
committerDavid S. Miller <davem@davemloft.net>2017-05-26 15:32:45 -0400
commit8cb31cfc9448e2ce0bda899eb15f74bc0a875d90 (patch)
treeb6d32ffc63619e90ed9a825a46620b3240f2d58f /drivers/net/ethernet/ibm/ibmvnic.h
parent10f7621588b86d181a167c1535d0754eb5a58ba8 (diff)
downloadlinux-8cb31cfc9448e2ce0bda899eb15f74bc0a875d90.tar.bz2
ibmvnic: Non-fatal error handling
Handle non-fatal error conditions. The process to do this when resetting the driver is to just do __ibmvnic_close followed by __ibmvnic_open. Signed-off-by: John Allen <jallen@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.h')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h
index fa6ac4e4a16e..7e2300e64a47 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.h
+++ b/drivers/net/ethernet/ibm/ibmvnic.h
@@ -925,6 +925,7 @@ enum vnic_state {VNIC_PROBING = 1,
enum ibmvnic_reset_reason {VNIC_RESET_FAILOVER = 1,
VNIC_RESET_MOBILITY,
VNIC_RESET_FATAL,
+ VNIC_RESET_NON_FATAL,
VNIC_RESET_TIMEOUT};
struct ibmvnic_rwi {