Searched refs:tx_next_clean (Results 1 – 1 of 1) sorted by relevance
3079 uint16_t tx_next_clean = txq->next_to_clean; in hns3_tx_free_useless_buffer() local3081 struct hns3_entry *tx_entry = &txq->sw_ring[tx_next_clean]; in hns3_tx_free_useless_buffer()3082 struct hns3_desc *desc = &txq->tx_ring[tx_next_clean]; in hns3_tx_free_useless_buffer()3085 if (tx_next_use >= tx_next_clean && in hns3_tx_free_useless_buffer()3086 tx_next_use < tx_next_clean + txq->tx_rs_thresh) in hns3_tx_free_useless_buffer()3980 uint16_t tx_next_clean; in hns3_tx_free_buffer_simple() local3991 tx_next_clean = (txq->next_to_clean + txq->tx_rs_thresh - 1) % in hns3_tx_free_buffer_simple()3993 desc = &txq->tx_ring[tx_next_clean]; in hns3_tx_free_buffer_simple()4019 txq->next_to_clean = (tx_next_clean + 1) % txq->nb_tx_desc; in hns3_tx_free_buffer_simple()