[PATCH v1 2/5] common/idpf/base: refine idpf ctlq message structure

Xing, Beilei beilei.xing at intel.com
Fri Aug 25 07:55:39 CEST 2023



> -----Original Message-----
> From: Zhang, Yuying <yuying.zhang at intel.com>
> Sent: Saturday, August 12, 2023 3:55 PM
> To: dev at dpdk.org; Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>
> Cc: Zhang, Yuying <yuying.zhang at intel.com>
> Subject: [PATCH v1 2/5] common/idpf/base: refine idpf ctlq message structure
> 
> Add cfg data in idpf_ctlq_msg.

Could you detail the commit log to describe why we need this field?

> 
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>
> ---
>  drivers/common/idpf/base/idpf_controlq_api.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/common/idpf/base/idpf_controlq_api.h
> b/drivers/common/idpf/base/idpf_controlq_api.h
> index 3780304256..b38b10465c 100644
> --- a/drivers/common/idpf/base/idpf_controlq_api.h
> +++ b/drivers/common/idpf/base/idpf_controlq_api.h
> @@ -65,6 +65,9 @@ struct idpf_ctlq_msg {
>  			u32 chnl_opcode;
>  			u32 chnl_retval;
>  		} mbx;
> +		struct {
> +			u64 data;
> +		} cfg;
>  	} cookie;
>  	union {
>  #define IDPF_DIRECT_CTX_SIZE	16
> --
> 2.25.1



More information about the dev mailing list