summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 16:41:21 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:11:18 +0100
commit5abefef2387f3b9f44772a6bf0bb596d3a253421 (patch)
treeb233b2337b24a4cb67089482fa720658b1179307 /lib
parent9f7493544637e1d82efad2880d3ddde879d173d0 (diff)
downloaddpdk-5abefef2387f3b9f44772a6bf0bb596d3a253421.zip
dpdk-5abefef2387f3b9f44772a6bf0bb596d3a253421.tar.gz
dpdk-5abefef2387f3b9f44772a6bf0bb596d3a253421.tar.xz
ixgbe: remove residual fix about resetting big Tx queues
No need to keep residues of a fix which is replaced by another one. This reverts commit 5a6d9897f91f6bb4b2 (residual fix about resetting big Tx queues). Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_pmd_ixgbe/ixgbe_rxtx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c
index 6e22257..9b7cb7c 100644
--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c
+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c
@@ -1813,9 +1813,9 @@ ixgbe_reset_tx_queue(struct igb_tx_queue *txq)
volatile union ixgbe_adv_tx_desc *txd = &txq->tx_ring[i];
txd->wb.status = IXGBE_TXD_STAT_DD;
txe[i].mbuf = NULL;
- txe[i].last_id = (uint16_t)i;
- txe[prev].next_id = (uint16_t)i;
- prev = (uint16_t)i;
+ txe[i].last_id = i;
+ txe[prev].next_id = i;
+ prev = i;
}
txq->tx_next_dd = (uint16_t)(txq->tx_rs_thresh - 1);