Lines Matching refs:rx_queue
43 static void efx_rx_packet__check_len(struct efx_rx_queue *rx_queue, in efx_rx_packet__check_len() argument
47 struct efx_nic *efx = rx_queue->efx; in efx_rx_packet__check_len()
61 efx_rx_queue_index(rx_queue), len, max_len); in efx_rx_packet__check_len()
63 efx_rx_queue_channel(rx_queue)->n_rx_overlength++; in efx_rx_packet__check_len()
105 rx_buf = efx_rx_buf_next(&channel->rx_queue, rx_buf); in efx_rx_mk_skb()
121 void efx_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, in efx_rx_packet() argument
124 struct efx_nic *efx = rx_queue->efx; in efx_rx_packet()
125 struct efx_channel *channel = efx_rx_queue_channel(rx_queue); in efx_rx_packet()
128 rx_queue->rx_packets++; in efx_rx_packet()
130 rx_buf = efx_rx_buffer(rx_queue, index); in efx_rx_packet()
136 efx_rx_packet__check_len(rx_queue, rx_buf, len); in efx_rx_packet()
150 efx_rx_queue_index(rx_queue), index, in efx_rx_packet()
151 (index + n_frags - 1) & rx_queue->ptr_mask, len, in efx_rx_packet()
187 rx_buf = efx_rx_buf_next(rx_queue, rx_buf); in efx_rx_packet()
197 rx_buf = efx_rx_buffer(rx_queue, index); in efx_rx_packet()
217 struct efx_rx_queue *rx_queue; in efx_rx_deliver() local
219 rx_queue = efx_channel_get_rx_queue(channel); in efx_rx_deliver()
220 efx_free_rx_buffers(rx_queue, rx_buf, n_frags); in efx_rx_deliver()
223 skb_record_rx_queue(skb, channel->rx_queue.core_index); in efx_rx_deliver()
255 struct efx_rx_queue *rx_queue; in efx_do_xdp() local
267 rx_queue = efx_channel_get_rx_queue(channel); in efx_do_xdp()
271 efx_free_rx_buffers(rx_queue, rx_buf, in efx_do_xdp()
289 xdp_init_buff(&xdp, efx->rx_page_buf_step, &rx_queue->xdp_rxq_info); in efx_do_xdp()
315 efx_free_rx_buffers(rx_queue, rx_buf, 1); in efx_do_xdp()
329 efx_free_rx_buffers(rx_queue, rx_buf, 1); in efx_do_xdp()
342 efx_free_rx_buffers(rx_queue, rx_buf, 1); in efx_do_xdp()
351 efx_free_rx_buffers(rx_queue, rx_buf, 1); in efx_do_xdp()
364 efx_rx_buffer(&channel->rx_queue, channel->rx_pkt_index); in __efx_rx_packet()
378 struct efx_rx_queue *rx_queue; in __efx_rx_packet() local
381 rx_queue = efx_channel_get_rx_queue(channel); in __efx_rx_packet()
382 efx_free_rx_buffers(rx_queue, rx_buf, in __efx_rx_packet()