[v3,2/3] common/iavf: fix V-channel status
Checks
Commit Message
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(+)
Comments
> -----Original Message-----
> From: Zhang, AlvinX <alvinx.zhang@intel.com>
> Sent: Tuesday, May 11, 2021 10:03 AM
> To: Xing, Beilei <beilei.xing@intel.com>; Xu, Ting <ting.xu@intel.com>
> Cc: dev@dpdk.org; Zhang, AlvinX <alvinx.zhang@intel.com>;
> stable@dpdk.org
> Subject: [PATCH v3 2/3] common/iavf: fix V-channel status
>
> 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 --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_IMPLEMENTED is not defined in released shared code.
Please keep align with kernel driver.
> VIRTCHNL_STATUS_ERR_NOT_SUPPORTED = -64,
> };
>
> --
> 1.8.3.1
@@ -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,
};