summaryrefslogtreecommitdiff
path: root/drivers/net/qede/qede_rxtx.c
diff options
context:
space:
mode:
authorShahed Shaikh <shshaikh@marvell.com>2019-01-18 02:29:30 -0800
committerThomas Monjalon <thomas@monjalon.net>2019-01-19 00:37:45 +0100
commitd6ddd17fb17cb250044bada4ae42a799375fd6c5 (patch)
tree05ecd9c495730f0425deeeea981cec6b326c4aa9 /drivers/net/qede/qede_rxtx.c
parent8f2312474529ad7ff0e4b65b82efc8530e7484ce (diff)
downloaddpdk-d6ddd17fb17cb250044bada4ae42a799375fd6c5.zip
dpdk-d6ddd17fb17cb250044bada4ae42a799375fd6c5.tar.gz
dpdk-d6ddd17fb17cb250044bada4ae42a799375fd6c5.tar.xz
net/qede: remove prefetch in Tx path
Incorrect placement of prefetch in Tx path is causing a performance drop of around ~2% on AMD platform. Fixes: 2ea6f76aff40 ("qede: add core driver") Cc: stable@dpdk.org Signed-off-by: Shahed Shaikh <shshaikh@marvell.com> Acked-by: Rasesh Mody <rmody@marvell.com>
Diffstat (limited to 'drivers/net/qede/qede_rxtx.c')
-rw-r--r--drivers/net/qede/qede_rxtx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 684c4ae..eda19b2 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -2181,7 +2181,6 @@ qede_xmit_pkts(void *p_txq, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
txq->nb_tx_avail -= bd1->data.nbds;
txq->sw_tx_prod++;
- rte_prefetch0(txq->sw_tx_ring[TX_PROD(txq)].mbuf);
bd_prod =
rte_cpu_to_le_16(ecore_chain_get_prod_idx(&txq->tx_pbl));
#ifdef RTE_LIBRTE_QEDE_DEBUG_TX