Lines Matching refs:remote_ah_attr
234 qp->remote_ah_attr = qp->alt_ah_attr; in qib_migrate_qp()
306 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in qib_ruc_check_hdr()
309 if (!(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) in qib_ruc_check_hdr()
312 qp->remote_ah_attr.grh.sgid_index); in qib_ruc_check_hdr()
316 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr()
317 qp->remote_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr()
330 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr()
559 wc.slid = qp->remote_ah_attr.dlid; in qib_ruc_loopback()
560 wc.sl = qp->remote_ah_attr.sl; in qib_ruc_loopback()
686 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in qib_make_ruc_header()
688 &qp->remote_ah_attr.grh, in qib_make_ruc_header()
692 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_make_ruc_header()
693 qp->remote_ah_attr.sl << 4; in qib_make_ruc_header()
695 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
698 qp->remote_ah_attr.src_path_bits); in qib_make_ruc_header()
727 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()