Searched refs:s_txreq (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ud.c | 324 ps->s_txreq->hdr_dwords = 7; in hfi1_make_ud_req_9B() 326 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B() 329 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B() 330 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B() 332 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B() 335 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B() 338 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B() 366 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B() 369 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B() 370 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_9B() [all …]
|
D | ruc.c | 285 (ps->s_txreq->hdr_dwords << 2), in hfi1_make_ruc_header_16B() 286 ps->s_txreq->s_cur_size); in hfi1_make_ruc_header_16B() 287 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B() 302 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B() 304 ps->s_txreq->hdr_dwords += in hfi1_make_ruc_header_16B() 306 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ruc_header_16B() 338 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ruc_header_16B() 342 (ps->s_txreq->hdr_dwords + nwords) >> 1, in hfi1_make_ruc_header_16B() 370 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B() 371 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B() [all …]
|
D | uc.c | 74 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_uc_req() 75 if (!ps->s_txreq) in hfi1_make_uc_req() 99 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_uc_req() 101 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_uc_req() 107 ohdr = &ps->s_txreq->phdr.hdr.opah.u.l.oth; in hfi1_make_uc_req() 109 ohdr = &ps->s_txreq->phdr.hdr.opah.u.oth; in hfi1_make_uc_req() 269 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_uc_req() 270 ps->s_txreq->sde = priv->s_sde; in hfi1_make_uc_req() 271 ps->s_txreq->ss = &qp->s_sge; in hfi1_make_uc_req() 272 ps->s_txreq->s_cur_size = len; in hfi1_make_uc_req() [all …]
|
D | verbs.c | 679 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem() 844 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma() 845 u32 len = ps->s_txreq->s_cur_size; in hfi1_verbs_send_dma() 854 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma() 864 tx = ps->s_txreq; in hfi1_verbs_send_dma() 871 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma() 903 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_dma() 913 hfi1_put_txreq(ps->s_txreq); in hfi1_verbs_send_dma() 914 ps->s_txreq = NULL; in hfi1_verbs_send_dma() 942 list_add_tail(&ps->s_txreq->txreq.list, in pio_wait() [all …]
|
D | rc.c | 197 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack() 198 if (ps->s_txreq->mr) in make_rc_ack() 199 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack() 202 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack() 246 ps->s_txreq->mr = e->rdma_sge.mr; in make_rc_ack() 247 if (ps->s_txreq->mr) in make_rc_ack() 248 rvt_get_mr(ps->s_txreq->mr); in make_rc_ack() 255 ps->s_txreq->ss = NULL; in make_rc_ack() 272 ps->s_txreq->ss = &qp->s_ack_rdma_sge; in make_rc_ack() 273 ps->s_txreq->mr = qp->s_ack_rdma_sge.sge.mr; in make_rc_ack() [all …]
|
D | tid_rdma.c | 5024 ps->s_txreq = get_waiting_verbs_txreq(iowork); in hfi1_make_tid_rdma_pkt() 5025 if (ps->s_txreq || hfi1_make_rc_req(qp, ps)) { in hfi1_make_tid_rdma_pkt() 5031 ps->s_txreq = get_txreq(ps->dev, qp); in hfi1_make_tid_rdma_pkt() 5032 if (!ps->s_txreq) in hfi1_make_tid_rdma_pkt() 5035 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_tid_rdma_pkt() 5151 ps->s_txreq->hdr_dwords = hwords; in hfi1_make_tid_rdma_pkt() 5152 ps->s_txreq->sde = priv->s_sde; in hfi1_make_tid_rdma_pkt() 5153 ps->s_txreq->ss = ss; in hfi1_make_tid_rdma_pkt() 5154 ps->s_txreq->s_cur_size = len; in hfi1_make_tid_rdma_pkt() 5159 hfi1_put_txreq(ps->s_txreq); in hfi1_make_tid_rdma_pkt() [all …]
|
D | verbs.h | 236 struct verbs_txreq *s_txreq; member
|