Home
last modified time | relevance | path

Searched refs:recv_wr (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/infiniband/hw/erdma/
H A Derdma_qp.c541 const struct ib_recv_wr *recv_wr) in erdma_post_recv_one() argument
550 if (recv_wr->num_sge == 0) { in erdma_post_recv_one()
552 } else if (recv_wr->num_sge == 1) { in erdma_post_recv_one()
553 rqe->stag = cpu_to_le32(recv_wr->sg_list[0].lkey); in erdma_post_recv_one()
554 rqe->to = cpu_to_le64(recv_wr->sg_list[0].addr); in erdma_post_recv_one()
555 rqe->length = cpu_to_le32(recv_wr->sg_list[0].length); in erdma_post_recv_one()
564 recv_wr->wr_id; in erdma_post_recv_one()
570 int erdma_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *recv_wr, in erdma_post_recv() argument
573 const struct ib_recv_wr *wr = recv_wr; in erdma_post_recv()
H A Derdma_verbs.h359 int erdma_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *recv_wr,
/linux/drivers/infiniband/core/
H A Dcma_trace.h187 __field(u32, recv_wr)
199 __entry->recv_wr = qp_init_attr->cap.max_recv_wr;
219 __entry->recv_wr, __entry->qp_num, __entry->rc
H A Dmad.c2675 struct ib_recv_wr recv_wr; in ib_mad_post_receive_mads() local
2682 recv_wr.next = NULL; in ib_mad_post_receive_mads()
2683 recv_wr.sg_list = &sg_list; in ib_mad_post_receive_mads()
2684 recv_wr.num_sge = 1; in ib_mad_post_receive_mads()
2713 recv_wr.wr_cqe = &mad_priv->header.mad_list.cqe; in ib_mad_post_receive_mads()
2720 ret = ib_post_recv(qp_info->qp, &recv_wr, NULL); in ib_mad_post_receive_mads()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.h210 int bnxt_re_post_srq_recv(struct ib_srq *srq, const struct ib_recv_wr *recv_wr,
221 int bnxt_re_post_recv(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
/linux/fs/smb/client/
H A Dsmbdirect.c1010 struct ib_recv_wr recv_wr; in smbd_post_recv() local
1024 recv_wr.wr_cqe = &response->cqe; in smbd_post_recv()
1025 recv_wr.next = NULL; in smbd_post_recv()
1026 recv_wr.sg_list = &response->sge; in smbd_post_recv()
1027 recv_wr.num_sge = 1; in smbd_post_recv()
1029 rc = ib_post_recv(info->id->qp, &recv_wr, NULL); in smbd_post_recv()
/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c1319 struct ib_recv_wr recv_wr; in mlx4_ib_post_pv_qp_buf() local
1330 recv_wr.next = NULL; in mlx4_ib_post_pv_qp_buf()
1331 recv_wr.sg_list = &sg_list; in mlx4_ib_post_pv_qp_buf()
1332 recv_wr.num_sge = 1; in mlx4_ib_post_pv_qp_buf()
1333 recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | in mlx4_ib_post_pv_qp_buf()
1337 return ib_post_recv(tun_qp->qp, &recv_wr, &bad_recv_wr); in mlx4_ib_post_pv_qp_buf()
/linux/include/rdma/
H A Dib_verbs.h2335 int (*post_recv)(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
2343 const struct ib_recv_wr *recv_wr,
3708 const struct ib_recv_wr *recv_wr, in ib_post_srq_recv() argument
3713 return srq->device->ops.post_srq_recv(srq, recv_wr, in ib_post_srq_recv()
3847 const struct ib_recv_wr *recv_wr, in ib_post_recv() argument
3852 return qp->device->ops.post_recv(qp, recv_wr, bad_recv_wr ? : &dummy); in ib_post_recv()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h862 struct ib_uverbs_recv_wr recv_wr[]; member