/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | ruc.c | 724 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 …]
|
D | ud.c | 357 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 …]
|
D | qp.h | 126 qp->s_hdr->ahgcount = 0; in clear_ahg()
|
D | qp.c | 1084 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()
|
D | uc.c | 95 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()
|
D | verbs.h | 443 struct ahg_ib_header *s_hdr; /* next packet header to send */ member
|
D | verbs.c | 1033 if (!qp->s_hdr->sde) { in hfi1_verbs_send_dma() 1038 tx->sde = sde = qp->s_hdr->sde; in hfi1_verbs_send_dma()
|
D | rc.c | 278 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/ |
D | ipath_ud.c | 328 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()
|
D | ipath_ruc.c | 612 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()
|
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 | 371 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()
|
/linux-4.4.14/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 | 688 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()
|
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 | 436 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()
|