]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_user/vhost_user.c
replace packed attributes
[dpdk.git] / drivers / net / virtio / virtio_user / vhost_user.c
index d8e083ba8b71e1d72698c9ca3d78486ced06c275..74b82e56e4f15fbfd189fa7abbb34cf2e30fa331 100644 (file)
@@ -43,7 +43,7 @@ struct vhost_user_msg {
                struct vhost_memory memory;
        } payload;
        int fds[VHOST_MEMORY_MAX_NREGIONS];
-} __attribute((packed));
+} __rte_packed;
 
 #define VHOST_USER_HDR_SIZE offsetof(struct vhost_user_msg, payload.u64)
 #define VHOST_USER_PAYLOAD_SIZE \