]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/nfp/nfp_net.c
mbuf: add new Rx flags for stripped VLAN
[dpdk.git] / drivers / net / nfp / nfp_net.c
index ea5a2a349e0c55625aae007d0ef0733eed990df8..5c9f350238c71a0e7c32eeb7e4ed94fa38051532 100644 (file)
@@ -1800,7 +1800,7 @@ nfp_net_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)
                if ((rxds->rxd.flags & PCIE_DESC_RX_VLAN) &&
                    (hw->ctrl & NFP_NET_CFG_CTRL_RXVLAN)) {
                        mb->vlan_tci = rte_cpu_to_le_32(rxds->rxd.vlan);
-                       mb->ol_flags |= PKT_RX_VLAN_PKT;
+                       mb->ol_flags |= PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED;
                }
 
                /* Adding the mbuff to the mbuff array passed by the app */