Lines Matching refs:rx_queue

58 	struct efx_rx_buffer *rx_buf = efx_rx_buffer(&channel->rx_queue, channel->rx_pkt_index);  in __ef100_rx_packet()
90 struct efx_rx_queue *rx_queue = in __ef100_rx_packet() local
95 efx_free_rx_buffers(rx_queue, rx_buf, 1); in __ef100_rx_packet()
105 static void ef100_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index) in ef100_rx_packet() argument
107 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, index); in ef100_rx_packet()
108 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in ef100_rx_packet()
109 struct efx_nic *efx = rx_queue->efx; in ef100_rx_packet()
111 ++rx_queue->rx_packets; in ef100_rx_packet()
115 efx_rx_queue_index(rx_queue), index); in ef100_rx_packet()
132 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel); in efx_ef100_ev_rx() local
144 ef100_rx_packet(rx_queue, in efx_ef100_ev_rx()
145 rx_queue->removed_count & rx_queue->ptr_mask); in efx_ef100_ev_rx()
146 ++rx_queue->removed_count; in efx_ef100_ev_rx()
150 void ef100_rx_write(struct efx_rx_queue *rx_queue) in ef100_rx_write() argument
157 while (rx_queue->notified_count != rx_queue->added_count) { in ef100_rx_write()
158 idx = rx_queue->notified_count & rx_queue->ptr_mask; in ef100_rx_write()
159 rx_buf = efx_rx_buffer(rx_queue, idx); in ef100_rx_write()
160 rxd = efx_rx_desc(rx_queue, idx); in ef100_rx_write()
164 ++rx_queue->notified_count; in ef100_rx_write()
169 rx_queue->added_count & rx_queue->ptr_mask); in ef100_rx_write()
170 efx_writed_page(rx_queue->efx, &rxdb, in ef100_rx_write()
171 ER_GZ_RX_RING_DOORBELL, efx_rx_queue_index(rx_queue)); in ef100_rx_write()