Home
last modified time | relevance | path

Searched refs:nb_hw_desc (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/ena-com/
H A Dena_eth_com.c441 int *nb_hw_desc) in ena_com_prepare_tx() argument
494 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx()
594 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx()
606 u16 nb_hw_desc; in ena_com_rx_pkt() local
613 rc = ena_com_cdesc_rx_pkt_get(io_cq, &cdesc_idx, &nb_hw_desc); in ena_com_rx_pkt()
617 if (nb_hw_desc == 0) { in ena_com_rx_pkt()
618 ena_rx_ctx->descs = nb_hw_desc; in ena_com_rx_pkt()
624 io_cq->qid, nb_hw_desc); in ena_com_rx_pkt()
626 if (unlikely(nb_hw_desc > ena_rx_ctx->max_bufs)) { in ena_com_rx_pkt()
629 nb_hw_desc, ena_rx_ctx->max_bufs); in ena_com_rx_pkt()
[all …]
H A Dena_eth_com.h87 int *nb_hw_desc);
/freebsd/sys/dev/ena/
H A Dena_datapath.c982 int nb_hw_desc; in ena_xmit_mbuf() local
1031 rc = ena_com_prepare_tx(io_sq, &ena_tx_ctx, &nb_hw_desc); in ena_xmit_mbuf()
1055 tx_info->tx_descs = nb_hw_desc; in ena_xmit_mbuf()
H A Dena_netmap.c394 int nb_hw_desc; in ena_netmap_tx_frame() local
432 rc = ena_com_prepare_tx(ctx->io_sq, &ena_tx_ctx, &nb_hw_desc); in ena_netmap_tx_frame()
456 tx_info->tx_descs = nb_hw_desc; in ena_netmap_tx_frame()