X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_vhost%2Fvhost_user.h;h=1f65efa4a9357e0bb721342451416c4177cf8459;hb=d52e042850147c861f31adb04ad8a65820971117;hp=86c364a935f470074f0380cc7b8c5036021d5715;hpb=109c38b2e9aacfb2b5f4f4c28cf4025b444b70f1;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)