Lines Matching refs:rx_queue
548 struct efx_rx_queue rx_queue; member
1370 int (*rx_probe)(struct efx_rx_queue *rx_queue);
1371 void (*rx_init)(struct efx_rx_queue *rx_queue);
1372 void (*rx_remove)(struct efx_rx_queue *rx_queue);
1373 void (*rx_write)(struct efx_rx_queue *rx_queue);
1374 void (*rx_defer_refill)(struct efx_rx_queue *rx_queue);
1562 return channel->rx_queue.core_index >= 0; in efx_channel_has_rx_queue()
1569 return &channel->rx_queue; in efx_channel_get_rx_queue()
1577 for (_rx_queue = &(_channel)->rx_queue; \
1582 efx_rx_queue_channel(struct efx_rx_queue *rx_queue) in efx_rx_queue_channel() argument
1584 return container_of(rx_queue, struct efx_channel, rx_queue); in efx_rx_queue_channel()
1587 static inline int efx_rx_queue_index(struct efx_rx_queue *rx_queue) in efx_rx_queue_index() argument
1589 return efx_rx_queue_channel(rx_queue)->channel; in efx_rx_queue_index()
1595 static inline struct efx_rx_buffer *efx_rx_buffer(struct efx_rx_queue *rx_queue, in efx_rx_buffer() argument
1598 return &rx_queue->buffer[index]; in efx_rx_buffer()
1602 efx_rx_buf_next(struct efx_rx_queue *rx_queue, struct efx_rx_buffer *rx_buf) in efx_rx_buf_next() argument
1604 if (unlikely(rx_buf == efx_rx_buffer(rx_queue, rx_queue->ptr_mask))) in efx_rx_buf_next()
1605 return efx_rx_buffer(rx_queue, 0); in efx_rx_buf_next()