]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost_user.h
replace packed attributes
[dpdk.git] / lib / librte_vhost / vhost_user.h
index 86c364a935f470074f0380cc7b8c5036021d5715..1f65efa4a9357e0bb721342451416c4177cf8459 100644 (file)
@@ -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)