Lines Matching refs:cur_edge
55 void **seg, int *size, void **cur_edge) in set_eth_seg() argument
79 copysz = min_t(u64, *cur_edge - (void *)eseg->inline_hdr.start, in set_eth_seg()
88 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_eth_seg()
91 mlx5r_memcpy_send_wqe(&qp->sq, cur_edge, seg, size, in set_eth_seg()
261 void **wqe, int *wqe_sz, void **cur_edge) in set_data_inl_seg() argument
287 cur_edge); in set_data_inl_seg()
289 leftlen = *cur_edge - *wqe; in set_data_inl_seg()
420 void **cur_edge) in set_sig_data_segment() argument
514 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_sig_data_segment()
523 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_sig_data_segment()
559 void **cur_edge) in set_pi_umr_wr() argument
591 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_pi_umr_wr()
597 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_pi_umr_wr()
600 cur_edge); in set_pi_umr_wr()
637 void **seg, int *size, void **cur_edge, in set_reg_wr() argument
673 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_reg_wr()
678 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_reg_wr()
681 mlx5r_memcpy_send_wqe(&qp->sq, cur_edge, seg, size, mr->descs, in set_reg_wr()
693 void **cur_edge) in set_linv_wr() argument
698 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_linv_wr()
702 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in set_linv_wr()
726 int *size, void **cur_edge, int nreq, __be32 general_id, in mlx5r_begin_wqe() argument
743 *cur_edge = qp->sq.cur_edge; in mlx5r_begin_wqe()
751 void **cur_edge, int nreq) in begin_wqe() argument
753 return mlx5r_begin_wqe(qp, seg, ctrl, idx, size, cur_edge, nreq, in begin_wqe()
759 void *seg, u8 size, void *cur_edge, unsigned int idx, in mlx5r_finish_wqe() argument
781 qp->sq.cur_edge = (unlikely(seg == cur_edge)) ? in mlx5r_finish_wqe()
784 cur_edge; in mlx5r_finish_wqe()
796 int *size, void **cur_edge, unsigned int idx) in handle_local_inv() argument
800 set_linv_wr(qp, seg, size, cur_edge); in handle_local_inv()
805 void **cur_edge, unsigned int idx) in handle_reg_mr() argument
809 return set_reg_wr(qp, reg_wr(wr), seg, size, cur_edge, true); in handle_reg_mr()
815 void **cur_edge, unsigned int *idx, int nreq, in handle_psv() argument
824 err = mlx5r_begin_wqe(qp, seg, ctrl, idx, size, cur_edge, nreq, in handle_psv()
836 mlx5r_finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, in handle_psv()
847 int *size, void **cur_edge, in handle_reg_mr_integrity() argument
873 err = set_reg_wr(qp, ®_pi_wr, seg, size, cur_edge, false); in handle_reg_mr_integrity()
877 mlx5r_finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, in handle_reg_mr_integrity()
880 err = begin_wqe(qp, seg, ctrl, wr, idx, size, cur_edge, nreq); in handle_reg_mr_integrity()
904 err = set_pi_umr_wr(wr, qp, seg, size, cur_edge); in handle_reg_mr_integrity()
909 mlx5r_finish_wqe(qp, *ctrl, *seg, *size, *cur_edge, *idx, wr->wr_id, in handle_reg_mr_integrity()
913 err = handle_psv(dev, qp, wr, ctrl, seg, size, cur_edge, idx, nreq, in handle_reg_mr_integrity()
919 err = handle_psv(dev, qp, wr, ctrl, seg, size, cur_edge, idx, nreq, in handle_reg_mr_integrity()
934 void **cur_edge, unsigned int *idx, int nreq, u8 fence, in handle_qpt_rc() argument
954 handle_local_inv(qp, wr, ctrl, seg, size, cur_edge, *idx); in handle_qpt_rc()
959 err = handle_reg_mr(qp, wr, ctrl, seg, size, cur_edge, *idx); in handle_qpt_rc()
967 cur_edge, idx, nreq, fence, in handle_qpt_rc()
996 int *size, void **cur_edge) in handle_qpt_hw_gsi() argument
1001 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in handle_qpt_hw_gsi()
1005 void **seg, int *size, void **cur_edge) in handle_qpt_ud() argument
1010 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in handle_qpt_ud()
1020 set_eth_seg(wr, qp, seg, size, cur_edge); in handle_qpt_ud()
1021 handle_post_send_edge(&qp->sq, seg, *size, cur_edge); in handle_qpt_ud()
1059 void *cur_edge; in mlx5_ib_post_send() local
1098 err = begin_wqe(qp, &seg, &ctrl, wr, &idx, &size, &cur_edge, in mlx5_ib_post_send()
1130 &cur_edge, &idx, nreq, fence, in mlx5_ib_post_send()
1152 handle_qpt_hw_gsi(qp, wr, &seg, &size, &cur_edge); in mlx5_ib_post_send()
1155 handle_qpt_ud(qp, wr, &seg, &size, &cur_edge); in mlx5_ib_post_send()
1163 err = set_data_inl_seg(qp, wr, &seg, &size, &cur_edge); in mlx5_ib_post_send()
1172 &cur_edge); in mlx5_ib_post_send()
1185 mlx5r_finish_wqe(qp, ctrl, seg, size, cur_edge, idx, wr->wr_id, in mlx5_ib_post_send()