Lines Matching refs:remote_ah_attr
235 qp->remote_ah_attr = qp->alt_ah_attr; in qib_migrate_qp()
307 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in qib_ruc_check_hdr()
310 if (!(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) in qib_ruc_check_hdr()
313 qp->remote_ah_attr.grh.sgid_index); in qib_ruc_check_hdr()
317 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, in qib_ruc_check_hdr()
318 qp->remote_ah_attr.grh.dgid.global.interface_id)) in qib_ruc_check_hdr()
331 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr()
560 wc.slid = qp->remote_ah_attr.dlid; in qib_ruc_loopback()
561 wc.sl = qp->remote_ah_attr.sl; in qib_ruc_loopback()
687 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in qib_make_ruc_header()
689 &qp->remote_ah_attr.grh, in qib_make_ruc_header()
693 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_make_ruc_header()
694 qp->remote_ah_attr.sl << 4; in qib_make_ruc_header()
696 qp->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header()
699 qp->remote_ah_attr.src_path_bits); in qib_make_ruc_header()
728 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()