]> git.baikalelectronics.ru Git - kernel.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)
commit6c29152cd5be633bf68b4d7b88b078d5db9db1f4
tree73e93ece1fe746ccc571d047a05b5a0320ab02fa
parent70ce5d953c02775a5a1093639bd0adceed3f8e3a
virtio_vdpa: Revert "virtio_vdpa: support the arg sizes of find_vqs()"

This reverts commit 0844f989d33b87ad0d00f6a35d5a07169bb0fe10:
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: 0844f989d33b ("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