replace packed attributes
[dpdk.git] / app / test-pmd / csumonly.c
index 25091de..fe19615 100644 (file)
@@ -86,7 +86,7 @@ struct testpmd_offload_info {
 struct simple_gre_hdr {
        uint16_t flags;
        uint16_t proto;
-} __attribute__((__packed__));
+} __rte_packed;
 
 static uint16_t
 get_udptcp_checksum(void *l3_hdr, void *l4_hdr, uint16_t ethertype)