This commit implements config interrupt support in vhost_vdpa layer.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -15,6 +15,8 @@ · 14 unmodified lines | |||
| 15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
| 16 | #include <linux/ioctl.h> | 16 | #include <linux/ioctl.h> |
| 17 | 17 | ||
| 18 | #define VHOST_FILE_UNBIND -1 | ||
| 19 | |||
| 18 | /* ioctls */ | 20 | /* ioctls */ |
| 19 | 21 | ||
| 20 | #define VHOST_VIRTIO 0xAF | 22 | #define VHOST_VIRTIO 0xAF |
| @@ -140,4 +142,6 @@ · 119 unmodified lines | |||
| 140 | /* Get the max ring size. */ | 142 | /* Get the max ring size. */ |
| 141 | #define VHOST_VDPA_GET_VRING_NUM _IOR(VHOST_VIRTIO, 0x76, __u16) | 143 | #define VHOST_VDPA_GET_VRING_NUM _IOR(VHOST_VIRTIO, 0x76, __u16) |
| 142 | 144 | ||
| 145 | /* Set event fd for config interrupt*/ | ||
| 146 | #define VHOST_VDPA_SET_CONFIG_CALL _IOW(VHOST_VIRTIO, 0x77, int) | ||
| 143 | #endif | 147 | #endif |