Lines Matching refs:nq

301 	struct bnxt_qplib_nq *nq;  in bnxt_re_stop_irq()  local
305 nq = &rdev->nq[indx - 1]; in bnxt_re_stop_irq()
306 bnxt_qplib_nq_stop_irq(nq, false); in bnxt_re_stop_irq()
317 struct bnxt_qplib_nq *nq; in bnxt_re_start_irq() local
339 nq = &rdev->nq[indx - 1]; in bnxt_re_start_irq()
340 rc = bnxt_qplib_nq_start_irq(nq, indx - 1, in bnxt_re_start_irq()
890 static int bnxt_re_srqn_handler(struct bnxt_qplib_nq *nq, in bnxt_re_srqn_handler() argument
913 static int bnxt_re_cqn_handler(struct bnxt_qplib_nq *nq, in bnxt_re_cqn_handler() argument
942 bnxt_qplib_disable_nq(&rdev->nq[i - 1]); in bnxt_re_cleanup_res()
958 rc = bnxt_qplib_enable_nq(rdev->en_dev->pdev, &rdev->nq[i - 1], in bnxt_re_init_res()
972 bnxt_qplib_disable_nq(&rdev->nq[i]); in bnxt_re_init_res()
983 bnxt_re_net_ring_free(rdev, rdev->nq[i].ring_id, type); in bnxt_re_free_nq_res()
984 bnxt_qplib_free_nq(&rdev->nq[i]); in bnxt_re_free_nq_res()
985 rdev->nq[i].res = NULL; in bnxt_re_free_nq_res()
1030 struct bnxt_qplib_nq *nq; in bnxt_re_alloc_res() local
1032 nq = &rdev->nq[i]; in bnxt_re_alloc_res()
1033 nq->hwq.max_elements = BNXT_QPLIB_NQE_MAX_CNT; in bnxt_re_alloc_res()
1034 rc = bnxt_qplib_alloc_nq(&rdev->qplib_res, &rdev->nq[i]); in bnxt_re_alloc_res()
1041 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1042 rattr.pages = nq->hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1047 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
1052 bnxt_qplib_free_nq(&rdev->nq[i]); in bnxt_re_alloc_res()
1061 bnxt_re_net_ring_free(rdev, rdev->nq[i].ring_id, type); in bnxt_re_alloc_res()
1062 bnxt_qplib_free_nq(&rdev->nq[i]); in bnxt_re_alloc_res()