diff mbox series

[v2,2/3] common/iavf: fix V-channel status

Message ID 20210511015002.16644-2-alvinx.zhang@intel.com (mailing list archive)
State Superseded, archived
Headers show
Series [v2,1/3] net/i40e: fix return status for unsupported VF message | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Alvin Zhang May 11, 2021, 1:50 a.m. UTC
Add VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED to enum virtchnl_status_code.

Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD")
Cc: stable@dpdk.org

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
---
 drivers/common/iavf/virtchnl.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index 3a60faf..0558c99 100644
--- a/drivers/common/iavf/virtchnl.h
+++ b/drivers/common/iavf/virtchnl.h
@@ -47,6 +47,7 @@  enum virtchnl_status_code {
 	VIRTCHNL_STATUS_ERR_CQP_COMPL_ERROR		= -39,
 	VIRTCHNL_STATUS_ERR_INVALID_VF_ID		= -40,
 	VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR		= -53,
+	VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED		= -60,
 	VIRTCHNL_STATUS_ERR_NOT_SUPPORTED		= -64,
 };