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
replace packed attributes
[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
86c364a
..
1f65efa
100644
(file)
--- a/
lib/librte_vhost/vhost_user.h
+++ b/
lib/librte_vhost/vhost_user.h
@@
-148,7
+148,7
@@
typedef struct VhostUserMsg {
} payload;
int fds[VHOST_MEMORY_MAX_NREGIONS];
int fd_num;
-} __
attribute((packed))
VhostUserMsg;
+} __
rte_packed
VhostUserMsg;
#define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64)