]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: Use simpler version of ida allocation
authorParav Pandit <parav@nvidia.com>
Thu, 12 Nov 2020 06:40:00 +0000 (08:40 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Dec 2020 21:14:31 +0000 (16:14 -0500)
commitdab23efd89d1aef62e2cc8c345ab33c313200e9e
tree41a5d895bfda600fa2f8e63ece40eb6aaf604d49
parent3fcfb6e100cf515274b62313c8bdb4f9e4e01e85
vdpa: Use simpler version of ida allocation

vdpa doesn't have any specific need to define start and end range of the
device index.
Hence use the simper version of the ida allocator.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20201112064005.349268-3-parav@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c