Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c2918 rvt_copy_sge(qp, &qp->r_sge, data, pmtu, true, false); in hfi1_rc_rcv()
2974 rvt_copy_sge(qp, &qp->r_sge, data, tlen, true, copy_last); in hfi1_rc_rcv()
2975 rvt_put_ss(&qp->r_sge); in hfi1_rc_rcv()
3021 qp->r_sge.sg_list = NULL; in hfi1_rc_rcv()
3028 ok = rvt_rkey_ok(qp, &qp->r_sge.sge, qp->r_len, vaddr, in hfi1_rc_rcv()
3032 qp->r_sge.num_sge = 1; in hfi1_rc_rcv()
3034 qp->r_sge.num_sge = 0; in hfi1_rc_rcv()
3035 qp->r_sge.sge.mr = NULL; in hfi1_rc_rcv()
3036 qp->r_sge.sge.vaddr = NULL; in hfi1_rc_rcv()
3037 qp->r_sge.sge.length = 0; in hfi1_rc_rcv()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c627 rvt_put_ss(&qp->r_sge); in rvt_clear_mr_refs()
743 if (rvt_ss_has_lkey(&qp->r_sge, lkey) || in rvt_qp_mr_clean()
902 qp->r_sge.num_sge = 0; in rvt_init_qp()
2329 ss = &qp->r_sge; in init_sge()
3094 if (unlikely(!rvt_rkey_ok(qp, &qp->r_sge.sge, wqe->length, in rvt_ruc_loopback()
3099 qp->r_sge.sg_list = NULL; in rvt_ruc_loopback()
3100 qp->r_sge.num_sge = 1; in rvt_ruc_loopback()
3101 qp->r_sge.total_len = wqe->length; in rvt_ruc_loopback()
3115 qp->r_sge.sge = wqe->sg_list[0]; in rvt_ruc_loopback()
3116 qp->r_sge.sg_list = wqe->sg_list + 1; in rvt_ruc_loopback()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3155 struct ib_sge r_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local
3161 memset(&r_sge, 0, sizeof(r_sge)); in bnxt_re_process_raw_qp_pkt_rx()
3218 r_sge[0].addr = shrq_hdr_buf_map; in bnxt_re_process_raw_qp_pkt_rx()
3219 r_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
3220 r_sge[0].length = 40; in bnxt_re_process_raw_qp_pkt_rx()
3222 r_sge[1].addr = sqp_entry->sge.addr + offset; in bnxt_re_process_raw_qp_pkt_rx()
3223 r_sge[1].lkey = sqp_entry->sge.lkey; in bnxt_re_process_raw_qp_pkt_rx()
3224 r_sge[1].length = BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV6 + 256 - offset; in bnxt_re_process_raw_qp_pkt_rx()
3228 rwr.sg_list = r_sge; in bnxt_re_process_raw_qp_pkt_rx()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h393 struct rvt_sge_state r_sge; /* current receive data */ member