Lines Matching refs:budget

238 	int budget = nq->budget;  in clean_nq()  local
246 while (budget--) { in clean_nq()
305 int budget = nq->budget; in bnxt_qplib_service_nq() local
314 while (budget--) { in bnxt_qplib_service_nq()
574 nq->budget = 8; in bnxt_qplib_alloc_nq()
2127 struct bnxt_qplib_cqe **pcqe, int *budget) in __flush_sq() argument
2136 while (*budget) { in __flush_sq()
2153 (*budget)--; in __flush_sq()
2159 if (!(*budget) && sq->swq_last != start) in __flush_sq()
2167 struct bnxt_qplib_cqe **pcqe, int *budget) in __flush_rq() argument
2190 while (*budget) { in __flush_rq()
2201 (*budget)--; in __flush_rq()
2206 if (!*budget && rq->swq_last != start) in __flush_rq()
2328 struct bnxt_qplib_cqe **pcqe, int *budget, in bnxt_qplib_cq_process_req() argument
2358 while (*budget) { in bnxt_qplib_cq_process_req()
2384 (*budget)--; in bnxt_qplib_cq_process_req()
2398 (*budget)--; in bnxt_qplib_cq_process_req()
2436 int *budget) in bnxt_qplib_cq_process_res_rc() argument
2481 (*budget)--; in bnxt_qplib_cq_process_res_rc()
2498 (*budget)--; in bnxt_qplib_cq_process_res_rc()
2517 int *budget) in bnxt_qplib_cq_process_res_ud() argument
2568 (*budget)--; in bnxt_qplib_cq_process_res_ud()
2586 (*budget)--; in bnxt_qplib_cq_process_res_ud()
2618 int *budget) in bnxt_qplib_cq_process_res_raweth_qp1() argument
2676 (*budget)--; in bnxt_qplib_cq_process_res_raweth_qp1()
2693 (*budget)--; in bnxt_qplib_cq_process_res_raweth_qp1()
2712 int *budget) in bnxt_qplib_cq_process_terminal() argument
2756 while (*budget) { in bnxt_qplib_cq_process_terminal()
2769 (*budget)--; in bnxt_qplib_cq_process_terminal()
2775 if (!(*budget) && swq_last != cqe_cons) { in bnxt_qplib_cq_process_terminal()
2834 u32 budget = num_cqes; in bnxt_qplib_process_flush_list() local
2840 __flush_sq(&qp->sq, qp, &cqe, &budget); in bnxt_qplib_process_flush_list()
2845 __flush_rq(&qp->rq, qp, &cqe, &budget); in bnxt_qplib_process_flush_list()
2849 return num_cqes - budget; in bnxt_qplib_process_flush_list()
2857 int budget, rc = 0; in bnxt_qplib_poll_cq() local
2861 budget = num_cqes; in bnxt_qplib_poll_cq()
2863 while (budget) { in bnxt_qplib_poll_cq()
2882 &cqe, &budget, in bnxt_qplib_poll_cq()
2889 &budget); in bnxt_qplib_poll_cq()
2894 &budget); in bnxt_qplib_poll_cq()
2899 hw_cqe, &cqe, &budget); in bnxt_qplib_poll_cq()
2904 &cqe, &budget); in bnxt_qplib_poll_cq()
2936 return num_cqes - budget; in bnxt_qplib_poll_cq()