Skip to content

Commit fe452fb

Browse files
committed
tools include UAPI: Sync linux/vhost.h with the kernel sources
To get the changes in: 25abc06 ("vhost-vdpa: support IOTLB batching hints") This doesn't result in any changes in tooling, no new ioctls to be picked up by the id->string table generators, etc. Silencing this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/vhost.h' differs from latest version at 'include/uapi/linux/vhost.h' diff -u tools/include/uapi/linux/vhost.h include/uapi/linux/vhost.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 23db762 commit fe452fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tools/include/uapi/linux/vhost.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191

9292
/* Use message type V2 */
9393
#define VHOST_BACKEND_F_IOTLB_MSG_V2 0x1
94+
/* IOTLB can accept batching hints */
95+
#define VHOST_BACKEND_F_IOTLB_BATCH 0x2
9496

9597
#define VHOST_SET_BACKEND_FEATURES _IOW(VHOST_VIRTIO, 0x25, __u64)
9698
#define VHOST_GET_BACKEND_FEATURES _IOR(VHOST_VIRTIO, 0x26, __u64)

0 commit comments

Comments
 (0)