From: Hemant Agrawal Date: Fri, 26 May 2017 06:51:19 +0000 (+0530) Subject: net/dpaa2: add support for VLAN strip X-Git-Tag: spdx-start~3127 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d20e6e600bf2cb30797c662d02f11c4bcea6b7d1;p=dpdk.git net/dpaa2: add support for VLAN strip Signed-off-by: Hemant Agrawal --- diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 81c0c288a9..30125ebde4 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -330,6 +330,9 @@ dpaa2_dev_prefetch_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) if (dev->data->dev_conf.rxmode.hw_vlan_strip) rte_vlan_strip(bufs[num_rx]); + if (dev->data->dev_conf.rxmode.hw_vlan_strip) + rte_vlan_strip(bufs[num_rx]); + dq_storage++; num_rx++; }