]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vmxnet3/vmxnet3_rxtx.c
mbuf: add new Rx flags for stripped VLAN
[dpdk.git] / drivers / net / vmxnet3 / vmxnet3_rxtx.c
index 9fe8752c4578e78aabf636b6a453ba3b65376998..ccafc0c2ffd915bbe129d4d52870a30ef208028b 100644 (file)
@@ -579,7 +579,7 @@ vmxnet3_rx_offload(const Vmxnet3_RxCompDesc *rcd, struct rte_mbuf *rxm)
 {
        /* Check for hardware stripped VLAN tag */
        if (rcd->ts) {
-               rxm->ol_flags |= PKT_RX_VLAN_PKT;
+               rxm->ol_flags |= (PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED);
                rxm->vlan_tci = rte_le_to_cpu_16((uint16_t)rcd->tci);
        }