Home
last modified time | relevance | path

Searched refs:ena_buf (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.c536 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local
564 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()
565 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
566 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
592 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument
608 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()
621 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()
623 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
H A Dena_xdp.c25 struct ena_com_buf *ena_buf; in ena_xdp_tx_map_frame() local
57 ena_buf = tx_info->bufs; in ena_xdp_tx_map_frame()
58 ena_buf->paddr = dma; in ena_xdp_tx_map_frame()
59 ena_buf->len = size; in ena_xdp_tx_map_frame()
61 ena_tx_ctx->ena_bufs = ena_buf; in ena_xdp_tx_map_frame()
H A Dena_netdev.c508 struct ena_com_buf *ena_buf; in ena_alloc_rx_buffer() local
533 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_buffer()
534 ena_buf->paddr = dma + headroom; in ena_alloc_rx_buffer()
535 ena_buf->len = ENA_PAGE_SIZE - headroom - tailroom; in ena_alloc_rx_buffer()
588 &rx_info->ena_buf, in ena_refill_rx_bufs()
662 struct ena_com_buf *ena_buf; in ena_unmap_tx_buff() local
666 ena_buf = tx_info->bufs; in ena_unmap_tx_buff()
674 dma_unmap_addr(ena_buf, paddr), in ena_unmap_tx_buff()
675 dma_unmap_len(ena_buf, len), in ena_unmap_tx_buff()
677 ena_buf++; in ena_unmap_tx_buff()
[all …]
H A Dena_eth_com.h65 struct ena_com_buf *ena_buf,
H A Dena_netdev.h170 struct ena_com_buf ena_buf; member
/openbmc/linux/Documentation/networking/device_drivers/ethernet/amazon/
H A Dena.rst269 - Populates ``ena_buf`` for the push buffer (if the driver and device are