/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A 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 in hfi1_make_ud_req_9B() [all...] |
H A 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 in hfi1_make_ruc_header_9B() [all...] |
H A 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 in hfi1_make_uc_req() [all...] |
H A 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 in pio_wait() [all...] |
H A 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 in make_rc_ack() [all...] |
H A D | tid_rdma.c | 5024 ps->s_txreq = get_waiting_verbs_txreq(iowork); 5025 if (ps->s_txreq || hfi1_make_rc_req(qp, ps)) { 5031 ps->s_txreq = get_txreq(ps->dev, qp); 5032 if (!ps->s_txreq) 5035 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; 5151 ps->s_txreq->hdr_dwords = hwords; 5152 ps->s_txreq->sde = priv->s_sde; 5153 ps->s_txreq->ss = ss; 5154 ps->s_txreq->s_cur_size = len; 5159 hfi1_put_txreq(ps->s_txreq); [all...] |
H A D | verbs.h | 236 struct verbs_txreq *s_txreq; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 282 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 in hfi1_make_ud_req_9B() [all...] |
H A D | ruc.c | 244 (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 in hfi1_make_ruc_header_9B() [all...] |
H A D | uc.c | 33 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 in hfi1_make_uc_req() [all...] |
H A D | verbs.c | 637 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 in pio_wait() [all...] |
H A D | rc.c | 155 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 in make_rc_ack() [all...] |
H A D | tid_rdma.c | 5036 ps->s_txreq = get_waiting_verbs_txreq(iowork); 5037 if (ps->s_txreq || hfi1_make_rc_req(qp, ps)) { 5043 ps->s_txreq = get_txreq(ps->dev, qp); 5044 if (!ps->s_txreq) 5047 ohdr = &ps->s_txreq->phdr.hdr.ibh.u.oth; 5163 ps->s_txreq->hdr_dwords = hwords; 5164 ps->s_txreq->sde = priv->s_sde; 5165 ps->s_txreq->ss = ss; 5166 ps->s_txreq->s_cur_size = len; 5171 hfi1_put_txreq(ps->s_txreq); [all...] |
H A D | verbs.h | 194 struct verbs_txreq *s_txreq; member
|