]> 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)
commit8a95e7079602d6ec759995e49571f3e988b46ed4
tree73e93ece1fe746ccc571d047a05b5a0320ab02fa
parent56b30b63121ba0266fd76fc31260bd65c6650c96
virtio_vdpa: Revert "virtio_vdpa: support the arg sizes of find_vqs()"

This reverts commit ecdab48b5444cc6fc3803f04531590671575df71:
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: ecdab48b5444 ("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