[PATCH v3 1/7] net/iavf: discard empty AdminQ descriptors on reset

Mandal, Anurag anurag.mandal at intel.com
Mon Aug 17 08:55:35 CEST 2026


> -----Original Message-----
> From: Mandal, Anurag <anurag.mandal at intel.com>
> Sent: 17 August 2026 12:19
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin at intel.com>; Loftus, Ciara <ciara.loftus at intel.com>;
> Mandal, Anurag <anurag.mandal at intel.com>
> Subject: [PATCH v3 1/7] net/iavf: discard empty AdminQ descriptors on reset
> 
> During PF-initiated resets iavf_clean_arq_element() has been observed to
> return success with a fully zeroed descriptor (opcode 0).
> These fell through to the default arm of the dispatch switch and produced a
> "Request 0 is not supported yet" log flood in the field.
> 
> Skip descriptors with opcode 0 so they are silently discarded and do not flood
> log.
> 
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>

Acked-by: Ciara Loftus <ciara.loftus at intel.com>

> ---
>  drivers/net/intel/iavf/iavf_vchnl.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/net/intel/iavf/iavf_vchnl.c
> b/drivers/net/intel/iavf/iavf_vchnl.c
> index f346837bf1..23e4107743 100644
> --- a/drivers/net/intel/iavf/iavf_vchnl.c
> +++ b/drivers/net/intel/iavf/iavf_vchnl.c
> @@ -614,6 +614,11 @@ iavf_handle_virtchnl_msg(struct rte_eth_dev *dev)
>  			break;
>  		}
>  		aq_opc = rte_le_to_cpu_16(info.desc.opcode);
> +
> +		/* opcode 0 means the descriptor is empty/zeroed, skip it */
> +		if (aq_opc == 0)
> +			continue;
> +
>  		/* For the message sent from pf to vf, opcode is stored in
>  		 * cookie_high of struct iavf_aq_desc, while return error
> code
>  		 * are stored in cookie_low, Which is done by PF driver.
> --
> 2.34.1



More information about the dev mailing list