Lines Matching refs:rx_queue

58 	struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel);  in __ef100_rx_packet()  local
59 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, in __ef100_rx_packet()
134 efx_free_rx_buffers(rx_queue, rx_buf, 1); in __ef100_rx_packet()
139 static void ef100_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index) in ef100_rx_packet() argument
141 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, index); in ef100_rx_packet()
142 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in ef100_rx_packet()
143 struct efx_nic *efx = rx_queue->efx; in ef100_rx_packet()
145 ++rx_queue->rx_packets; in ef100_rx_packet()
149 efx_rx_queue_index(rx_queue), index); in ef100_rx_packet()
166 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel); in efx_ef100_ev_rx() local
178 ef100_rx_packet(rx_queue, in efx_ef100_ev_rx()
179 rx_queue->removed_count & rx_queue->ptr_mask); in efx_ef100_ev_rx()
180 ++rx_queue->removed_count; in efx_ef100_ev_rx()
184 void ef100_rx_write(struct efx_rx_queue *rx_queue) in ef100_rx_write() argument
191 while (rx_queue->notified_count != rx_queue->added_count) { in ef100_rx_write()
192 idx = rx_queue->notified_count & rx_queue->ptr_mask; in ef100_rx_write()
193 rx_buf = efx_rx_buffer(rx_queue, idx); in ef100_rx_write()
194 rxd = efx_rx_desc(rx_queue, idx); in ef100_rx_write()
198 ++rx_queue->notified_count; in ef100_rx_write()
203 rx_queue->added_count & rx_queue->ptr_mask); in ef100_rx_write()
204 efx_writed_page(rx_queue->efx, &rxdb, in ef100_rx_write()
205 ER_GZ_RX_RING_DOORBELL, efx_rx_queue_index(rx_queue)); in ef100_rx_write()