Lines Matching refs:q_depth

115 	for (i = 0; i < ccb->q_depth; i++) {  in bnad_cq_cmpl_init()
120 BNA_QE_INDX_ADD(ccb_prod, wis, ccb->q_depth); in bnad_cq_cmpl_init()
169 for (q = 0; q < unmap_q->q_depth; q++) { in bnad_free_all_txbufs()
176 unmap_cons, unmap_q->q_depth, skb, in bnad_free_all_txbufs()
214 updated_hw_cons, tcb->q_depth); in bnad_free_txbufs()
216 BUG_ON(!(wis <= BNA_QE_IN_USE_CNT(tcb, tcb->q_depth))); in bnad_free_txbufs()
230 unmap_cons, unmap_q->q_depth, skb, in bnad_free_txbufs()
282 BNA_QE_FREE_CNT(tcb, tcb->q_depth) >= in bnad_tx_free_tasklet()
308 BNA_QE_FREE_CNT(tcb, tcb->q_depth) >= in bnad_tx()
360 for (unmap_cons = 0; unmap_cons < unmap_q->q_depth; unmap_cons++) { in bnad_free_all_rxbufs()
387 BNA_QE_FREE_CNT(unmap_q, unmap_q->q_depth); in bnad_alloc_n_post_rxbufs()
412 BNA_QE_INDX_ADD(unmap_prod, 1, unmap_q->q_depth); in bnad_alloc_n_post_rxbufs()
435 if (BNA_QE_FREE_CNT(unmap_q, unmap_q->q_depth) in bnad_refill_rxq()
466 BUG_ON(!(wi_range <= ccb->q_depth)); in bnad_poll_cq()
488 BNA_QE_INDX_ADD(unmap_q->consumer_index, 1, unmap_q->q_depth); in bnad_poll_cq()
491 BNA_QE_INDX_ADD(rcb->consumer_index, 1, rcb->q_depth); in bnad_poll_cq()
497 BNA_QE_INDX_ADD(ccb->producer_index, wis, ccb->q_depth); in bnad_poll_cq()
501 BUG_ON(!(wi_range <= ccb->q_depth)); in bnad_poll_cq()
545 BNA_QE_INDX_ADD(ccb->producer_index, wis, ccb->q_depth); in bnad_poll_cq()
834 unmap_q->q_depth = BNAD_TX_UNMAPQ_DEPTH; in bnad_cb_tcb_setup()
865 unmap_q->q_depth = BNAD_RX_UNMAPQ_DEPTH; in bnad_cb_rcb_setup()
1064 if (BNA_QE_FREE_CNT(unmap_q, unmap_q->q_depth) in bnad_cb_rx_post()
1880 rx_config->q_depth = bnad->rxq_depth; in bnad_init_rx_config()
2618 if (unlikely(wis > BNA_QE_FREE_CNT(tcb, tcb->q_depth) || in bnad_start_xmit()
2619 vectors > BNA_QE_FREE_CNT(unmap_q, unmap_q->q_depth))) { in bnad_start_xmit()
2640 (wis > BNA_QE_FREE_CNT(tcb, tcb->q_depth) || in bnad_start_xmit()
2641 vectors > BNA_QE_FREE_CNT(unmap_q, unmap_q->q_depth))) { in bnad_start_xmit()
2773 BNA_QE_INDX_ADD(unmap_prod, 1, unmap_q->q_depth); in bnad_start_xmit()
2787 unmap_prod, unmap_q->q_depth, skb, in bnad_start_xmit()
2802 tcb->q_depth); in bnad_start_xmit()
2819 BNA_QE_INDX_ADD(unmap_prod, 1, unmap_q->q_depth); in bnad_start_xmit()
2827 unmap_q->q_depth, skb, in bnad_start_xmit()
2835 BNA_QE_INDX_ADD(txq_prod, wis_used, tcb->q_depth); in bnad_start_xmit()