forked from DPDK/dpdk
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdpa/virtio: disable queues in dev close
vhost_user_get_vring_base calls virtio_vdpa_dev_close, then closes kickfd and callfd. So doolbell notifier and interrupt should be released in virtio_vdpa_dev_close. !! Still disable qeueues in virtio_vdpa_dev_close. !! Keep same as before 4f778ec ("vdpa/virtio: fix mem hotplug wrong queue disable"). For mem hotplug case: virtio_vdpa_dev_close called in vhost_user_set_mem_table. Let's save the queue enable configration in a new variable and together with queue enable to enable queues again in virtio_vdpa_dev_config. Fixes: 4f778ec ("vdpa/virtio: fix mem hotplug wrong queue disable") Signed-off-by: Yajun Wu <yajunw@nvidia.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters