]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/csumonly.c
app/testpmd: pack GRE header
[dpdk.git] / app / test-pmd / csumonly.c
index 950ea82a1d351507d23d505d3ced37fdab43350b..4287940a17da501dea0ecdf0ada2fc273a3a649a 100644 (file)
@@ -108,7 +108,7 @@ struct testpmd_offload_info {
 struct simple_gre_hdr {
        uint16_t flags;
        uint16_t proto;
-};
+} __attribute__((__packed__));
 
 static uint16_t
 get_psd_sum(void *l3_hdr, uint16_t ethertype, uint64_t ol_flags)