Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dud.c282 ps->s_txreq->hdr_dwords = 7; in hfi1_make_ud_req_9B()
284 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B()
288 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B()
357 ps->s_txreq->hdr_dwords = 6; in hfi1_make_ud_req_16B()
361 ps->s_txreq->hdr_dwords = 9; in hfi1_make_ud_req_16B()
363 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_16B()
446 if (!ps->s_txreq) in hfi1_make_ud_req()
533 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
534 ps->s_txreq = NULL; in hfi1_make_ud_req()
538 hfi1_put_txreq(ps->s_txreq); in hfi1_make_ud_req()
[all …]
H A Druc.c244 (ps->s_txreq->hdr_dwords << 2), in hfi1_make_ruc_header_16B()
245 ps->s_txreq->s_cur_size); in hfi1_make_ruc_header_16B()
261 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B()
263 ps->s_txreq->hdr_dwords += in hfi1_make_ruc_header_16B()
297 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ruc_header_16B()
301 (ps->s_txreq->hdr_dwords + nwords) >> 1, in hfi1_make_ruc_header_16B()
330 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B()
338 ps->s_txreq->hdr_dwords += in hfi1_make_ruc_header_9B()
367 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ruc_header_9B()
369 ps->s_txreq->hdr_dwords + nwords, in hfi1_make_ruc_header_9B()
[all …]
H A Duc.c33 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_uc_req()
34 if (!ps->s_txreq) in hfi1_make_uc_req()
60 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req()
228 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_uc_req()
229 ps->s_txreq->sde = priv->s_sde; in hfi1_make_uc_req()
230 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_uc_req()
231 ps->s_txreq->s_cur_size = len; in hfi1_make_uc_req()
238 hfi1_put_txreq(ps->s_txreq); in hfi1_make_uc_req()
239 ps->s_txreq = NULL; in hfi1_make_uc_req()
243 hfi1_put_txreq(ps->s_txreq); in hfi1_make_uc_req()
[all …]
H A Dverbs.c803 u32 len = ps->s_txreq->s_cur_size; in hfi1_verbs_send_dma()
812 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma()
822 tx = ps->s_txreq; in hfi1_verbs_send_dma()
829 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma()
871 hfi1_put_txreq(ps->s_txreq); in hfi1_verbs_send_dma()
872 ps->s_txreq = NULL; in hfi1_verbs_send_dma()
943 u32 len = ps->s_txreq->s_cur_size; in hfi1_verbs_send_pio()
981 sc = ps->s_txreq->psc; in hfi1_verbs_send_pio()
987 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_pio()
1074 hfi1_put_txreq(ps->s_txreq); in hfi1_verbs_send_pio()
[all …]
H A Drc.c156 if (ps->s_txreq->mr) in make_rc_ack()
205 if (ps->s_txreq->mr) in make_rc_ack()
213 ps->s_txreq->ss = NULL; in make_rc_ack()
232 if (ps->s_txreq->mr) in make_rc_ack()
233 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack()
288 &ps->s_txreq->ss); in make_rc_ack()
350 ps->s_txreq->ss = NULL; in make_rc_ack()
412 if (!ps->s_txreq) in hfi1_make_rc_req()
1148 ps->s_txreq->ss = ss; in hfi1_make_rc_req()
1162 ps->s_txreq = NULL; in hfi1_make_rc_req()
[all …]
H A Dtid_rdma.c5044 if (!ps->s_txreq) in hfi1_make_tid_rdma_pkt()
5163 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_tid_rdma_pkt()
5164 ps->s_txreq->sde = priv->s_sde; in hfi1_make_tid_rdma_pkt()
5165 ps->s_txreq->ss = ss; in hfi1_make_tid_rdma_pkt()
5166 ps->s_txreq->s_cur_size = len; in hfi1_make_tid_rdma_pkt()
5171 hfi1_put_txreq(ps->s_txreq); in hfi1_make_tid_rdma_pkt()
5173 ps->s_txreq = NULL; in hfi1_make_tid_rdma_pkt()
5313 ps->s_txreq->sde = qpriv->s_sde; in make_tid_rdma_ack()
5314 ps->s_txreq->s_cur_size = len; in make_tid_rdma_ack()
5315 ps->s_txreq->ss = NULL; in make_tid_rdma_ack()
[all …]
H A Dverbs.h194 struct verbs_txreq *s_txreq; member