aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_status.h
diff options
context:
space:
mode:
authorVictor Raj <[email protected]>2019-02-08 20:50:40 +0000
committerJeff Kirsher <[email protected]>2019-02-25 16:56:01 +0000
commitf70b9d5f4426ceee885cd6799fad4f59d33c1ce7 (patch)
treecc3f045a6962c7a7bfc7eb63aa23e9a64f5fb52d /drivers/net/ethernet/intel/ice/ice_status.h
parentice: flush Tx pipe on disable queue timeout (diff)
downloadkernel-f70b9d5f4426ceee885cd6799fad4f59d33c1ce7.tar.gz
kernel-f70b9d5f4426ceee885cd6799fad4f59d33c1ce7.zip
ice: check for a leaf node presence
Check for a leaf node presence for a given VSI. This check is required before removing a VSI since VSIs can't be removed with enabled queues (with leaf nodes) from the FW scheduler tree unless its a reset. Signed-off-by: Victor Raj <[email protected]> Reviewed-by: Bruce Allan <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_status.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_status.h b/drivers/net/ethernet/intel/ice/ice_status.h
index f49f299ddf2c..683f48824a29 100644
--- a/drivers/net/ethernet/intel/ice/ice_status.h
+++ b/drivers/net/ethernet/intel/ice/ice_status.h
@@ -22,6 +22,7 @@ enum ice_status {
ICE_ERR_OUT_OF_RANGE = -13,
ICE_ERR_ALREADY_EXISTS = -14,
ICE_ERR_DOES_NOT_EXIST = -15,
+ ICE_ERR_IN_USE = -16,
ICE_ERR_MAX_LIMIT = -17,
ICE_ERR_RESET_ONGOING = -18,
ICE_ERR_BUF_TOO_SHORT = -52,