git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/i40e: fix build with 16B descriptor on Arm
[dpdk.git]
/
drivers
/
net
/
i40e
/
i40e_rxtx_vec_common.h
diff --git
a/drivers/net/i40e/i40e_rxtx_vec_common.h
b/drivers/net/i40e/i40e_rxtx_vec_common.h
index
f9a7f46
..
959832e
100644
(file)
--- a/
drivers/net/i40e/i40e_rxtx_vec_common.h
+++ b/
drivers/net/i40e/i40e_rxtx_vec_common.h
@@
-103,7
+103,7
@@
i40e_tx_free_bufs(struct i40e_tx_queue *txq)
if (txq->offloads & RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE) {
for (i = 0; i < n; i++) {
free[i] = txep[i].mbuf;
if (txq->offloads & RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE) {
for (i = 0; i < n; i++) {
free[i] = txep[i].mbuf;
- txep[i].mbuf = NULL;
+ /* no need to reset txep[i].mbuf in vector path */
}
rte_mempool_put_bulk(free[0]->pool, (void **)free, n);
goto done;
}
rte_mempool_put_bulk(free[0]->pool, (void **)free, n);
goto done;