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