History

vhost_vdpa: Support config interrupt in vdpa

This commit implements config interrupt support in vhost_vdpa layer.

Zhu Lingshan committed 6 years ago

Commit 776f3951 parent bb02e6e2 files · +51 −0Browse files

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

Unified · Split

include/uapi/linux/vhost.h+4−0
@@ -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 0xAF22#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#endif147#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