net/dpaa2: change VLAN strip value to offload flag
Fixes: 0ebce6129b
("net/dpaa2: support new ethdev offload APIs")
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
This commit is contained in:
parent
b84bcf4019
commit
346b02d1dc
@ -560,7 +560,7 @@ dpaa2_dev_prefetch_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)
|
||||
bufs[num_rx] = eth_fd_to_mbuf(fd);
|
||||
bufs[num_rx]->port = dev->data->port_id;
|
||||
|
||||
if (dev->data->dev_conf.rxmode.hw_vlan_strip)
|
||||
if (dev->data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_VLAN_STRIP)
|
||||
rte_vlan_strip(bufs[num_rx]);
|
||||
|
||||
dq_storage++;
|
||||
|
Loading…
Reference in New Issue
Block a user