]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/dpaa2_rxtx.c
net/virtio: fix incorrect cast of void *
[dpdk.git] / drivers / net / dpaa2 / dpaa2_rxtx.c
index a317f7f0a91a956cc075b07c1b6526bb8261f833..8ecd238ddbe168c081115f470aa86d16aa1fd1ab 100644 (file)
@@ -122,7 +122,7 @@ dpaa2_dev_rx_offload(uint64_t hw_annot_addr, struct rte_mbuf *mbuf)
 
        if (BIT_ISSET_AT_POS(annotation->word3,
                             L2_VLAN_1_PRESENT | L2_VLAN_N_PRESENT))
-               mbuf->ol_flags |= PKT_RX_VLAN_PKT;
+               mbuf->ol_flags |= PKT_RX_VLAN;
 
        if (BIT_ISSET_AT_POS(annotation->word8, DPAA2_ETH_FAS_L3CE))
                mbuf->ol_flags |= PKT_RX_IP_CKSUM_BAD;