Lines Matching refs:rx_buf
59 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, in __ef100_rx_packet() local
63 u8 *eh = efx_rx_buf_va(rx_buf); in __ef100_rx_packet()
81 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet()
82 if (rx_buf->len <= sizeof(struct ethhdr)) { in __ef100_rx_packet()
85 "RX packet too small (%d)\n", rx_buf->len); in __ef100_rx_packet()
102 efx_ef100_rep_rx_packet(efv, rx_buf); in __ef100_rx_packet()
137 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, csum); in __ef100_rx_packet()
141 efx_free_rx_buffers(rx_queue, rx_buf, 1); in __ef100_rx_packet()
148 struct efx_rx_buffer *rx_buf = efx_rx_buffer(rx_queue, index); in ef100_rx_packet() local
158 efx_sync_rx_buffer(efx, rx_buf, efx->rx_dma_len); in ef100_rx_packet()
160 prefetch(efx_rx_buf_va(rx_buf)); in ef100_rx_packet()
162 rx_buf->page_offset += efx->rx_prefix_size; in ef100_rx_packet()
164 efx_recycle_rx_pages(channel, rx_buf, 1); in ef100_rx_packet()
194 struct efx_rx_buffer *rx_buf; in ef100_rx_write() local
201 rx_buf = efx_rx_buffer(rx_queue, idx); in ef100_rx_write()
204 EFX_POPULATE_QWORD_1(*rxd, ESF_GZ_RX_BUF_ADDR, rx_buf->dma_addr); in ef100_rx_write()