Lines Matching refs:rx_queue
547 struct efx_rx_queue rx_queue; member
1376 int (*rx_probe)(struct efx_rx_queue *rx_queue);
1377 void (*rx_init)(struct efx_rx_queue *rx_queue);
1378 void (*rx_remove)(struct efx_rx_queue *rx_queue);
1379 void (*rx_write)(struct efx_rx_queue *rx_queue);
1380 void (*rx_defer_refill)(struct efx_rx_queue *rx_queue);
1569 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
1576 return &channel->rx_queue; in efx_channel_get_rx_queue()
1584 for (_rx_queue = &(_channel)->rx_queue; \
1589 efx_rx_queue_channel(struct efx_rx_queue *rx_queue) in efx_rx_queue_channel() argument
1591 return container_of(rx_queue, struct efx_channel, rx_queue); in efx_rx_queue_channel()
1594 static inline int efx_rx_queue_index(struct efx_rx_queue *rx_queue) in efx_rx_queue_index() argument
1596 return efx_rx_queue_channel(rx_queue)->channel; in efx_rx_queue_index()
1602 static inline struct efx_rx_buffer *efx_rx_buffer(struct efx_rx_queue *rx_queue, in efx_rx_buffer() argument
1605 return &rx_queue->buffer[index]; in efx_rx_buffer()
1609 efx_rx_buf_next(struct efx_rx_queue *rx_queue, struct efx_rx_buffer *rx_buf) in efx_rx_buf_next() argument
1611 if (unlikely(rx_buf == efx_rx_buffer(rx_queue, rx_queue->ptr_mask))) in efx_rx_buf_next()
1612 return efx_rx_buffer(rx_queue, 0); in efx_rx_buf_next()