]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_ixgbe/ixgbe_rxtx.c
ixgbe: remove residual fix about resetting big Tx queues
[dpdk.git] / lib / librte_pmd_ixgbe / ixgbe_rxtx.c
index 41507cb561ea34cfd08294b4d2fea852b40fb7ea..55414b9210abb7ca3dee1edfa91c96e61548e3a9 100644 (file)
@@ -1679,9 +1679,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);