Searched refs:s_txreq (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | ud.c | 343 ps->s_txreq->hdr_dwords = 7; in hfi1_make_ud_req_9B() 345 ps->s_txreq->hdr_dwords++; in hfi1_make_ud_req_9B() 348 grh = &ps->s_txreq->phdr.hdr.ibh.u.l.grh; in hfi1_make_ud_req_9B() 349 ps->s_txreq->hdr_dwords += in hfi1_make_ud_req_9B() 351 ps->s_txreq->hdr_dwords - LRH_9B_DWORDS, in hfi1_make_ud_req_9B() 354 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.l.oth; in hfi1_make_ud_req_9B() 357 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; in hfi1_make_ud_req_9B() 385 len = ps->s_txreq->hdr_dwords + nwords; in hfi1_make_ud_req_9B() 388 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B() 389 hfi1_make_ib_hdr(&ps->s_txreq->phdr.hdr.ibh, in hfi1_make_ud_req_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 | ruc.c | 613 (ps->s_txreq->hdr_dwords << 2), in hfi1_make_ruc_header_16B() 614 ps->s_txreq->s_cur_size); in hfi1_make_ruc_header_16B() 615 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B() 630 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B() 632 ps->s_txreq->hdr_dwords += in hfi1_make_ruc_header_16B() 634 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ruc_header_16B() 666 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ruc_header_16B() 670 (ps->s_txreq->hdr_dwords + nwords) >> 1, in hfi1_make_ruc_header_16B() 698 u8 extra_bytes = -ps->s_txreq->s_cur_size & 3; in hfi1_make_ruc_header_9B() 699 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_9B() [all …]
|
D | verbs.c | 739 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem() 907 u32 hdrwords = ps->s_txreq->hdr_dwords; in hfi1_verbs_send_dma() 908 u32 len = ps->s_txreq->s_cur_size; in hfi1_verbs_send_dma() 917 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma() 927 tx = ps->s_txreq; in hfi1_verbs_send_dma() 934 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma() 963 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_dma() 973 hfi1_put_txreq(ps->s_txreq); in hfi1_verbs_send_dma() 974 ps->s_txreq = NULL; in hfi1_verbs_send_dma() 1003 list_add_tail(&ps->s_txreq->txreq.list, in pio_wait() [all …]
|
D | rc.c | 151 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 …]
|
D | verbs.h | 173 struct verbs_txreq *s_txreq; member
|