History

vhost-vdpa: introduce uAPI to get the number of address spaces

This patch introduces the uAPI for getting the number of address spaces supported by this vDPA device.

Gautam Dawar committed 4 years ago

Commit a0c95f21 parent 3ace88b2 files · +5 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/uapi/linux/vhost.h+2−0
@@ -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#endif159#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t