Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/rds/
Dib_send.c201 send->s_wr.sg_list = send->s_sge; in rds_ib_send_init_ring()
204 sge = &send->s_sge[0]; in rds_ib_send_init_ring()
210 send->s_sge[1].lkey = ic->i_pd->local_dma_lkey; in rds_ib_send_init_ring()
636 send->s_sge[0].addr = ic->i_send_hdrs_dma[pos]; in rds_ib_xmit()
638 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
639 send->s_sge[0].lkey = ic->i_pd->local_dma_lkey; in rds_ib_xmit()
656 send->s_sge[1].addr = sg_dma_address(scat); in rds_ib_xmit()
657 send->s_sge[1].addr += rm->data.op_dmaoff; in rds_ib_xmit()
658 send->s_sge[1].length = len; in rds_ib_xmit()
659 send->s_sge[1].lkey = ic->i_pd->local_dma_lkey; in rds_ib_xmit()
[all …]
Dib.h108 struct ib_sge s_sge[RDS_IB_MAX_SGE]; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
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.c314 qp->s_cur_sge = &qp->s_sge; in qib_make_ud_req()
317 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_ud_req()
318 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_ud_req()
319 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_ud_req()
320 qp->s_sge.total_len = wqe->length; in qib_make_ud_req()
Dqib_rc.c310 ss = &qp->s_sge; in qib_make_rc_req()
447 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_rc_req()
448 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_rc_req()
449 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_rc_req()
450 qp->s_sge.total_len = wqe->length; in qib_make_rc_req()
473 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req()
480 ss = &qp->s_sge; in qib_make_rc_req()
512 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req()
519 ss = &qp->s_sge; in qib_make_rc_req()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
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.c551 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req()
555 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_ud_req()
556 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_ud_req()
557 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_ud_req()
558 qp->s_sge.total_len = wqe->length; in hfi1_make_ud_req()
Drc.c582 ss = &qp->s_sge; in hfi1_make_rc_req()
833 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_rc_req()
834 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_rc_req()
835 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_rc_req()
836 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req()
917 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_rc_req()
918 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_rc_req()
919 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_rc_req()
920 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req()
947 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req()
[all …]
Dtid_rdma.c1822 restart_sge(&qp->s_sge, wqe, req->s_next_psn, in hfi1_build_tid_rdma_read_req()
1845 if (hfi1_kern_exp_rcv_setup(req, &qp->s_sge, &last)) { in hfi1_build_tid_rdma_read_req()
5003 struct rvt_sge_state *ss = &qp->s_sge; in hfi1_make_tid_rdma_pkt()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c3032 sqp->s_sge.sge = wqe->sg_list[0]; in rvt_ruc_loopback()
3033 sqp->s_sge.sg_list = wqe->sg_list + 1; in rvt_ruc_loopback()
3034 sqp->s_sge.num_sge = wqe->wr.num_sge; in rvt_ruc_loopback()
3109 if (unlikely(!rvt_rkey_ok(qp, &sqp->s_sge.sge, wqe->length, in rvt_ruc_loopback()
3115 sqp->s_sge.sg_list = NULL; in rvt_ruc_loopback()
3116 sqp->s_sge.num_sge = 1; in rvt_ruc_loopback()
3137 *(u64 *)sqp->s_sge.sge.vaddr = in rvt_ruc_loopback()
3151 sge = &sqp->s_sge.sge; in rvt_ruc_loopback()
3158 rvt_update_sge(&sqp->s_sge, len, !release); in rvt_ruc_loopback()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3156 struct ib_sge s_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local
3162 memset(&s_sge, 0, sizeof(s_sge)); in bnxt_re_process_raw_qp_pkt_rx()
3204 s_sge[0].addr = rq_hdr_buf_map + BNXT_QPLIB_MAX_QP1_RQ_ETH_HDR_SIZE in bnxt_re_process_raw_qp_pkt_rx()
3206 s_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
3207 s_sge[0].length = offset ? BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV4 : in bnxt_re_process_raw_qp_pkt_rx()
3211 s_sge[1].addr = s_sge[0].addr + s_sge[0].length + in bnxt_re_process_raw_qp_pkt_rx()
3214 s_sge[1].addr += 8; in bnxt_re_process_raw_qp_pkt_rx()
3215 s_sge[1].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx()
3216 s_sge[1].length = 256; in bnxt_re_process_raw_qp_pkt_rx()
3242 swr->sg_list = s_sge; in bnxt_re_process_raw_qp_pkt_rx()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h408 struct rvt_sge_state s_sge; /* current send request data */ member