Lines Matching refs:rx_queue
548 struct efx_rx_queue rx_queue; member
1381 int (*rx_probe)(struct efx_rx_queue *rx_queue);
1382 void (*rx_init)(struct efx_rx_queue *rx_queue);
1383 void (*rx_remove)(struct efx_rx_queue *rx_queue);
1384 void (*rx_write)(struct efx_rx_queue *rx_queue);
1385 void (*rx_defer_refill)(struct efx_rx_queue *rx_queue);
1573 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
1580 return &channel->rx_queue; in efx_channel_get_rx_queue()
1588 for (_rx_queue = &(_channel)->rx_queue; \
1593 efx_rx_queue_channel(struct efx_rx_queue *rx_queue) in efx_rx_queue_channel() argument
1595 return container_of(rx_queue, struct efx_channel, rx_queue); in efx_rx_queue_channel()
1598 static inline int efx_rx_queue_index(struct efx_rx_queue *rx_queue) in efx_rx_queue_index() argument
1600 return efx_rx_queue_channel(rx_queue)->channel; in efx_rx_queue_index()
1606 static inline struct efx_rx_buffer *efx_rx_buffer(struct efx_rx_queue *rx_queue, in efx_rx_buffer() argument
1609 return &rx_queue->buffer[index]; in efx_rx_buffer()
1613 efx_rx_buf_next(struct efx_rx_queue *rx_queue, struct efx_rx_buffer *rx_buf) in efx_rx_buf_next() argument
1615 if (unlikely(rx_buf == efx_rx_buffer(rx_queue, rx_queue->ptr_mask))) in efx_rx_buf_next()
1616 return efx_rx_buffer(rx_queue, 0); in efx_rx_buf_next()