Home
last modified time | relevance | path

Searched refs:s_txreq (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/hw/hfi1/
Duc.c74 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_uc_req()
75 if (!ps->s_txreq) in hfi1_make_uc_req()
96 ps->s_txreq->phdr.hdr.hdr_type = priv->hdr_type; in hfi1_make_uc_req()
101 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_uc_req()
103 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req()
109 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_uc_req()
111 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_uc_req()
274 ps->s_txreq->sde = priv->s_sde; in hfi1_make_uc_req()
275 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_uc_req()
276 ps->s_txreq->s_cur_size = len; in hfi1_make_uc_req()
[all …]
Dud.c348 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
353 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B()
356 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B()
387 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
388 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B()
430 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ud_req_16B()
433 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_ud_req_16B()
436 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_ud_req_16B()
458 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B()
459 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ud_req_16B()
[all …]
Dverbs.c736 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem()
889 u32 len = ps->s_txreq->s_cur_size; in hfi1_verbs_send_dma()
899 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma()
910 tx = ps->s_txreq; in hfi1_verbs_send_dma()
917 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma()
945 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_dma()
955 hfi1_put_txreq(ps->s_txreq); in hfi1_verbs_send_dma()
956 ps->s_txreq = NULL; in hfi1_verbs_send_dma()
985 list_add_tail(&ps->s_txreq->txreq.list, in pio_wait()
1026 struct rvt_sge_state *ss = ps->s_txreq->ss; in hfi1_verbs_send_pio()
[all …]
Drc.c151 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack()
152 if (ps->s_txreq->mr) in make_rc_ack()
153 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack()
156 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack()
170 ps->s_txreq->ss = NULL; in make_rc_ack()
186 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack()
187 ps->s_txreq->mr = qp->s_ack_rdma_sge.sge.mr; in make_rc_ack()
188 if (ps->s_txreq->mr) in make_rc_ack()
189 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack()
215 ps->s_txreq->ss = NULL; in make_rc_ack()
[all …]
Druc.c780 ps->s_txreq->s_cur_size); in hfi1_make_ruc_header_16B()
781 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B()
798 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B()
833 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ruc_header_16B()
867 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B()
868 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B()
872 struct ib_grh *grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ruc_header_9B()
911 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ruc_header_9B()
1075 ps.s_txreq = get_waiting_verbs_txreq(qp); in hfi1_do_send()
Dverbs.h161 struct verbs_txreq *s_txreq; member