summaryrefslogtreecommitdiff
path: root/drivers/vdpa/mlx5/core/mlx5_vdpa.h
diff options
context:
space:
mode:
authorSi-Wei Liu <si-wei.liu@oracle.com>2023-10-18 20:14:42 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-11-01 16:19:55 +0300
commit7db0d6027e69f47431800b510192436563ba415b (patch)
tree8e59125cf20af68e38ef87fc121767d2f44c00f8 /drivers/vdpa/mlx5/core/mlx5_vdpa.h
parenta72cac6067fdfde280ece0ec5c055659a8de6508 (diff)
downloadlinux-7db0d6027e69f47431800b510192436563ba415b.tar.xz
vhost-vdpa: introduce descriptor group backend feature
Userspace knows if the device has dedicated descriptor group or not by checking this feature bit. It's only exposed if the vdpa driver backend implements the .get_vq_desc_group() operation callback. Userspace trying to negotiate this feature when it or the dependent _F_IOTLB_ASID feature hasn't been exposed will result in an error. Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com> Acked-by: Eugenio PĂ©rez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20231018171456.1624030-5-dtatulea@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com> Tested-by: Si-Wei Liu <si-wei.liu@oracle.com> Tested-by: Lei Yang <leiyang@redhat.com>
Diffstat (limited to 'drivers/vdpa/mlx5/core/mlx5_vdpa.h')
0 files changed, 0 insertions, 0 deletions