]> git.baikalelectronics.ru Git - kernel.git/commit
vsock/virtio: factor our the code to initialize and delete VQs
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 28 Apr 2022 13:22:40 +0000 (15:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 2 May 2022 23:04:34 +0000 (16:04 -0700)
commit8a97ca68917f03575c3d7262aa5096c9c72bc155
tree25f69ebbf5f771b588bc21a43fe6068db5c1ba42
parent477e4281bce385e4d9d0a5b91d30f71f458e99a7
vsock/virtio: factor our the code to initialize and delete VQs

Add virtio_vsock_vqs_init() and virtio_vsock_vqs_del() with the code
that was in virtio_vsock_probe() and virtio_vsock_remove to initialize
and delete VQs.

These new functions will be used in the next commit to support device
suspend/resume

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/vmw_vsock/virtio_transport.c