ixgbe: residual fix about resetting big Tx queues
Index overflow when resetting big queues was partially fixed inbcf457f8c0
(ixgbe: fix index overflow when resetting big Tx queues) and better fixed ine8ae856140
(igb/ixgbe: fix index overflow when resetting big queues) But this version (1.5.2r0) has residues of the initial fix from 1.5.1r0. Signed-off-by: Intel
This commit is contained in:
parent
b2595c4aa9
commit
5a6d9897f9
@ -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 = i;
|
||||
txe[prev].next_id = i;
|
||||
prev = i;
|
||||
txe[i].last_id = (uint16_t)i;
|
||||
txe[prev].next_id = (uint16_t)i;
|
||||
prev = (uint16_t)i;
|
||||
}
|
||||
|
||||
txq->tx_next_dd = (uint16_t)(txq->tx_rs_thresh - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user