Lines Matching defs:tx_ring
42 * @tx_ring: Tx ring to update
46 static inline void i40e_update_tx_stats(struct i40e_ring *tx_ring,
50 u64_stats_update_begin(&tx_ring->syncp);
51 tx_ring->stats.bytes += total_bytes;
52 tx_ring->stats.packets += total_packets;
53 u64_stats_update_end(&tx_ring->syncp);
54 tx_ring->q_vector->tx.total_bytes += total_bytes;
55 tx_ring->q_vector->tx.total_packets += total_packets;
62 * @tx_ring: Tx ring to update
66 static inline void i40e_arm_wb(struct i40e_ring *tx_ring,
70 if (tx_ring->flags & I40E_TXR_FLAGS_WB_ON_ITR) {
76 unsigned int j = i40e_get_tx_pending(tx_ring, false);
81 (I40E_DESC_UNUSED(tx_ring) != tx_ring->count))
82 tx_ring->arm_wb = true;
106 void i40e_xsk_clean_tx_ring(struct i40e_ring *tx_ring);