> -----Original Message-----
> From: Kaiwen Deng <[email protected]>
> Sent: Wednesday, March 22, 2023 3:26 PM
> To: [email protected]
> Cc: [email protected]; Yang, Qiming <[email protected]>; Zhou, YidingX
> <[email protected]>; Deng, KaiwenX <[email protected]>;
> Chas Williams <[email protected]>; Min Hu (Connor) <[email protected]>;
> Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>;
> Mike Pattrick <[email protected]>; Zhang, Qi Z <[email protected]>;
> Doherty, Declan <[email protected]>; Mrzyglod, Daniel T
> <[email protected]>; Dapeng Yu <[email protected]>
> Subject: [PATCH v3] net/iavf: fix iavf query stats in intr thread
> 
> When iavf send query-stats command in eal-intr-thread through virtual
> channel, 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.
> 
> When vf device is bonded as BONDING_MODE_TLB mode, the slave device
> update callback will registered in alarm and called by eal-intr-thread, it 
> would
> also raise the above issue.
> 
> This commit add to poll the response for VIRTCHNL_OP_GET_STATS when it
> is called by eal-intr-thread to fix this issue.
> 
> Fixes: 91bf37d250aa ("net/iavf: add lock for VF commands")
> Fixes: 22b123a36d07 ("net/avf: initialize PMD")
> Fixes: 7c76a747e68c ("bond: add mode 5")
> Fixes: 435d523112cc ("net/iavf: fix multi-process shared data")
> Fixes: cb5c1b91f76f ("net/iavf: add thread for event callbacks")
> Cc: [email protected]
> 
> Signed-off-by: Kaiwen Deng <[email protected]>
> ---
Tested-by: Jiale Song < [email protected]>

Reply via email to