Searched refs:nb_hw_desc (Results 1 – 4 of 4) sorted by relevance
390 int *nb_hw_desc) in ena_com_prepare_tx() argument441 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx()541 *nb_hw_desc = io_sq->tail - start_tail; in ena_com_prepare_tx()553 u16 nb_hw_desc; in ena_com_rx_pkt() local559 rc = ena_com_cdesc_rx_pkt_get(io_cq, &cdesc_idx, &nb_hw_desc); in ena_com_rx_pkt()563 if (nb_hw_desc == 0) { in ena_com_rx_pkt()564 ena_rx_ctx->descs = nb_hw_desc; in ena_com_rx_pkt()571 if (unlikely(nb_hw_desc > ena_rx_ctx->max_bufs)) { in ena_com_rx_pkt()586 if (++i >= nb_hw_desc) in ena_com_rx_pkt()594 io_sq->next_to_comp += nb_hw_desc; in ena_com_rx_pkt()[all …]
56 int *nb_hw_desc);
120 int rc, nb_hw_desc; in ena_xmit_common() local132 &nb_hw_desc); in ena_xmit_common()152 tx_info->tx_descs = nb_hw_desc; in ena_xmit_common()
738 pxad_alloc_desc(struct pxad_chan *chan, unsigned int nb_hw_desc) in pxad_alloc_desc() argument745 sw_desc = kzalloc(struct_size(sw_desc, hw_desc, nb_hw_desc), in pxad_alloc_desc()751 for (i = 0; i < nb_hw_desc; i++) { in pxad_alloc_desc()