Home
last modified time | relevance | path

Searched refs:s_sge (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/net/rds/
Dib_send.c205 send->s_wr.sg_list = send->s_sge; in rds_ib_send_init_ring()
208 sge = &send->s_sge[0]; in rds_ib_send_init_ring()
213 send->s_sge[1].lkey = ic->i_pd->local_dma_lkey; in rds_ib_send_init_ring()
638 send->s_sge[0].addr = ic->i_send_hdrs_dma in rds_ib_xmit()
640 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
651 send->s_sge[1].addr = ib_sg_dma_address(dev, scat); in rds_ib_xmit()
652 send->s_sge[1].addr += rm->data.op_dmaoff; in rds_ib_xmit()
653 send->s_sge[1].length = len; in rds_ib_xmit()
811 send->s_sge[0].addr = ib_sg_dma_address(ic->i_cm_id->device, op->op_sg); in rds_ib_xmit_atomic()
812 send->s_sge[0].length = ib_sg_dma_len(ic->i_cm_id->device, op->op_sg); in rds_ib_xmit_atomic()
[all …]
Dib.h107 struct ib_sge s_sge[RDS_IB_MAX_SGE]; member
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ruc.c262 sqp->s_sge.sge = wqe->sg_list[0]; in qib_ruc_loopback()
263 sqp->s_sge.sg_list = wqe->sg_list + 1; in qib_ruc_loopback()
264 sqp->s_sge.num_sge = wqe->wr.num_sge; in qib_ruc_loopback()
308 if (unlikely(!rvt_rkey_ok(qp, &sqp->s_sge.sge, wqe->length, in qib_ruc_loopback()
314 sqp->s_sge.sg_list = NULL; in qib_ruc_loopback()
315 sqp->s_sge.num_sge = 1; in qib_ruc_loopback()
334 *(u64 *) sqp->s_sge.sge.vaddr = in qib_ruc_loopback()
348 sge = &sqp->s_sge.sge; in qib_ruc_loopback()
364 if (--sqp->s_sge.num_sge) in qib_ruc_loopback()
365 *sge = *sqp->s_sge.sg_list++; in qib_ruc_loopback()
Dqib_uc.c98 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_uc_req()
99 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_uc_req()
100 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_uc_req()
101 qp->s_sge.total_len = wqe->length; in qib_make_uc_req()
213 qp->s_cur_sge = &qp->s_sge; in qib_make_uc_req()
Dqib_ud.c319 qp->s_cur_sge = &qp->s_sge; in qib_make_ud_req()
322 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_ud_req()
323 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_ud_req()
324 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_ud_req()
325 qp->s_sge.total_len = wqe->length; in qib_make_ud_req()
Dqib_rc.c315 ss = &qp->s_sge; in qib_make_rc_req()
458 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_rc_req()
459 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_rc_req()
460 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_rc_req()
461 qp->s_sge.total_len = wqe->length; in qib_make_rc_req()
484 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req()
491 ss = &qp->s_sge; in qib_make_rc_req()
523 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req()
530 ss = &qp->s_sge; in qib_make_rc_req()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Druc.c246 sqp->s_sge.sge = wqe->sg_list[0]; in ruc_loopback()
247 sqp->s_sge.sg_list = wqe->sg_list + 1; in ruc_loopback()
248 sqp->s_sge.num_sge = wqe->wr.num_sge; in ruc_loopback()
315 if (unlikely(!rvt_rkey_ok(qp, &sqp->s_sge.sge, wqe->length, in ruc_loopback()
321 sqp->s_sge.sg_list = NULL; in ruc_loopback()
322 sqp->s_sge.num_sge = 1; in ruc_loopback()
341 *(u64 *)sqp->s_sge.sge.vaddr = in ruc_loopback()
355 sge = &sqp->s_sge.sge; in ruc_loopback()
371 if (--sqp->s_sge.num_sge) in ruc_loopback()
372 *sge = *sqp->s_sge.sg_list++; in ruc_loopback()
Duc.c153 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_uc_req()
154 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_uc_req()
155 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_uc_req()
156 qp->s_sge.total_len = wqe->length; in hfi1_make_uc_req()
271 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_uc_req()
Dud.c570 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req()
574 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_ud_req()
575 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_ud_req()
576 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_ud_req()
577 qp->s_sge.total_len = wqe->length; in hfi1_make_ud_req()
Drc.c398 ss = &qp->s_sge; in hfi1_make_rc_req()
549 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_rc_req()
550 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_rc_req()
551 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_rc_req()
552 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req()
575 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req()
582 ss = &qp->s_sge; in hfi1_make_rc_req()
620 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req()
627 ss = &qp->s_sge; in hfi1_make_rc_req()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2926 struct ib_sge s_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local
2932 memset(&s_sge, 0, sizeof(s_sge)); in bnxt_re_process_raw_qp_pkt_rx()
2974 s_sge[0].addr = rq_hdr_buf_map + BNXT_QPLIB_MAX_QP1_RQ_ETH_HDR_SIZE in bnxt_re_process_raw_qp_pkt_rx()
2976 s_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
2977 s_sge[0].length = offset ? BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV4 : in bnxt_re_process_raw_qp_pkt_rx()
2981 s_sge[1].addr = s_sge[0].addr + s_sge[0].length + in bnxt_re_process_raw_qp_pkt_rx()
2984 s_sge[1].addr += 8; in bnxt_re_process_raw_qp_pkt_rx()
2985 s_sge[1].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
2986 s_sge[1].length = 256; in bnxt_re_process_raw_qp_pkt_rx()
3012 swr->sg_list = s_sge; in bnxt_re_process_raw_qp_pkt_rx()
/Linux-v4.19/include/rdma/
Drdmavt_qp.h348 struct rvt_sge_state s_sge; /* current send request data */ member