Lines Matching refs:txr
178 struct tx_ring *txr = &que->txr; in ixgbe_isc_txd_encap() local
197 TXD = (struct ixgbe_adv_tx_context_desc *) &txr->tx_base[first]; in ixgbe_isc_txd_encap()
208 ++txr->tso_tx; in ixgbe_isc_txd_encap()
223 txd = &txr->tx_base[i]; in ixgbe_isc_txd_encap()
237 txr->tx_rsq[txr->tx_rs_pidx] = pidx_last; in ixgbe_isc_txd_encap()
238 txr->tx_rs_pidx = (txr->tx_rs_pidx + 1) & (ntxd - 1); in ixgbe_isc_txd_encap()
242 txr->bytes += pi->ipi_len; in ixgbe_isc_txd_encap()
245 ++txr->total_packets; in ixgbe_isc_txd_encap()
258 struct tx_ring *txr = &que->txr; in ixgbe_isc_txd_flush() local
260 IXGBE_WRITE_REG(&sc->hw, txr->tail, pidx); in ixgbe_isc_txd_flush()
272 struct tx_ring *txr = &que->txr; in ixgbe_isc_txd_credits_update() local
279 rs_cidx = txr->tx_rs_cidx; in ixgbe_isc_txd_credits_update()
280 if (rs_cidx == txr->tx_rs_pidx) in ixgbe_isc_txd_credits_update()
283 cur = txr->tx_rsq[rs_cidx]; in ixgbe_isc_txd_credits_update()
284 status = txr->tx_base[cur].wb.status; in ixgbe_isc_txd_credits_update()
295 prev = txr->tx_cidx_processed; in ixgbe_isc_txd_credits_update()
307 if (rs_cidx == txr->tx_rs_pidx) in ixgbe_isc_txd_credits_update()
310 cur = txr->tx_rsq[rs_cidx]; in ixgbe_isc_txd_credits_update()
311 status = txr->tx_base[cur].wb.status; in ixgbe_isc_txd_credits_update()
314 txr->tx_rs_cidx = rs_cidx; in ixgbe_isc_txd_credits_update()
315 txr->tx_cidx_processed = prev; in ixgbe_isc_txd_credits_update()