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
examples/vhost_scsi: fix product id string termination
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_user.h
diff --git
a/lib/librte_vhost/vhost_user.h
b/lib/librte_vhost/vhost_user.h
index
46c6ff9
..
76d9fe2
100644
(file)
--- a/
lib/librte_vhost/vhost_user.h
+++ b/
lib/librte_vhost/vhost_user.h
@@
-109,7
+109,10
@@
typedef struct VhostUserLog {
} VhostUserLog;
typedef struct VhostUserMsg {
} VhostUserLog;
typedef struct VhostUserMsg {
- VhostUserRequest request;
+ union {
+ VhostUserRequest master;
+ VhostUserSlaveRequest slave;
+ } request;
#define VHOST_USER_VERSION_MASK 0x3
#define VHOST_USER_REPLY_MASK (0x1 << 2)
#define VHOST_USER_VERSION_MASK 0x3
#define VHOST_USER_REPLY_MASK (0x1 << 2)