git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/sfc_efx/base: add function control window concept
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_user
/
vhost.h
diff --git
a/drivers/net/virtio/virtio_user/vhost.h
b/drivers/net/virtio/virtio_user/vhost.h
index
260e1c3
..
8f49ef4
100644
(file)
--- a/
drivers/net/virtio/virtio_user/vhost.h
+++ b/
drivers/net/virtio/virtio_user/vhost.h
@@
-57,6
+57,10
@@
struct vhost_vring_addr {
#define VHOST_USER_PROTOCOL_F_REPLY_ACK 3
#endif
#define VHOST_USER_PROTOCOL_F_REPLY_ACK 3
#endif
+#ifndef VHOST_USER_PROTOCOL_F_STATUS
+#define VHOST_USER_PROTOCOL_F_STATUS 16
+#endif
+
enum vhost_user_request {
VHOST_USER_NONE = 0,
VHOST_USER_GET_FEATURES = 1,
enum vhost_user_request {
VHOST_USER_NONE = 0,
VHOST_USER_GET_FEATURES = 1,
@@
-77,6
+81,8
@@
enum vhost_user_request {
VHOST_USER_SET_PROTOCOL_FEATURES = 16,
VHOST_USER_GET_QUEUE_NUM = 17,
VHOST_USER_SET_VRING_ENABLE = 18,
VHOST_USER_SET_PROTOCOL_FEATURES = 16,
VHOST_USER_GET_QUEUE_NUM = 17,
VHOST_USER_SET_VRING_ENABLE = 18,
+ VHOST_USER_SET_STATUS = 39,
+ VHOST_USER_GET_STATUS = 40,
VHOST_USER_MAX
};
VHOST_USER_MAX
};