Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/iavf: release large VF when closing device
[ upstream commit cdd8d6dfd156709b05ce363d7c5f491cc927330a ] 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: e436cd4 ("net/iavf: negotiate large VF and request more queues") Signed-off-by: Shiyang He <shiyangx.he@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information