]> git.ipfire.org Git - thirdparty/linux.git/commit
vduse: add v1 API definition
authorEugenio Pérez <eperezma@redhat.com>
Mon, 19 Jan 2026 14:32:55 +0000 (15:32 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Jan 2026 20:32:16 +0000 (15:32 -0500)
commita006ed4ecd4905b69402980ad7d4e5f31bf44953
tree756924e0cc8d034886cecff4c2dd553fced6cffd
parentcd025c1e876b4e262e71398236a1550486a73ede
vduse: add v1 API definition

This allows the kernel to detect whether the userspace VDUSE device
supports the VQ group and ASID features.  VDUSE devices that don't set
the V1 API will not receive the new messages, and vdpa device will be
created with only one vq group and asid.

The next patches implement the new feature incrementally, only enabling
the VDUSE device to set the V1 API version by the end of the series.

Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20260119143306.1818855-3-eperezma@redhat.com>
include/uapi/linux/vduse.h