Home
last modified time | relevance | path

Searched refs:remote_ah_attr (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_ruc.c234 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()
[all …]
Dqib_uc.c76 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in qib_make_uc_req()
409 wc.slid = qp->remote_ah_attr.dlid; in qib_uc_rcv()
410 wc.sl = qp->remote_ah_attr.sl; in qib_uc_rcv()
Dqib_rc.c248 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in qib_make_rc_req()
678 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in qib_send_rc_ack()
680 &qp->remote_ah_attr.grh, hwords, 0); in qib_send_rc_ack()
694 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_send_rc_ack()
695 qp->remote_ah_attr.sl << 4; in qib_send_rc_ack()
697 hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_send_rc_ack()
699 hdr.lrh[3] = cpu_to_be16(ppd->lid | qp->remote_ah_attr.src_path_bits); in qib_send_rc_ack()
2040 wc.slid = qp->remote_ah_attr.dlid; in qib_rc_rcv()
2041 wc.sl = qp->remote_ah_attr.sl; in qib_rc_rcv()
Dqib_qp.c773 qp->remote_ah_attr = attr->ah_attr; in qib_modify_qp()
785 qp->remote_ah_attr = qp->alt_ah_attr; in qib_modify_qp()
874 attr->ah_attr = qp->remote_ah_attr; in qib_query_qp()
1391 qp->remote_ah_attr.dlid); in qib_qp_iter_print()
Dqib_verbs.h423 struct ib_ah_attr remote_ah_attr; member
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_ruc.c441 wc.slid = qp->remote_ah_attr.dlid; in ipath_ruc_loopback()
442 wc.sl = qp->remote_ah_attr.sl; in ipath_ruc_loopback()
612 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in ipath_make_ruc_header()
614 &qp->remote_ah_attr.grh, in ipath_make_ruc_header()
618 lrh0 |= qp->remote_ah_attr.sl << 4; in ipath_make_ruc_header()
620 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
623 qp->remote_ah_attr.src_path_bits); in ipath_make_ruc_header()
648 qp->remote_ah_attr.dlid == dev->dd->ipath_lid) { in ipath_do_send()
Dipath_uc.c76 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in ipath_make_uc_req()
254 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_uc_rcv()
417 wc.slid = qp->remote_ah_attr.dlid; in ipath_uc_rcv()
418 wc.sl = qp->remote_ah_attr.sl; in ipath_uc_rcv()
Dipath_rc.c229 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in ipath_make_rc_req()
657 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in send_rc_ack()
659 &qp->remote_ah_attr.grh, in send_rc_ack()
673 lrh0 |= qp->remote_ah_attr.sl << 4; in send_rc_ack()
675 hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in send_rc_ack()
678 qp->remote_ah_attr.src_path_bits); in send_rc_ack()
958 wc.slid = qp->remote_ah_attr.dlid; in do_rc_ack()
959 wc.sl = qp->remote_ah_attr.sl; in do_rc_ack()
1586 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_rc_rcv()
1742 wc.slid = qp->remote_ah_attr.dlid; in ipath_rc_rcv()
[all …]
Dipath_qp.c568 qp->remote_ah_attr = attr->ah_attr; in ipath_modify_qp()
640 attr->ah_attr = qp->remote_ah_attr; in ipath_query_qp()
Dipath_verbs.h364 struct ib_ah_attr remote_ah_attr; member