Home
last modified time | relevance | path

Searched refs:r_sge (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_uc.c278 qp->r_sge.num_sge = 0; in qib_uc_rcv()
280 rvt_put_ss(&qp->r_sge); in qib_uc_rcv()
337 qp->r_sge = qp->s_rdma_read_sge; in qib_uc_rcv()
348 qp->s_rdma_read_sge = qp->r_sge; in qib_uc_rcv()
363 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); in qib_uc_rcv()
389 rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); in qib_uc_rcv()
419 qp->r_sge.sg_list = NULL; in qib_uc_rcv()
426 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in qib_uc_rcv()
430 qp->r_sge.num_sge = 1; in qib_uc_rcv()
432 qp->r_sge.num_sge = 0; in qib_uc_rcv()
[all …]
Dqib_ud.c166 rvt_copy_sge(qp, &qp->r_sge, &grh, in qib_ud_loopback()
170 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_loopback()
178 rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, len, true, false); in qib_ud_loopback()
198 rvt_put_ss(&qp->r_sge); in qib_ud_loopback()
550 rvt_copy_sge(qp, &qp->r_sge, &hdr->u.l.grh, in qib_ud_rcv()
554 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_rcv()
555 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
557 rvt_put_ss(&qp->r_sge); in qib_ud_rcv()
Dqib_rc.c1823 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); in qib_rc_rcv()
1869 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); in qib_rc_rcv()
1870 rvt_put_ss(&qp->r_sge); in qib_rc_rcv()
1904 qp->r_sge.sg_list = NULL; in qib_rc_rcv()
1911 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in qib_rc_rcv()
1915 qp->r_sge.num_sge = 1; in qib_rc_rcv()
1917 qp->r_sge.num_sge = 0; in qib_rc_rcv()
1918 qp->r_sge.sge.mr = NULL; in qib_rc_rcv()
1919 qp->r_sge.sge.vaddr = NULL; in qib_rc_rcv()
1920 qp->r_sge.sge.length = 0; in qib_rc_rcv()
[all …]
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Duc.c293 qp->r_sge.num_sge = 0; in hfi1_uc_rcv()
295 rvt_put_ss(&qp->r_sge); in hfi1_uc_rcv()
353 qp->r_sge = qp->s_rdma_read_sge; in hfi1_uc_rcv()
364 qp->s_rdma_read_sge = qp->r_sge; in hfi1_uc_rcv()
384 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); in hfi1_uc_rcv()
407 rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); in hfi1_uc_rcv()
447 qp->r_sge.sg_list = NULL; in hfi1_uc_rcv()
454 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in hfi1_uc_rcv()
458 qp->r_sge.num_sge = 1; in hfi1_uc_rcv()
460 qp->r_sge.num_sge = 0; in hfi1_uc_rcv()
[all …]
Dud.c172 rvt_copy_sge(qp, &qp->r_sge, &grh, in ud_loopback()
176 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in ud_loopback()
186 rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, len, true, false); in ud_loopback()
190 rvt_put_ss(&qp->r_sge); in ud_loopback()
962 rvt_copy_sge(qp, &qp->r_sge, packet->grh, in hfi1_ud_rcv()
973 rvt_copy_sge(qp, &qp->r_sge, &grh, in hfi1_ud_rcv()
977 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in hfi1_ud_rcv()
979 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in hfi1_ud_rcv()
981 rvt_put_ss(&qp->r_sge); in hfi1_ud_rcv()
Drc.c2877 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); in hfi1_rc_rcv()
2933 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, copy_last); in hfi1_rc_rcv()
2934 rvt_put_ss(&qp->r_sge); in hfi1_rc_rcv()
2980 qp->r_sge.sg_list = NULL; in hfi1_rc_rcv()
2987 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in hfi1_rc_rcv()
2991 qp->r_sge.num_sge = 1; in hfi1_rc_rcv()
2993 qp->r_sge.num_sge = 0; in hfi1_rc_rcv()
2994 qp->r_sge.sge.mr = NULL; in hfi1_rc_rcv()
2995 qp->r_sge.sge.vaddr = NULL; in hfi1_rc_rcv()
2996 qp->r_sge.sge.length = 0; in hfi1_rc_rcv()
[all …]
/linux-5.19.10/drivers/infiniband/sw/rdmavt/
Dqp.c589 rvt_put_ss(&qp->r_sge); in rvt_clear_mr_refs()
705 if (rvt_ss_has_lkey(&qp->r_sge, lkey) || in rvt_qp_mr_clean()
865 qp->r_sge.num_sge = 0; in rvt_init_qp()
2280 ss = &qp->r_sge; in init_sge()
3045 if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, wqe->length, in rvt_ruc_loopback()
3050 qp->r_sge.sg_list = NULL; in rvt_ruc_loopback()
3051 qp->r_sge.num_sge = 1; in rvt_ruc_loopback()
3052 qp->r_sge.total_len = wqe->length; in rvt_ruc_loopback()
3066 qp->r_sge.sge = wqe->sg_list[0]; in rvt_ruc_loopback()
3067 qp->r_sge.sg_list = wqe->sg_list + 1; in rvt_ruc_loopback()
[all …]
/linux-5.19.10/net/rds/
Dib_recv.c60 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring()
63 sge = &recv->r_sge[0]; in rds_ib_recv_init_ring()
68 sge = &recv->r_sge[1]; in rds_ib_recv_init_ring()
345 sge = &recv->r_sge[0]; in rds_ib_recv_refill_one()
349 sge = &recv->r_sge[1]; in rds_ib_recv_refill_one()
Dib.h116 struct ib_sge r_sge[2]; member
/linux-5.19.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3149 struct ib_sge r_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local
3155 memset(&r_sge, 0, sizeof(r_sge)); in bnxt_re_process_raw_qp_pkt_rx()
3212 r_sge[0].addr = shrq_hdr_buf_map; in bnxt_re_process_raw_qp_pkt_rx()
3213 r_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
3214 r_sge[0].length = 40; in bnxt_re_process_raw_qp_pkt_rx()
3216 r_sge[1].addr = sqp_entry->sge.addr + offset; in bnxt_re_process_raw_qp_pkt_rx()
3217 r_sge[1].lkey = sqp_entry->sge.lkey; in bnxt_re_process_raw_qp_pkt_rx()
3218 r_sge[1].length = BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV6 + 256 - offset; in bnxt_re_process_raw_qp_pkt_rx()
3222 rwr.sg_list = r_sge; in bnxt_re_process_raw_qp_pkt_rx()
/linux-5.19.10/include/rdma/
Drdmavt_qp.h393 struct rvt_sge_state r_sge; /* current receive data */ member