Searched refs:ena_buf (Results 1 – 6 of 6) sorted by relevance
580 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local611 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()612 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()613 if (unlikely(ena_buf[i].req_id >= q_depth)) in ena_com_rx_pkt()639 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument656 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()669 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()671 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
92 struct ena_com_buf *ena_buf,
532 struct ena_com_rx_buf_info *ena_buf = &ena_rx_ctx->ena_bufs[0]; in ena_com_rx_pkt() local560 ena_buf[i].len = cdesc->length; in ena_com_rx_pkt()561 ena_buf[i].req_id = cdesc->req_id; in ena_com_rx_pkt()584 struct ena_com_buf *ena_buf, in ena_com_add_single_rx_desc() argument601 desc->length = ena_buf->len; in ena_com_add_single_rx_desc()610 desc->buff_addr_lo = (u32)ena_buf->paddr; in ena_com_add_single_rx_desc()612 ((ena_buf->paddr & GENMASK_ULL(io_sq->dma_addr_bits - 1, 32)) >> 32); in ena_com_add_single_rx_desc()
64 struct ena_com_buf *ena_buf,
63 struct ena_com_buf ena_buf; member
2412 struct ena_com_buf *ena_buf; in ena_tx_map_mbuf() local2419 ena_buf = tx_info->bufs; in ena_tx_map_mbuf()2453 ena_buf->paddr = mbuf->buf_iova + in ena_tx_map_mbuf()2456 ena_buf->len = seg_len - push_len; in ena_tx_map_mbuf()2457 ena_buf++; in ena_tx_map_mbuf()2470 ena_buf->paddr = mbuf->buf_iova + mbuf->data_off + delta; in ena_tx_map_mbuf()2471 ena_buf->len = seg_len - delta; in ena_tx_map_mbuf()2472 ena_buf++; in ena_tx_map_mbuf()