Searched refs:s_hdr (Results 1 – 11 of 11) sorted by relevance
/drivers/infiniband/hw/ipath/ |
D | ipath_ud.c | 329 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()
|
D | ipath_ruc.c | 613 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()
|
D | ipath_uc.c | 75 ohdr = &qp->s_hdr.u.oth; in ipath_make_uc_req() 77 ohdr = &qp->s_hdr.u.l.oth; in ipath_make_uc_req()
|
D | ipath_verbs.h | 365 struct ipath_ib_header s_hdr; /* next packet header to send */ member
|
D | ipath_rc.c | 228 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/ |
D | qib_ud.c | 327 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()
|
D | qib_ruc.c | 687 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()
|
D | qib_qp.c | 1056 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()
|
D | qib_uc.c | 75 ohdr = &qp->s_hdr->u.oth; in qib_make_uc_req() 77 ohdr = &qp->s_hdr->u.l.oth; in qib_make_uc_req()
|
D | qib_verbs.h | 428 struct qib_ib_header *s_hdr; /* next packet header to send */ member
|
D | qib_rc.c | 247 ohdr = &qp->s_hdr->u.oth; in qib_make_rc_req() 249 ohdr = &qp->s_hdr->u.l.oth; in qib_make_rc_req()
|