Lines Matching refs:rx_buf
58 struct efx_rx_buffer *rx_buf = efx_rx_buffer(&channel->rx_queue, channel->rx_pkt_index); in __ef100_rx_packet() local
60 u8 *eh = efx_rx_buf_va(rx_buf); in __ef100_rx_packet()
70 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet()
71 if (rx_buf->len <= sizeof(struct ethhdr)) { in __ef100_rx_packet()
74 "RX packet too small (%d)\n", rx_buf->len); in __ef100_rx_packet()
95 efx_free_rx_buffers(rx_queue, rx_buf, 1); in __ef100_rx_packet()
99 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, csum); in __ef100_rx_packet()
107 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, index); in ef100_rx_packet() local
117 efx_sync_rx_buffer(efx, rx_buf, efx->rx_dma_len); in ef100_rx_packet()
119 prefetch(efx_rx_buf_va(rx_buf)); in ef100_rx_packet()
121 rx_buf->page_offset += efx->rx_prefix_size; in ef100_rx_packet()
123 efx_recycle_rx_pages(channel, rx_buf, 1); in ef100_rx_packet()
152 struct efx_rx_buffer *rx_buf; in ef100_rx_write() local
159 rx_buf = efx_rx_buffer(rx_queue, idx); in ef100_rx_write()
162 EFX_POPULATE_QWORD_1(*rxd, ESF_GZ_RX_BUF_ADDR, rx_buf->dma_addr); in ef100_rx_write()