Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_ruc.c235 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()
[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()
680 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in qib_send_rc_ack()
682 &qp->remote_ah_attr.grh, hwords, 0); in qib_send_rc_ack()
696 lrh0 |= ibp->sl_to_vl[qp->remote_ah_attr.sl] << 12 | in qib_send_rc_ack()
697 qp->remote_ah_attr.sl << 4; in qib_send_rc_ack()
699 hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_send_rc_ack()
701 hdr.lrh[3] = cpu_to_be16(ppd->lid | qp->remote_ah_attr.src_path_bits); in qib_send_rc_ack()
2042 wc.slid = qp->remote_ah_attr.dlid; in qib_rc_rcv()
2043 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.h431 struct ib_ah_attr remote_ah_attr; member
/drivers/staging/rdma/hfi1/
Druc.c253 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_migrate_qp()
292 u8 sc5 = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in hfi1_ruc_check_hdr()
327 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in hfi1_ruc_check_hdr()
330 if (!(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) in hfi1_ruc_check_hdr()
333 qp->remote_ah_attr.grh.sgid_index); in hfi1_ruc_check_hdr()
337 qp->remote_ah_attr.grh.dgid.global.subnet_prefix, in hfi1_ruc_check_hdr()
338 qp->remote_ah_attr.grh.dgid.global.interface_id)) in hfi1_ruc_check_hdr()
351 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in hfi1_ruc_check_hdr()
582 wc.slid = qp->remote_ah_attr.dlid; in ruc_loopback()
583 wc.sl = qp->remote_ah_attr.sl; in ruc_loopback()
[all …]
Duc.c96 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in hfi1_make_uc_req()
298 sc5 = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in hfi1_uc_rcv()
312 sc5 = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in hfi1_uc_rcv()
449 wc.slid = qp->remote_ah_attr.dlid; in hfi1_uc_rcv()
461 wc.sl = qp->remote_ah_attr.sl; in hfi1_uc_rcv()
Drc.c279 if (qp->remote_ah_attr.ah_flags & IB_AH_GRH) in hfi1_make_rc_req()
714 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in hfi1_send_rc_ack()
716 &qp->remote_ah_attr.grh, hwords, 0); in hfi1_send_rc_ack()
733 sc5 = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in hfi1_send_rc_ack()
736 lrh0 |= (sc5 & 0xf) << 12 | (qp->remote_ah_attr.sl & 0xf) << 4; in hfi1_send_rc_ack()
738 hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in hfi1_send_rc_ack()
740 hdr.lrh[3] = cpu_to_be16(ppd->lid | qp->remote_ah_attr.src_path_bits); in hfi1_send_rc_ack()
1116 sc5 = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in do_rc_completion()
1966 u16 rlid = qp->remote_ah_attr.dlid; in hfi1_rc_rcv()
1973 qp->remote_ah_attr.sl, in hfi1_rc_rcv()
[all …]
Dqp.c792 qp->remote_ah_attr = attr->ah_attr; in hfi1_modify_qp()
805 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_modify_qp()
820 sc = ibp->sl_to_sc[qp->remote_ah_attr.sl]; in hfi1_modify_qp()
910 attr->ah_attr = qp->remote_ah_attr; in hfi1_query_qp()
1666 qp->remote_ah_attr.dlid, in qp_iter_print()
1667 qp->remote_ah_attr.sl, in qp_iter_print()
Dverbs.h438 struct ib_ah_attr remote_ah_attr; member
/drivers/staging/rdma/ipath/
Dipath_ruc.c440 wc.slid = qp->remote_ah_attr.dlid; in ipath_ruc_loopback()
441 wc.sl = qp->remote_ah_attr.sl; in ipath_ruc_loopback()
611 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in ipath_make_ruc_header()
613 &qp->remote_ah_attr.grh, in ipath_make_ruc_header()
617 lrh0 |= qp->remote_ah_attr.sl << 4; in ipath_make_ruc_header()
619 qp->s_hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in ipath_make_ruc_header()
622 qp->remote_ah_attr.src_path_bits); in ipath_make_ruc_header()
647 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.c567 qp->remote_ah_attr = attr->ah_attr; in ipath_modify_qp()
639 attr->ah_attr = qp->remote_ah_attr; in ipath_query_qp()
Dipath_verbs.h370 struct ib_ah_attr remote_ah_attr; member