[PATCH] net/iavf: fix virtchnl cmd called in intr thread

Zhang, Qi Z qi.z.zhang at intel.com
Fri Jun 9 03:15:42 CEST 2023



> -----Original Message-----
> From: Kaiwen Deng <kaiwenx.deng at intel.com>
> Sent: Thursday, June 8, 2023 3:28 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Yang, Qiming <qiming.yang at intel.com>; Zhou, YidingX
> <yidingx.zhou at intel.com>; Deng, KaiwenX <kaiwenx.deng at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>
> Subject: [PATCH] net/iavf: fix virtchnl cmd called in intr thread
> 
> When iavf send virtchnl command in eal-intr-thread, there will be no
> response received from iavf_dev_virtchnl_handler for this command during
> block and wait. Because iavf_dev_virtchnl_handler is also registered in eal-
> intr-thread.
> 
> This commit add to poll the response for virtchnl command when it is called
> by eal-intr-thread to fix this issue.
> 
> Fixes: 22b123a36d07 ("net/avf: initialize PMD")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Kaiwen Deng <kaiwenx.deng at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list