Searched refs:ena_buf (Results 1 – 5 of 5) sorted by relevance
517 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local545 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()546 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()547 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()571 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument587 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()596 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()598 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
235 struct ena_com_buf *ena_buf; in ena_xdp_tx_map_buff() local241 ena_buf = tx_info->bufs; in ena_xdp_tx_map_buff()259 ena_buf->paddr = dma; in ena_xdp_tx_map_buff()260 ena_buf->len = size; in ena_xdp_tx_map_buff()912 struct ena_com_buf *ena_buf; in ena_alloc_rx_page() local948 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_page()949 ena_buf->paddr = dma + headroom; in ena_alloc_rx_page()950 ena_buf->len = ENA_PAGE_SIZE - headroom; in ena_alloc_rx_page()959 struct ena_com_buf *ena_buf = &rx_info->ena_buf; in ena_free_rx_page() local967 dma_unmap_page(rx_ring->dev, ena_buf->paddr - rx_ring->rx_headroom, in ena_free_rx_page()[all …]
61 struct ena_com_buf *ena_buf,
202 struct ena_com_buf ena_buf; member
273 - Populates ena_buf for the push buffer (if the driver and device are