Searched refs:sw_read_idx (Results 1 – 1 of 1) sorted by relevance
168 u16 hw_read_idx, sw_read_idx; in alx_clean_tx_irq() local175 sw_read_idx = txq->read_idx; in alx_clean_tx_irq()178 if (sw_read_idx != hw_read_idx) { in alx_clean_tx_irq()179 while (sw_read_idx != hw_read_idx && budget > 0) { in alx_clean_tx_irq()182 skb = txq->bufs[sw_read_idx].skb; in alx_clean_tx_irq()189 alx_free_txbuf(txq, sw_read_idx); in alx_clean_tx_irq()191 if (++sw_read_idx == txq->count) in alx_clean_tx_irq()192 sw_read_idx = 0; in alx_clean_tx_irq()194 txq->read_idx = sw_read_idx; in alx_clean_tx_irq()203 return sw_read_idx == hw_read_idx; in alx_clean_tx_irq()