Searched refs:s_sge (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/net/rds/ |
D | ib_send.c | 201 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() 635 send->s_sge[0].addr = ic->i_send_hdrs_dma[pos]; in rds_ib_xmit() 637 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit() 638 send->s_sge[0].lkey = ic->i_pd->local_dma_lkey; in rds_ib_xmit() 655 send->s_sge[1].addr = sg_dma_address(scat); in rds_ib_xmit() 656 send->s_sge[1].addr += rm->data.op_dmaoff; in rds_ib_xmit() 657 send->s_sge[1].length = len; in rds_ib_xmit() 658 send->s_sge[1].lkey = ic->i_pd->local_dma_lkey; in rds_ib_xmit() [all …]
|
D | ib.h | 108 struct ib_sge s_sge[RDS_IB_MAX_SGE]; member
|
/Linux-v5.15/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 99 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_uc_req() 100 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_uc_req() 101 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_uc_req() 102 qp->s_sge.total_len = wqe->length; in qib_make_uc_req() 214 qp->s_cur_sge = &qp->s_sge; in qib_make_uc_req()
|
D | qib_ud.c | 315 qp->s_cur_sge = &qp->s_sge; in qib_make_ud_req() 318 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_ud_req() 319 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_ud_req() 320 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_ud_req() 321 qp->s_sge.total_len = wqe->length; in qib_make_ud_req()
|
D | qib_rc.c | 311 ss = &qp->s_sge; in qib_make_rc_req() 448 qp->s_sge.sge = wqe->sg_list[0]; in qib_make_rc_req() 449 qp->s_sge.sg_list = wqe->sg_list + 1; in qib_make_rc_req() 450 qp->s_sge.num_sge = wqe->wr.num_sge; in qib_make_rc_req() 451 qp->s_sge.total_len = wqe->length; in qib_make_rc_req() 474 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req() 481 ss = &qp->s_sge; in qib_make_rc_req() 513 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in qib_make_rc_req() 520 ss = &qp->s_sge; in qib_make_rc_req()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | uc.c | 112 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_uc_req() 113 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_uc_req() 114 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_uc_req() 115 qp->s_sge.total_len = wqe->length; in hfi1_make_uc_req() 230 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_uc_req()
|
D | ud.c | 510 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_ud_req() 514 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_ud_req() 515 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_ud_req() 516 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_ud_req() 517 qp->s_sge.total_len = wqe->length; in hfi1_make_ud_req()
|
D | rc.c | 541 ss = &qp->s_sge; in hfi1_make_rc_req() 792 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_rc_req() 793 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_rc_req() 794 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_rc_req() 795 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req() 876 qp->s_sge.sge = wqe->sg_list[0]; in hfi1_make_rc_req() 877 qp->s_sge.sg_list = wqe->sg_list + 1; in hfi1_make_rc_req() 878 qp->s_sge.num_sge = wqe->wr.num_sge; in hfi1_make_rc_req() 879 qp->s_sge.total_len = wqe->length; in hfi1_make_rc_req() 906 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req() [all …]
|
D | tid_rdma.c | 1829 restart_sge(&qp->s_sge, wqe, req->s_next_psn, in hfi1_build_tid_rdma_read_req() 1852 if (hfi1_kern_exp_rcv_setup(req, &qp->s_sge, &last)) { in hfi1_build_tid_rdma_read_req() 5015 struct rvt_sge_state *ss = &qp->s_sge; in hfi1_make_tid_rdma_pkt()
|
/Linux-v5.15/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 2981 sqp->s_sge.sge = wqe->sg_list[0]; in rvt_ruc_loopback() 2982 sqp->s_sge.sg_list = wqe->sg_list + 1; in rvt_ruc_loopback() 2983 sqp->s_sge.num_sge = wqe->wr.num_sge; in rvt_ruc_loopback() 3058 if (unlikely(!rvt_rkey_ok(qp, &sqp->s_sge.sge, wqe->length, in rvt_ruc_loopback() 3064 sqp->s_sge.sg_list = NULL; in rvt_ruc_loopback() 3065 sqp->s_sge.num_sge = 1; in rvt_ruc_loopback() 3084 *(u64 *)sqp->s_sge.sge.vaddr = in rvt_ruc_loopback() 3098 sge = &sqp->s_sge.sge; in rvt_ruc_loopback() 3105 rvt_update_sge(&sqp->s_sge, len, !release); in rvt_ruc_loopback()
|
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 3142 struct ib_sge s_sge[2]; in bnxt_re_process_raw_qp_pkt_rx() local 3148 memset(&s_sge, 0, sizeof(s_sge)); in bnxt_re_process_raw_qp_pkt_rx() 3190 s_sge[0].addr = rq_hdr_buf_map + BNXT_QPLIB_MAX_QP1_RQ_ETH_HDR_SIZE in bnxt_re_process_raw_qp_pkt_rx() 3192 s_sge[0].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx() 3193 s_sge[0].length = offset ? BNXT_QPLIB_MAX_GRH_HDR_SIZE_IPV4 : in bnxt_re_process_raw_qp_pkt_rx() 3197 s_sge[1].addr = s_sge[0].addr + s_sge[0].length + in bnxt_re_process_raw_qp_pkt_rx() 3200 s_sge[1].addr += 8; in bnxt_re_process_raw_qp_pkt_rx() 3201 s_sge[1].lkey = 0xFFFFFFFF; in bnxt_re_process_raw_qp_pkt_rx() 3202 s_sge[1].length = 256; in bnxt_re_process_raw_qp_pkt_rx() 3228 swr->sg_list = s_sge; in bnxt_re_process_raw_qp_pkt_rx()
|
/Linux-v5.15/include/rdma/ |
D | rdmavt_qp.h | 408 struct rvt_sge_state s_sge; /* current send request data */ member
|