Home
last modified time | relevance | path

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

/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()
287 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B()
288 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B()
290 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B()
293 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B()
296 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B()
324 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B()
327 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B()
328 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B()
[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()
246 u32 nwords = SIZE_OF_CRC + ((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()
265 ps->s_txreq->hdr_dwords - LRH_16B_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()
331 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + 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()
58 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_uc_req()
60 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req()
66 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_uc_req()
68 ohdr = &ps->s_txreq->phdr.hdr.opah.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()
[all …]
H A Dverbs.c637 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem()
802 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma()
803 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()
861 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); 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()
900 list_add_tail(&ps->s_txreq->txreq.list, in pio_wait()
[all …]
H A Drc.c155 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack()
156 if (ps->s_txreq->mr) in make_rc_ack()
157 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack()
160 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack()
204 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack()
205 if (ps->s_txreq->mr) in make_rc_ack()
206 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack()
213 ps->s_txreq->ss = NULL; in make_rc_ack()
230 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack()
231 ps->s_txreq->mr = qp->s_ack_rdma_sge.sge.mr; in make_rc_ack()
[all …]
H A Dtid_rdma.c5036 ps->s_txreq = get_waiting_verbs_txreq(iowork); in hfi1_make_tid_rdma_pkt()
5037 if (ps->s_txreq || hfi1_make_rc_req(qp, ps)) { in hfi1_make_tid_rdma_pkt()
5043 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_tid_rdma_pkt()
5044 if (!ps->s_txreq) in hfi1_make_tid_rdma_pkt()
5047 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; 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()
[all …]
H A Dverbs.h194 struct verbs_txreq *s_txreq; member