Home
last modified time | relevance | path

Searched refs:rdma_sge (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/hfi1/
Drc.h46 if (e->rdma_sge.mr) { in release_rdma_sge_mr()
47 rvt_put_mr(e->rdma_sge.mr); in release_rdma_sge_mr()
48 e->rdma_sge.mr = NULL; in release_rdma_sge_mr()
Drc.c187 len = e->rdma_sge.sge_length; in make_rc_ack()
188 if (len && !e->rdma_sge.mr) { in make_rc_ack()
197 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack()
200 qp->s_ack_rdma_sge.sge = e->rdma_sge; in make_rc_ack()
236 len = e->rdma_sge.sge_length; in make_rc_ack()
237 if (len && !e->rdma_sge.mr) { in make_rc_ack()
246 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack()
249 qp->s_ack_rdma_sge.sge = e->rdma_sge; in make_rc_ack()
2631 if (unlikely(offset + len != e->rdma_sge.sge_length)) in rc_rcv_error()
2639 ok = rvt_rkey_ok(qp, &e->rdma_sge, len, vaddr, rkey, in rc_rcv_error()
[all …]
Dtid_rdma.c2039 ok = rvt_rkey_ok(qp, &e->rdma_sge, len, vaddr, rkey, in tid_rdma_rcv_error()
2283 if (unlikely(!rvt_rkey_ok(qp, &e->rdma_sge, qp->r_len, vaddr, in hfi1_rc_rcv_tid_rdma_read_req()
3734 if (unlikely(!rvt_rkey_ok(qp, &e->rdma_sge, qp->r_len, vaddr, in hfi1_rc_rcv_tid_rdma_write_req()
3756 req->ss.sge = e->rdma_sge; in hfi1_rc_rcv_tid_rdma_write_req()
4321 ss.sge = e->rdma_sge; in hfi1_rc_rcv_tid_rdma_write_data()
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_rc.c82 if (e->rdma_sge.mr) { in qib_make_rc_ack()
83 rvt_put_mr(e->rdma_sge.mr); in qib_make_rc_ack()
84 e->rdma_sge.mr = NULL; in qib_make_rc_ack()
113 len = e->rdma_sge.sge_length; in qib_make_rc_ack()
114 if (len && !e->rdma_sge.mr) { in qib_make_rc_ack()
119 qp->s_rdma_mr = e->rdma_sge.mr; in qib_make_rc_ack()
122 qp->s_ack_rdma_sge.sge = e->rdma_sge; in qib_make_rc_ack()
1598 if (unlikely(offset + len != e->rdma_sge.sge_length)) in qib_rc_rcv_error()
1600 if (e->rdma_sge.mr) { in qib_rc_rcv_error()
1601 rvt_put_mr(e->rdma_sge.mr); in qib_rc_rcv_error()
[all …]
/Linux-v5.10/include/rdma/
Drdmavt_qp.h290 struct rvt_sge rdma_sge; member
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dqp.c649 if (e->rdma_sge.mr) { in rvt_clear_mr_refs()
650 rvt_put_mr(e->rdma_sge.mr); in rvt_clear_mr_refs()
651 e->rdma_sge.mr = NULL; in rvt_clear_mr_refs()
713 if (rvt_mr_has_lkey(e->rdma_sge.mr, lkey)) in rvt_qp_acks_has_lkey()