Home
last modified time | relevance | path

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

/freebsd/sys/dev/ena/
H A Dena_netmap.c155 rx_info->ena_buf.paddr = paddr; in ena_netmap_alloc_rx_slot()
156 rx_info->ena_buf.len = ring->nr_buf_size; in ena_netmap_alloc_rx_slot()
552 struct ena_com_buf *ena_buf; in ena_netmap_tx_map_slots() local
569 ena_buf = tx_info->bufs; in ena_netmap_tx_map_slots()
641 ena_buf->paddr = paddr + push_len; in ena_netmap_tx_map_slots()
642 ena_buf->len = slot->len - push_len; in ena_netmap_tx_map_slots()
643 ena_buf++; in ena_netmap_tx_map_slots()
691 ena_buf->paddr = paddr + delta; in ena_netmap_tx_map_slots()
692 ena_buf->len = slot->len - delta; in ena_netmap_tx_map_slots()
693 ena_buf++; in ena_netmap_tx_map_slots()
[all …]
H A Dena_datapath.c444 rx_info->mbuf, (uintmax_t)rx_info->ena_buf.paddr); in ena_rx_mbuf()
857 struct ena_com_buf *ena_buf; in ena_tx_map_mbuf() local
866 ena_buf = tx_info->bufs; in ena_tx_map_mbuf()
927 ena_buf->paddr = segs[iseg].ds_addr + in ena_tx_map_mbuf()
929 ena_buf->len = segs[iseg].ds_len - in ena_tx_map_mbuf()
931 ena_buf++; in ena_tx_map_mbuf()
952 ena_buf->paddr = segs[iseg].ds_addr; in ena_tx_map_mbuf()
953 ena_buf->len = segs[iseg].ds_len; in ena_tx_map_mbuf()
954 ena_buf++; in ena_tx_map_mbuf()
H A Dena.c1026 struct ena_com_buf *ena_buf; in ena_alloc_rx_mbuf() local
1068 ena_buf = &rx_info->ena_buf; in ena_alloc_rx_mbuf()
1069 ena_buf->paddr = segs[0].ds_addr; in ena_alloc_rx_mbuf()
1070 ena_buf->len = mlen; in ena_alloc_rx_mbuf()
1074 rx_info->mbuf, rx_info, ena_buf->len, (uintmax_t)ena_buf->paddr); in ena_alloc_rx_mbuf()
1142 &rx_info->ena_buf, req_id); in ena_refill_rx_bufs()
H A Dena.h279 struct ena_com_buf ena_buf; member
/freebsd/sys/contrib/ena-com/
H A Dena_eth_com.c602 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local
637 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()
638 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()
639 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()
665 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument
681 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()
694 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()
696 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
H A Dena_eth_com.h94 struct ena_com_buf *ena_buf,