Searched refs:remote_ah_attr (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_ruc.c | 49 qp->remote_ah_attr = qp->alt_ah_attr; in qib_migrate_qp() 129 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_ruc_check_hdr() 135 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_ruc_check_hdr() 138 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in qib_ruc_check_hdr() 159 rdma_ah_get_dlid(&qp->remote_ah_attr) || in qib_ruc_check_hdr() 219 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in qib_make_ruc_header() 222 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_make_ruc_header() 226 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_make_ruc_header() 227 rdma_ah_get_sl(&qp->remote_ah_attr) << 4; in qib_make_ruc_header() 230 cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_make_ruc_header() [all …]
|
D | qib_uc.c | 76 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_uc_req() 395 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_uc_rcv() 396 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_uc_rcv()
|
D | qib_rc.c | 232 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in qib_make_rc_req() 627 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in qib_send_rc_ack() 630 rdma_ah_read_grh(&qp->remote_ah_attr), in qib_send_rc_ack() 645 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_send_rc_ack() 646 rdma_ah_get_sl(&qp->remote_ah_attr) << 4; in qib_send_rc_ack() 648 hdr.lrh[1] = cpu_to_be16(rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_send_rc_ack() 651 rdma_ah_get_path_bits(&qp->remote_ah_attr)); in qib_send_rc_ack() 1880 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr); in qib_rc_rcv() 1881 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in qib_rc_rcv()
|
D | qib_qp.c | 451 rdma_ah_get_dlid(&qp->remote_ah_attr)); in qib_qp_iter_print()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 74 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() 120 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 127 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & in hfi1_ruc_check_hdr() 130 grh = rdma_ah_read_grh(&qp->remote_ah_attr); in hfi1_ruc_check_hdr() 148 if ((slid != rdma_ah_get_dlid(&qp->remote_ah_attr)) || in hfi1_ruc_check_hdr() 291 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_ruc_header_16B() 292 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_ruc_header_16B() 295 rdma_ah_retrieve_grh(&qp->remote_ah_attr); in hfi1_make_ruc_header_16B() 335 (rdma_ah_get_path_bits(&qp->remote_ah_attr) & in hfi1_make_ruc_header_16B() 340 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), in hfi1_make_ruc_header_16B() [all …]
|
D | qp.c | 251 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b() 254 hfi1_make_opa_lid(&qp->remote_ah_attr); in qp_set_16b() 256 if (!(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) in qp_set_16b() 261 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, &qp->remote_ah_attr); in qp_set_16b() 271 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 281 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp() 683 rdma_ah_get_dlid(&qp->remote_ah_attr), in qp_iter_print() 684 rdma_ah_get_sl(&qp->remote_ah_attr), in qp_iter_print() 821 qp->remote_ah_attr = qp->alt_ah_attr; in hfi1_migrate_qp() 825 priv->s_sc = ah_to_sc(qp->ibqp.device, &qp->remote_ah_attr); in hfi1_migrate_qp() [all …]
|
D | uc.c | 98 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_uc_req() 105 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_uc_req() 106 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_uc_req() 460 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in hfi1_uc_rcv() 472 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in hfi1_uc_rcv()
|
D | rc.c | 459 if (rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) in hfi1_make_rc_req() 466 if ((rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_req() 467 (hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr)))) in hfi1_make_rc_req() 1280 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH)) { in hfi1_make_rc_ack_9B() 1282 rdma_ah_read_grh(&qp->remote_ah_attr), in hfi1_make_rc_ack_9B() 1294 (rdma_ah_get_sl(&qp->remote_ah_attr) & IB_SL_MASK) << in hfi1_make_rc_ack_9B() 1298 opa_get_lid(rdma_ah_get_dlid(&qp->remote_ah_attr), 9B), in hfi1_make_rc_ack_9B() 1299 ppd->lid | rdma_ah_get_path_bits(&qp->remote_ah_attr)); in hfi1_make_rc_ack_9B() 1337 if (unlikely(rdma_ah_get_ah_flags(&qp->remote_ah_attr) & IB_AH_GRH) && in hfi1_make_rc_ack_16B() 1338 hfi1_check_mcast(rdma_ah_get_dlid(&qp->remote_ah_attr))) { in hfi1_make_rc_ack_16B() [all …]
|
D | driver.c | 500 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath() 505 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_process_ecn_slowpath()
|
D | verbs.c | 1987 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv() 1992 rlid = rdma_ah_get_dlid(&qp->remote_ah_attr); in hfi1_cnp_rcv()
|
D | tid_rdma.c | 3279 if ((rdma_ah_get_dlid(&qp->remote_ah_attr) & ~((1 << ppd->lmc) - 1)) == in setup_tid_rdma_wqe()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1638 rdma_replace_ah_attr(&qp->remote_ah_attr, &attr->ah_attr); in rvt_modify_qp() 1651 qp->remote_ah_attr = qp->alt_ah_attr; in rvt_modify_qp() 1753 rdma_destroy_ah_attr(&qp->remote_ah_attr); in rvt_destroy_qp() 1791 attr->ah_attr = qp->remote_ah_attr; in rvt_query_qp() 3174 wc.slid = rdma_ah_get_dlid(&qp->remote_ah_attr) & U16_MAX; in rvt_ruc_loopback() 3175 wc.sl = rdma_ah_get_sl(&qp->remote_ah_attr); in rvt_ruc_loopback()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rdmavt_qp.h | 336 struct rdma_ah_attr remote_ah_attr; member
|