Lines Matching refs:lrh
350 priv->s_hdr->lrh[0] = cpu_to_be16(lrh0); in qib_make_ud_req()
351 priv->s_hdr->lrh[1] = in qib_make_ud_req()
353 priv->s_hdr->lrh[2] = in qib_make_ud_req()
359 priv->s_hdr->lrh[3] = cpu_to_be16(lid); in qib_make_ud_req()
361 priv->s_hdr->lrh[3] = IB_LID_PERMISSIVE; in qib_make_ud_req()
465 if (unlikely(hdr->lrh[1] == IB_LID_PERMISSIVE || in qib_ud_rcv()
466 hdr->lrh[3] == IB_LID_PERMISSIVE)) in qib_ud_rcv()
476 (be16_to_cpu(hdr->lrh[0]) >> 4) & in qib_ud_rcv()
479 hdr->lrh[3], hdr->lrh[1]); in qib_ud_rcv()
489 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15))) in qib_ud_rcv()
495 if (tlen != 256 || (be16_to_cpu(hdr->lrh[0]) >> 12) != 15) in qib_ud_rcv()
498 if ((hdr->lrh[1] == IB_LID_PERMISSIVE || in qib_ud_rcv()
499 hdr->lrh[3] == IB_LID_PERMISSIVE) && in qib_ud_rcv()
568 wc.slid = be16_to_cpu(hdr->lrh[3]); in qib_ud_rcv()
569 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF; in qib_ud_rcv()
570 dlid = be16_to_cpu(hdr->lrh[1]); in qib_ud_rcv()