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
vhost: avoid enum fields in VhostUserMsg
[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
d4bd604
..
0fafbe6
100644
(file)
--- a/
lib/librte_vhost/vhost_user.h
+++ b/
lib/librte_vhost/vhost_user.h
@@
-81,8
+81,8
@@
typedef struct VhostUserLog {
typedef struct VhostUserMsg {
union {
- VhostUserRequest master;
- VhostUserSlaveRequest slave;
+ uint32_t master; /* a VhostUserRequest value */
+ uint32_t slave; /* a VhostUserSlaveRequest value*/
} request;
#define VHOST_USER_VERSION_MASK 0x3