• Home
  • Raw
  • Download

Lines Matching refs:nreq

78 static int mlx5_wq_overflow(struct mlx5_ib_wq *wq, int nreq,  in mlx5_wq_overflow()  argument
85 if (likely(cur + nreq < wq->max_post)) in mlx5_wq_overflow()
93 return cur + nreq >= wq->max_post; in mlx5_wq_overflow()
948 int *size, void **cur_edge, int nreq, in __begin_wqe() argument
951 if (unlikely(mlx5_wq_overflow(&qp->sq, nreq, qp->ibqp.send_cq))) in __begin_wqe()
973 void **cur_edge, int nreq) in begin_wqe() argument
975 return __begin_wqe(qp, seg, ctrl, wr, idx, size, cur_edge, nreq, in begin_wqe()
983 unsigned int idx, u64 wr_id, int nreq, u8 fence, in finish_wqe() argument
997 qp->sq.wqe_head[idx] = qp->sq.head + nreq; in finish_wqe()
1039 void **cur_edge, unsigned int *idx, int nreq, in handle_psv() argument
1048 err = __begin_wqe(qp, seg, ctrl, wr, idx, size, cur_edge, nreq, in handle_psv()
1060 finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, nreq, in handle_psv()
1072 unsigned int *idx, int nreq, u8 fence, in handle_reg_mr_integrity() argument
1102 nreq, fence, MLX5_OPCODE_UMR); in handle_reg_mr_integrity()
1104 err = begin_wqe(qp, seg, ctrl, wr, idx, size, cur_edge, nreq); in handle_reg_mr_integrity()
1133 finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, nreq, in handle_reg_mr_integrity()
1137 err = handle_psv(dev, qp, wr, ctrl, seg, size, cur_edge, idx, nreq, in handle_reg_mr_integrity()
1143 err = handle_psv(dev, qp, wr, ctrl, seg, size, cur_edge, idx, nreq, in handle_reg_mr_integrity()
1158 void **cur_edge, unsigned int *idx, int nreq, u8 fence, in handle_qpt_rc() argument
1191 cur_edge, idx, nreq, fence, in handle_qpt_rc()
1294 int nreq; in mlx5_ib_post_send() local
1312 for (nreq = 0; wr; nreq++, wr = wr->next) { in mlx5_ib_post_send()
1329 nreq); in mlx5_ib_post_send()
1360 &cur_edge, &idx, nreq, fence, in mlx5_ib_post_send()
1421 finish_wqe(qp, ctrl, seg, size, cur_edge, idx, wr->wr_id, nreq, in mlx5_ib_post_send()
1429 if (likely(nreq)) { in mlx5_ib_post_send()
1430 qp->sq.head += nreq; in mlx5_ib_post_send()
1471 int nreq; in mlx5_ib_post_recv() local
1488 for (nreq = 0; wr; nreq++, wr = wr->next) { in mlx5_ib_post_recv()
1489 if (mlx5_wq_overflow(&qp->rq, nreq, qp->ibqp.recv_cq)) { in mlx5_ib_post_recv()
1525 if (likely(nreq)) { in mlx5_ib_post_recv()
1526 qp->rq.head += nreq; in mlx5_ib_post_recv()