linux/drivers/vdpa
Eli Cohen e13cd45d35 vdpa/mlx5: Support creating resources with uid == 0
Currently all resources must be created with uid != 0 which is essential
when userspace processes are allocating virtquueue resources. Since this
is a kernel implementation, it is perfectly legal to open resources with
uid == 0.

In case firmware supports, avoid allocating user context.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210531160404.31368-1-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2021-07-03 04:50:56 -04:00
..
ifcvf vDPA/ifcvf: reuse pre-defined macros for device ids and vendor ids 2021-07-03 04:50:51 -04:00
mlx5 vdpa/mlx5: Support creating resources with uid == 0 2021-07-03 04:50:56 -04:00
vdpa_sim vdpa_sim_blk: remove duplicate include of linux/blkdev.h 2021-07-03 04:50:50 -04:00
virtio_pci vp_vdpa: correct the return value when fail to map notification 2021-07-03 04:50:52 -04:00
Kconfig vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
Makefile vdpa: introduce virtio pci driver 2021-05-03 04:55:51 -04:00
vdpa.c vdpa: Follow kdoc comment style 2021-05-03 04:55:51 -04:00