This patch introduces the uAPI for getting the number of address spaces supported by this vDPA device.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -154,4 +154,6 @@ · 153 unmodified lines | |||
| 154 | /* Get the number of virtqueue groups. */ | 154 | /* Get the number of virtqueue groups. */ |
| 155 | #define VHOST_VDPA_GET_GROUP_NUM _IOR(VHOST_VIRTIO, 0x81, __u32) | 155 | #define VHOST_VDPA_GET_GROUP_NUM _IOR(VHOST_VIRTIO, 0x81, __u32) |
| 156 | 156 | ||
| 157 | /* Get the number of address spaces. */ | ||
| 158 | #define VHOST_VDPA_GET_AS_NUM _IOR(VHOST_VIRTIO, 0x7A, unsigned int) | ||
| 157 | #endif | 159 | #endif |