aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/linux/vhost_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'original/uapi/linux/vhost_types.h')
-rw-r--r--original/uapi/linux/vhost_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/original/uapi/linux/vhost_types.h b/original/uapi/linux/vhost_types.h
index 2d827d2..d765690 100644
--- a/original/uapi/linux/vhost_types.h
+++ b/original/uapi/linux/vhost_types.h
@@ -185,5 +185,12 @@ struct vhost_vdpa_iova_range {
* DRIVER_OK
*/
#define VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK 0x6
+/* Device may expose the virtqueue's descriptor area, driver area and
+ * device area to a different group for ASID binding than where its
+ * buffers may reside. Requires VHOST_BACKEND_F_IOTLB_ASID.
+ */
+#define VHOST_BACKEND_F_DESC_ASID 0x7
+/* IOTLB don't flush memory mapping across device reset */
+#define VHOST_BACKEND_F_IOTLB_PERSIST 0x8
#endif