Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_uc.c277 qp->r_sge.num_sge = 0; in qib_uc_rcv()
279 rvt_put_ss(&qp->r_sge); in qib_uc_rcv()
336 qp->r_sge = qp->s_rdma_read_sge; in qib_uc_rcv()
347 qp->s_rdma_read_sge = qp->r_sge; in qib_uc_rcv()
362 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); in qib_uc_rcv()
388 rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); in qib_uc_rcv()
418 qp->r_sge.sg_list = NULL; in qib_uc_rcv()
425 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in qib_uc_rcv()
429 qp->r_sge.num_sge = 1; in qib_uc_rcv()
431 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()
549 rvt_copy_sge(qp, &qp->r_sge, &hdr->u.l.grh, in qib_ud_rcv()
553 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in qib_ud_rcv()
554 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in qib_ud_rcv()
556 rvt_put_ss(&qp->r_sge); in qib_ud_rcv()
Dqib_rc.c1820 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); in qib_rc_rcv()
1866 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, false); in qib_rc_rcv()
1867 rvt_put_ss(&qp->r_sge); in qib_rc_rcv()
1901 qp->r_sge.sg_list = NULL; in qib_rc_rcv()
1908 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in qib_rc_rcv()
1912 qp->r_sge.num_sge = 1; in qib_rc_rcv()
1914 qp->r_sge.num_sge = 0; in qib_rc_rcv()
1915 qp->r_sge.sge.mr = NULL; in qib_rc_rcv()
1916 qp->r_sge.sge.vaddr = NULL; in qib_rc_rcv()
1917 qp->r_sge.sge.length = 0; in qib_rc_rcv()
[all …]
/drivers/infiniband/hw/hfi1/
Duc.c339 qp->r_sge.num_sge = 0; in hfi1_uc_rcv()
341 rvt_put_ss(&qp->r_sge); in hfi1_uc_rcv()
399 qp->r_sge = qp->s_rdma_read_sge; in hfi1_uc_rcv()
410 qp->s_rdma_read_sge = qp->r_sge; in hfi1_uc_rcv()
430 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, false, false); in hfi1_uc_rcv()
453 rvt_copy_sge(qp, &qp->r_sge, data, tlen, false, false); in hfi1_uc_rcv()
493 qp->r_sge.sg_list = NULL; in hfi1_uc_rcv()
500 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, in hfi1_uc_rcv()
504 qp->r_sge.num_sge = 1; in hfi1_uc_rcv()
506 qp->r_sge.num_sge = 0; in hfi1_uc_rcv()
[all …]
Dud.c214 rvt_copy_sge(qp, &qp->r_sge, &grh, in ud_loopback()
218 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in ud_loopback()
228 rvt_copy_sge(qp, &qp->r_sge, sge->vaddr, len, true, false); in ud_loopback()
232 rvt_put_ss(&qp->r_sge); in ud_loopback()
1008 rvt_copy_sge(qp, &qp->r_sge, packet->grh, in hfi1_ud_rcv()
1019 rvt_copy_sge(qp, &qp->r_sge, &grh, in hfi1_ud_rcv()
1023 rvt_skip_sge(&qp->r_sge, sizeof(struct ib_grh), true); in hfi1_ud_rcv()
1025 rvt_copy_sge(qp, &qp->r_sge, data, wc.byte_len - sizeof(struct ib_grh), in hfi1_ud_rcv()
1027 rvt_put_ss(&qp->r_sge); in hfi1_ud_rcv()
Drc.c2919 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); in hfi1_rc_rcv()
2975 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, copy_last); in hfi1_rc_rcv()
2976 rvt_put_ss(&qp->r_sge); in hfi1_rc_rcv()
3022 qp->r_sge.sg_list = NULL; in hfi1_rc_rcv()
3029 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in hfi1_rc_rcv()
3033 qp->r_sge.num_sge = 1; in hfi1_rc_rcv()
3035 qp->r_sge.num_sge = 0; in hfi1_rc_rcv()
3036 qp->r_sge.sge.mr = NULL; in hfi1_rc_rcv()
3037 qp->r_sge.sge.vaddr = NULL; in hfi1_rc_rcv()
3038 qp->r_sge.sge.length = 0; in hfi1_rc_rcv()
[all …]
/drivers/infiniband/sw/rdmavt/
Dqp.c623 rvt_put_ss(&qp->r_sge); in rvt_clear_mr_refs()
739 if (rvt_ss_has_lkey(&qp->r_sge, lkey) || in rvt_qp_mr_clean()
900 qp->r_sge.num_sge = 0; in rvt_init_qp()
2299 ss = &qp->r_sge; in init_sge()
3087 if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, wqe->length, in rvt_ruc_loopback()
3092 qp->r_sge.sg_list = NULL; in rvt_ruc_loopback()
3093 qp->r_sge.num_sge = 1; in rvt_ruc_loopback()
3094 qp->r_sge.total_len = wqe->length; in rvt_ruc_loopback()
3108 qp->r_sge.sge = wqe->sg_list[0]; in rvt_ruc_loopback()
3109 qp->r_sge.sg_list = wqe->sg_list + 1; in rvt_ruc_loopback()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2868 struct ib_sge r_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local
2874 memset(&r_sge, 0, sizeof(r_sge)); in bnxt_re_process_raw_qp_pkt_rx()
2931 r_sge[0].addr = shrq_hdr_buf_map; in bnxt_re_process_raw_qp_pkt_rx()
2932 r_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
2933 r_sge[0].length = 40; in bnxt_re_process_raw_qp_pkt_rx()
2935 r_sge[1].addr = sqp_entry->sge.addr + offset; in bnxt_re_process_raw_qp_pkt_rx()
2936 r_sge[1].lkey = sqp_entry->sge.lkey; in bnxt_re_process_raw_qp_pkt_rx()
2937 r_sge[1].length = BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV6 + 256 - offset; in bnxt_re_process_raw_qp_pkt_rx()
2941 rwr.sg_list = r_sge; in bnxt_re_process_raw_qp_pkt_rx()