Lines Matching defs:hdr
416 * @hdr: the packet header
426 void qib_ud_rcv(struct qib_ibport *ibp, struct ib_header *hdr,
440 ohdr = &hdr->u.oth;
443 ohdr = &hdr->u.l.oth;
464 if (unlikely(hdr->lrh[1] == IB_LID_PERMISSIVE ||
465 hdr->lrh[3] == IB_LID_PERMISSIVE))
475 (be16_to_cpu(hdr->lrh[0]) >> 4) &
478 hdr->lrh[3], hdr->lrh[1]);
488 (be16_to_cpu(hdr->lrh[0]) >> 12) == 15)))
494 if (tlen != 256 || (be16_to_cpu(hdr->lrh[0]) >> 12) != 15)
497 if ((hdr->lrh[1] == IB_LID_PERMISSIVE ||
498 hdr->lrh[3] == IB_LID_PERMISSIVE) &&
549 rvt_copy_sge(qp, &qp->r_sge, &hdr->u.l.grh,
567 wc.slid = be16_to_cpu(hdr->lrh[3]);
568 wc.sl = (be16_to_cpu(hdr->lrh[0]) >> 4) & 0xF;
569 dlid = be16_to_cpu(hdr->lrh[1]);