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

"Mandal, Anurag" <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <SA1PR11MB678280ED0782CE3B8C966281E4A72@SA1PR11MB6782.namprd11.prod.outlook.com>
> -----Original Message-----
> From: Mandal, Anurag <[email protected]>
> Sent: 17 August 2026 12:19
> To: [email protected]
> Cc: Richardson, Bruce <[email protected]>; Medvedkin, Vladimir
> <[email protected]>; Loftus, Ciara <[email protected]>;
> Mandal, Anurag <[email protected]>
> 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 <[email protected]>

Acked-by: Ciara Loftus <[email protected]>

> ---
>  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.