Home
last modified time | relevance | path

Searched refs:s_hdr (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
Druc.c724 qp->s_hdr->tx_flags |= SDMA_TXREQ_F_AHG_COPY; in build_ahg()
726 qp->s_hdr->sde = qp->s_sde; in build_ahg()
727 qp->s_hdr->ahgidx = qp->s_ahgidx; in build_ahg()
733 qp->s_hdr->tx_flags |= SDMA_TXREQ_F_USE_AHG; in build_ahg()
734 qp->s_hdr->ahgidx = qp->s_ahgidx; in build_ahg()
735 qp->s_hdr->ahgcount++; in build_ahg()
736 qp->s_hdr->ahgdesc[0] = in build_ahg()
744 qp->s_hdr->ahgcount++; in build_ahg()
745 qp->s_hdr->ahgdesc[1] = in build_ahg()
772 qp->s_hdrwords += hfi1_make_grh(ibp, &qp->s_hdr->ibh.u.l.grh, in hfi1_make_ruc_header()
[all …]
Dud.c357 qp->s_hdrwords += hfi1_make_grh(ibp, &qp->s_hdr->ibh.u.l.grh, in hfi1_make_ud_req()
361 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_ud_req()
369 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_ud_req()
386 qp->s_hdr->ibh.lrh[0] = cpu_to_be16(lrh0); in hfi1_make_ud_req()
387 qp->s_hdr->ibh.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in hfi1_make_ud_req()
388 qp->s_hdr->ibh.lrh[2] = in hfi1_make_ud_req()
391 qp->s_hdr->ibh.lrh[3] = IB_LID_PERMISSIVE; in hfi1_make_ud_req()
396 qp->s_hdr->ibh.lrh[3] = cpu_to_be16(lid); in hfi1_make_ud_req()
398 qp->s_hdr->ibh.lrh[3] = IB_LID_PERMISSIVE; in hfi1_make_ud_req()
418 qp->s_hdr->ahgcount = 0; in hfi1_make_ud_req()
[all …]
Dqp.h126 qp->s_hdr->ahgcount = 0; in clear_ahg()
Dqp.c1084 qp->s_hdr = kzalloc(sizeof(*qp->s_hdr), GFP_KERNEL); in hfi1_create_qp()
1085 if (!qp->s_hdr) { in hfi1_create_qp()
1231 kfree(qp->s_hdr); in hfi1_create_qp()
1287 kfree(qp->s_hdr); in hfi1_destroy_qp()
Duc.c95 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_uc_req()
97 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_uc_req()
Dverbs.h443 struct ahg_ib_header *s_hdr; /* next packet header to send */ member
Dverbs.c1033 if (!qp->s_hdr->sde) { in hfi1_verbs_send_dma()
1038 tx->sde = sde = qp->s_hdr->sde; in hfi1_verbs_send_dma()
Drc.c278 ohdr = &qp->s_hdr->ibh.u.oth; in hfi1_make_rc_req()
280 ohdr = &qp->s_hdr->ibh.u.l.oth; in hfi1_make_rc_req()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_ud.c328 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, in ipath_make_ud_req()
332 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req()
340 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req()
351 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ud_req()
352 qp->s_hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in ipath_make_ud_req()
353 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + in ipath_make_ud_req()
359 qp->s_hdr.lrh[3] = cpu_to_be16(lid); in ipath_make_ud_req()
361 qp->s_hdr.lrh[3] = IB_LID_PERMISSIVE; in ipath_make_ud_req()
Dipath_ruc.c612 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, in ipath_make_ruc_header()
618 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ruc_header()
619 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
620 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in ipath_make_ruc_header()
621 qp->s_hdr.lrh[3] = cpu_to_be16(dev->dd->ipath_lid | in ipath_make_ruc_header()
679 if (ipath_verbs_send(qp, &qp->s_hdr, qp->s_hdrwords, in ipath_do_send()
Dipath_uc.c75 ohdr = &qp->s_hdr.u.oth; in ipath_make_uc_req()
77 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_uc_req()
Dipath_verbs.h371 struct ipath_ib_header s_hdr; /* next packet header to send */ member
Dipath_rc.c228 ohdr = &qp->s_hdr.u.oth; in ipath_make_rc_req()
230 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_rc_req()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_ud.c327 qp->s_hdrwords += qib_make_grh(ibp, &qp->s_hdr->u.l.grh, in qib_make_ud_req()
331 ohdr = &qp->s_hdr->u.l.oth; in qib_make_ud_req()
339 ohdr = &qp->s_hdr->u.oth; in qib_make_ud_req()
352 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ud_req()
353 qp->s_hdr->lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in qib_make_ud_req()
354 qp->s_hdr->lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ud_req()
358 qp->s_hdr->lrh[3] = cpu_to_be16(lid); in qib_make_ud_req()
360 qp->s_hdr->lrh[3] = IB_LID_PERMISSIVE; in qib_make_ud_req()
Dqib_ruc.c688 qp->s_hdrwords += qib_make_grh(ibp, &qp->s_hdr->u.l.grh, in qib_make_ruc_header()
695 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header()
696 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
697 qp->s_hdr->lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
698 qp->s_hdr->lrh[3] = cpu_to_be16(ppd_from_ibp(ibp)->lid | in qib_make_ruc_header()
759 if (qib_verbs_send(qp, qp->s_hdr, qp->s_hdrwords, in qib_do_send()
Dqib_qp.c1056 qp->s_hdr = kzalloc(sizeof(*qp->s_hdr), gfp); in qib_create_qp()
1057 if (!qp->s_hdr) { in qib_create_qp()
1190 kfree(qp->s_hdr); in qib_create_qp()
1246 kfree(qp->s_hdr); in qib_destroy_qp()
Dqib_uc.c75 ohdr = &qp->s_hdr->u.oth; in qib_make_uc_req()
77 ohdr = &qp->s_hdr->u.l.oth; in qib_make_uc_req()
Dqib_verbs.h436 struct qib_ib_header *s_hdr; /* next packet header to send */ member
Dqib_rc.c247 ohdr = &qp->s_hdr->u.oth; in qib_make_rc_req()
249 ohdr = &qp->s_hdr->u.l.oth; in qib_make_rc_req()