]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/pipeline_tx.c
eal/linux: fix remaining checks for 64-bit architectures
[dpdk.git] / examples / ip_pipeline / pipeline_tx.c
index b9491e3ce989dfb5cb45040a4f95a1e503d64d8f..64904b2eca384c28634109b0cd1bd783c166ba3d 100644 (file)
@@ -66,7 +66,7 @@ app_pkt_metadata_flush(struct rte_mbuf *pkt)
        ether_addr_copy(&pkt_meta->nh_arp, &ether_hdr->d_addr);
        ether_addr_copy(&local_ether_addr, &ether_hdr->s_addr);
        ether_hdr->ether_type = rte_bswap16(ETHER_TYPE_IPv4);
-       pkt->vlan_macip.f.l2_len = sizeof(struct ether_hdr);
+       pkt->l2_len = sizeof(struct ether_hdr);
 }
 
 static int