> -----Original Message----- > From: Shiyang He <shiyangx...@intel.com> > Sent: Tuesday, May 9, 2023 12:58 AM > To: dev@dpdk.org > Cc: Zhou, YidingX <yidingx.z...@intel.com>; He, ShiyangX > <shiyangx...@intel.com>; sta...@dpdk.org; Wu, Jingjing > <jingjing...@intel.com>; Xing, Beilei <beilei.x...@intel.com>; Xu, Ting > <ting...@intel.com> > 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: sta...@dpdk.org > > Signed-off-by: Shiyang He <shiyangx...@intel.com> 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 <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel. Thanks Qi