|
179 | 179 | /* Get the config size */
|
180 | 180 | #define VHOST_VDPA_GET_CONFIG_SIZE _IOR(VHOST_VIRTIO, 0x79, __u32)
|
181 | 181 |
|
182 |
| -/* Get the count of all virtqueues */ |
183 |
| -#define VHOST_VDPA_GET_VQS_COUNT _IOR(VHOST_VIRTIO, 0x80, __u32) |
184 |
| - |
185 |
| -/* Get the number of virtqueue groups. */ |
186 |
| -#define VHOST_VDPA_GET_GROUP_NUM _IOR(VHOST_VIRTIO, 0x81, __u32) |
187 |
| - |
188 | 182 | /* Get the number of address spaces. */
|
189 | 183 | #define VHOST_VDPA_GET_AS_NUM _IOR(VHOST_VIRTIO, 0x7A, unsigned int)
|
190 | 184 |
|
|
228 | 222 | #define VHOST_VDPA_GET_VRING_DESC_GROUP _IOWR(VHOST_VIRTIO, 0x7F, \
|
229 | 223 | struct vhost_vring_state)
|
230 | 224 |
|
| 225 | + |
| 226 | +/* Get the count of all virtqueues */ |
| 227 | +#define VHOST_VDPA_GET_VQS_COUNT _IOR(VHOST_VIRTIO, 0x80, __u32) |
| 228 | + |
| 229 | +/* Get the number of virtqueue groups. */ |
| 230 | +#define VHOST_VDPA_GET_GROUP_NUM _IOR(VHOST_VIRTIO, 0x81, __u32) |
| 231 | + |
231 | 232 | /* Get the queue size of a specific virtqueue.
|
232 | 233 | * userspace set the vring index in vhost_vring_state.index
|
233 | 234 | * kernel set the queue size in vhost_vring_state.num
|
234 | 235 | */
|
235 |
| -#define VHOST_VDPA_GET_VRING_SIZE _IOWR(VHOST_VIRTIO, 0x80, \ |
| 236 | +#define VHOST_VDPA_GET_VRING_SIZE _IOWR(VHOST_VIRTIO, 0x82, \ |
236 | 237 | struct vhost_vring_state)
|
237 | 238 | #endif
|
0 commit comments