> -----Original Message-----
> From: Shiyang He <[email protected]>
> Sent: Tuesday, May 9, 2023 12:58 AM
> To: [email protected]
> Cc: Zhou, YidingX <[email protected]>; He, ShiyangX
> <[email protected]>; [email protected]; Wu, Jingjing
> <[email protected]>; Xing, Beilei <[email protected]>; Xu, Ting
> <[email protected]>
> Subject: [PATCH] net/iavf: fix large vf queues cannot re-use.
> 
> Multiple vfs created based on one PF. If one of the vf requests a large
> number of queues, the queue resources are not released when exiting the
> program, resulting in these queues cannot be available to other vfs.
> 
> This commit fixes the issue by resetting the number of queues to default
> when closing the dev (refer to the kernel driver) .
> 
> Fixes: e436cd43835b ("net/iavf: negotiate large VF and request more
> queues")
> Cc: [email protected]
> 
> Signed-off-by: Shiyang He <[email protected]>

I assume this is a workaround, as the queue resources may not be released if 
the PMD quits abnormally. A robust solution would rely on the kernel driver to 
reclaim the resources during a VF reset.
Nevertheless, this fix is not harmful and provides temporary relief for the 
issue until a proper solution can be implemented in the kernel driver.

Acked-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi


Reply via email to