git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84bcf4
)
net/dpaa2: change VLAN strip value to offload flag
author
Shreyansh Jain
<shreyansh.jain@nxp.com>
Mon, 14 May 2018 10:58:26 +0000
(16:28 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 14 May 2018 21:32:23 +0000
(22:32 +0100)
Fixes:
0ebce6129bc6
("net/dpaa2: support new ethdev offload APIs")
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa2/dpaa2_rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/net/dpaa2/dpaa2_rxtx.c
b/drivers/net/dpaa2/dpaa2_rxtx.c
index
dc0da96
..
dac086d
100644
(file)
--- a/
drivers/net/dpaa2/dpaa2_rxtx.c
+++ b/
drivers/net/dpaa2/dpaa2_rxtx.c
@@
-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++;