Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ipath/
Dipath_ud.c329 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, in ipath_make_ud_req()
333 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_ud_req()
341 ohdr = &qp->s_hdr.u.oth; in ipath_make_ud_req()
352 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ud_req()
353 qp->s_hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in ipath_make_ud_req()
354 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + in ipath_make_ud_req()
360 qp->s_hdr.lrh[3] = cpu_to_be16(lid); in ipath_make_ud_req()
362 qp->s_hdr.lrh[3] = IB_LID_PERMISSIVE; in ipath_make_ud_req()
Dipath_ruc.c613 qp->s_hdrwords += ipath_make_grh(dev, &qp->s_hdr.u.l.grh, in ipath_make_ruc_header()
619 qp->s_hdr.lrh[0] = cpu_to_be16(lrh0); in ipath_make_ruc_header()
620 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
621 qp->s_hdr.lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in ipath_make_ruc_header()
622 qp->s_hdr.lrh[3] = cpu_to_be16(dev->dd->ipath_lid | in ipath_make_ruc_header()
680 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.h365 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()
/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.c687 qp->s_hdrwords += qib_make_grh(ibp, &qp->s_hdr->u.l.grh, in qib_make_ruc_header()
694 qp->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ruc_header()
695 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
696 qp->s_hdr->lrh[2] = cpu_to_be16(qp->s_hdrwords + nwords + SIZE_OF_CRC); in qib_make_ruc_header()
697 qp->s_hdr->lrh[3] = cpu_to_be16(ppd_from_ibp(ibp)->lid | in qib_make_ruc_header()
758 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.h428 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()