]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
virtio_vdpa: Revert "virtio_vdpa: support the arg sizes of find_vqs()"
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Aug 2022 05:36:45 +0000 (01:36 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Aug 2022 05:40:18 +0000 (01:40 -0400)
commit9e82eb574c5d90a175ae830916af8b8a1ccc31e7
tree73e93ece1fe746ccc571d047a05b5a0320ab02fa
parent13aa8c6c37bd54eaf16f89e2e07019796fb9e681
virtio_vdpa: Revert "virtio_vdpa: support the arg sizes of find_vqs()"

This reverts commit 99e8927d8a4da8eb8a8a5904dc13a3156be8e7c0:
proposed API isn't supported on all transports but no
effort was made to address this.

It might not be hard to fix if we want to: maybe just rename size to
size_hint and make sure legacy transports ignore the hint.

But it's not sure what the benefit is in any case, so let's drop it.

Fixes: 99e8927d8a4d ("virtio_vdpa: support the arg sizes of find_vqs()")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220816053602.173815-6-mst@redhat.com>
drivers/virtio/virtio_vdpa.c