Arnaldo Carvalho de Melo
940442deea
tools include UAPI: Sync linux/vhost.h with the kernel sources
To get the changes in:
b04d910af330b55e ("vdpa: support exposing the count of vqs to userspace")
a61280ddddaa45f9 ("vdpa: support exposing the config size to userspace")
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
$ diff -u tools/include/uapi/linux/vhost.h include/uapi/linux/vhost.h
--- tools/include/uapi/linux/vhost.h 2021-07-15 16:17:01.840818309 -0300
+++ include/uapi/linux/vhost.h 2022-04-02 18:55:05.702522387 -0300
@@ -150,4 +150,11 @@
/* Get the valid iova range */
#define VHOST_VDPA_GET_IOVA_RANGE _IOR(VHOST_VIRTIO, 0x78, \
struct vhost_vdpa_iova_range)
+
+/* Get the config size */
+#define VHOST_VDPA_GET_CONFIG_SIZE _IOR(VHOST_VIRTIO, 0x79, __u32)
+
+/* Get the count of all virtqueues */
+#define VHOST_VDPA_GET_VQS_COUNT _IOR(VHOST_VIRTIO, 0x80, __u32)
+
#endif
$ tools/perf/trace/beauty/vhost_virtio_ioctl.sh > before
$ cp include/uapi/linux/vhost.h tools/include/uapi/linux/vhost.h
$ tools/perf/trace/beauty/vhost_virtio_ioctl.sh > after
$ diff -u before after
--- before 2022-04-04 14:52:25.036375145 -0300
+++ after 2022-04-04 14:52:31.906549976 -0300
@@ -38,4 +38,6 @@
[0x73] = "VDPA_GET_CONFIG",
[0x76] = "VDPA_GET_VRING_NUM",
[0x78] = "VDPA_GET_IOVA_RANGE",
+ [0x79] = "VDPA_GET_CONFIG_SIZE",
+ [0x80] = "VDPA_GET_VQS_COUNT",
};
$
Cc: Longpeng <longpeng2@huawei.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/lkml/YksxoFcOARk%2Fldev@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-04-09 11:42:33 -03:00
..
2019-02-10 09:28:43 -08:00
2018-02-09 00:24:38 +01:00
2021-01-26 00:15:03 +01:00
2022-03-28 19:06:35 -07:00
2021-11-11 17:41:11 -08:00
2020-12-18 17:32:28 -03:00
2018-04-30 17:56:24 +02:00
2021-08-24 14:48:40 -07:00
2018-12-18 16:17:40 -03:00
2020-06-09 12:40:03 -03:00
2020-07-21 10:50:35 +01:00
2021-09-11 16:14:53 -03:00
2020-12-18 17:32:28 -03:00
2017-11-04 09:27:46 +01:00
2022-02-21 12:13:45 +00:00
2019-05-29 15:15:07 +02:00
2020-07-13 15:32:56 -07:00
2021-09-11 16:12:26 -03:00
2017-11-28 14:29:20 -03:00
2022-04-01 16:19:35 -03:00
2020-11-03 08:36:51 -03:00
2021-09-10 18:15:22 -03:00
2018-12-14 11:44:31 -08:00
2021-03-06 16:54:22 -03:00
2022-03-22 13:06:49 -07:00
2019-06-15 14:06:13 -07:00
2021-01-22 20:41:29 -08:00
2022-02-01 13:04:22 -03:00
2020-04-14 09:01:08 -03:00
2018-05-28 17:41:00 +02:00
2018-05-28 17:41:00 +02:00
2020-12-17 14:40:24 -03:00
2021-01-20 14:23:00 -08:00
2018-10-16 08:10:01 -07:00
2020-03-13 20:56:34 +01:00
2019-09-30 17:29:02 -03:00
2022-04-09 11:42:33 -03:00