Lines Matching refs:sw_head
233 self->sw_head = 0; in aq_ring_init()
291 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()
292 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_tx_clean()
298 (!aq_ring_dx_in_range(self->sw_head, in aq_ring_tx_clean()
333 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_tx_clean()
534 for (; (self->sw_head != self->hw_head) && budget; in __aq_ring_rx_clean()
535 self->sw_head = aq_ring_next_dx(self, self->sw_head), in __aq_ring_rx_clean()
537 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in __aq_ring_rx_clean()
563 aq_ring_dx_in_range(self->sw_head, in __aq_ring_rx_clean()
710 for (; (rx_ring->sw_head != rx_ring->hw_head) && budget; in __aq_ring_xdp_clean()
711 rx_ring->sw_head = aq_ring_next_dx(rx_ring, rx_ring->sw_head), in __aq_ring_xdp_clean()
713 struct aq_ring_buff_s *buff = &rx_ring->buff_ring[rx_ring->sw_head]; in __aq_ring_xdp_clean()
736 aq_ring_dx_in_range(rx_ring->sw_head, in __aq_ring_xdp_clean()
850 while (self->sw_head != self->hw_head) { in aq_ring_hwts_rx_clean()
855 (self->sw_head * self->dx_size), in aq_ring_hwts_rx_clean()
859 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_hwts_rx_clean()
898 for (; self->sw_head != self->sw_tail; in aq_ring_rx_deinit()
899 self->sw_head = aq_ring_next_dx(self, self->sw_head)) { in aq_ring_rx_deinit()
900 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_rx_deinit()