Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_eth_com.c546 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local
576 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()
577 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
578 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
604 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument
620 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()
633 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()
635 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
Dena_netdev.c241 struct ena_com_buf *ena_buf; in ena_xdp_tx_map_frame() local
273 ena_buf = tx_info->bufs; in ena_xdp_tx_map_frame()
274 ena_buf->paddr = dma; in ena_xdp_tx_map_frame()
275 ena_buf->len = size; in ena_xdp_tx_map_frame()
277 ena_tx_ctx->ena_bufs = ena_buf; in ena_xdp_tx_map_frame()
1018 struct ena_com_buf *ena_buf; in ena_alloc_rx_buffer() local
1041 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_buffer()
1042 ena_buf->paddr = dma + headroom; in ena_alloc_rx_buffer()
1043 ena_buf->len = ENA_PAGE_SIZE - headroom - tailroom; in ena_alloc_rx_buffer()
1051 struct ena_com_buf *ena_buf = &rx_info->ena_buf; in ena_unmap_rx_buff() local
[all …]
Dena_eth_com.h61 struct ena_com_buf *ena_buf,
Dena_netdev.h179 struct ena_com_buf ena_buf; member
/linux-6.1.9/Documentation/networking/device_drivers/ethernet/amazon/
Dena.rst265 - Populates ``ena_buf`` for the push buffer (if the driver and device are