X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_vhost%2Fvhost_user.h;h=1f65efa4a9357e0bb721342451416c4177cf8459;hb=ef5baf3486e03004b6d807f731f0d9936504511d;hp=86c364a935f470074f0380cc7b8c5036021d5715;hpb=f35e5b3e07b2e7999f7d3085236cc366c9cb4da6;p=dpdk.git diff --git a/lib/librte_vhost/vhost_user.h b/lib/librte_vhost/vhost_user.h index 86c364a935..1f65efa4a9 100644 --- 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)