/drivers/infiniband/core/ |
D | uverbs_marshall.c | 45 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user() 100 dst->dlid = src->dlid; in ib_copy_path_rec_to_user() 126 dst->dlid = src->dlid; in ib_copy_path_rec_from_user()
|
D | sa_query.c | 190 { PATH_REC_FIELD(dlid), 961 ah_attr.dlid = port_attr.sm_lid; in update_sm_ah() 1096 ah_attr->dlid = be16_to_cpu(rec->dlid); in ib_init_ah_from_path()
|
D | uverbs_cmd.c | 2280 resp.dest.dlid = attr->ah_attr.dlid; in ib_uverbs_query_qp() 2292 resp.alt_dest.dlid = attr->alt_ah_attr.dlid; in ib_uverbs_query_qp() 2390 attr->ah_attr.dlid = cmd.dest.dlid; in ib_uverbs_modify_qp() 2402 attr->alt_ah_attr.dlid = cmd.alt_dest.dlid; in ib_uverbs_modify_qp() 2918 attr.dlid = cmd.attr.dlid; in ib_uverbs_create_ah()
|
D | cm.c | 1158 req_msg->primary_remote_lid = pri_path->dlid; in cm_format_req() 1179 req_msg->alt_remote_lid = alt_path->dlid; in cm_format_req() 1362 primary_path->dlid = req_msg->primary_local_lid; in cm_format_paths_from_req() 1384 alt_path->dlid = req_msg->alt_local_lid; in cm_format_paths_from_req() 2756 lap_msg->alt_remote_lid = alternate_path->dlid; in cm_format_lap() 2834 path->dlid = lap_msg->alt_local_lid; in cm_format_path_from_lap() 3731 if (cm_id_priv->alt_av.ah_attr.dlid) { in cm_init_qp_rtr_attr() 3785 if (cm_id_priv->alt_av.ah_attr.dlid) { in cm_init_qp_rts_attr()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 101 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback() 125 cpu_to_be16(ah_attr->dlid)); in qib_ud_loopback() 225 wc.dlid_path_bits = ah_attr->dlid & ((1 << ppd->lmc) - 1); in qib_ud_loopback() 292 if (ah_attr->dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_make_ud_req() 293 if (ah_attr->dlid != be16_to_cpu(IB_LID_PERMISSIVE)) in qib_make_ud_req() 299 lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1); in qib_make_ud_req() 366 priv->s_hdr->lrh[1] = cpu_to_be16(ah_attr->dlid); /* DEST LID */ in qib_make_ud_req() 385 ohdr->bth[1] = ah_attr->dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE) && in qib_make_ud_req() 386 ah_attr->dlid != be16_to_cpu(IB_LID_PERMISSIVE) ? in qib_make_ud_req() 448 u16 dlid; in qib_ud_rcv() local [all …]
|
D | qib_ruc.c | 300 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in qib_ruc_check_hdr() 333 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in qib_ruc_check_hdr() 569 wc.slid = qp->remote_ah_attr.dlid; in qib_ruc_loopback() 705 priv->s_hdr->lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in qib_make_ruc_header() 747 (qp->remote_ah_attr.dlid & ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()
|
D | qib_verbs.h | 323 struct ib_ah *qib_create_qp0_ah(struct qib_ibport *ibp, u16 dlid);
|
D | qib_qp.c | 627 qp->remote_ah_attr.dlid); in qib_qp_iter_print()
|
D | qib_uc.c | 406 wc.slid = qp->remote_ah_attr.dlid; in qib_uc_rcv()
|
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 116 slid, ah_attr->dlid); in ud_loopback() 140 ah_attr->dlid); in ud_loopback() 251 wc.dlid_path_bits = ah_attr->dlid & ((1 << ppd->lmc) - 1); in ud_loopback() 322 if (ah_attr->dlid < be16_to_cpu(IB_MULTICAST_LID_BASE) || in hfi1_make_ud_req() 323 ah_attr->dlid == be16_to_cpu(IB_LID_PERMISSIVE)) { in hfi1_make_ud_req() 324 lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req() 405 ps->s_txreq->phdr.hdr.lrh[1] = cpu_to_be16(ah_attr->dlid); in hfi1_make_ud_req() 408 if (ah_attr->dlid == be16_to_cpu(IB_LID_PERMISSIVE)) { in hfi1_make_ud_req() 506 u32 pkey, u32 slid, u32 dlid, u8 sc5, in return_cnp() argument 544 hdr.lrh[1] = cpu_to_be16(dlid); in return_cnp() [all …]
|
D | trace_ibhdrs.h | 86 __field(u16, dlid) 117 __entry->dlid = 165 __entry->dlid,
|
D | ruc.c | 300 if (be16_to_cpu(hdr->lrh[3]) != qp->alt_ah_attr.dlid || in hfi1_ruc_check_hdr() 335 if (be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid || in hfi1_ruc_check_hdr() 594 wc.slid = qp->remote_ah_attr.dlid; in ruc_loopback() 815 ps->s_txreq->phdr.hdr.lrh[1] = cpu_to_be16(qp->remote_ah_attr.dlid); in hfi1_make_ruc_header() 873 if (!loopback && ((qp->remote_ah_attr.dlid & ~((1 << ps.ppd->lmc in hfi1_do_send() 883 if (!loopback && ((qp->remote_ah_attr.dlid & ~((1 << ps.ppd->lmc in hfi1_do_send()
|
D | driver.c | 458 u16 rlid, dlid = be16_to_cpu(hdr->lrh[1]); in hfi1_process_ecn_slowpath() local 472 is_mcast = (dlid > be16_to_cpu(IB_MULTICAST_LID_BASE)) && in hfi1_process_ecn_slowpath() 473 (dlid != be16_to_cpu(IB_LID_PERMISSIVE)); in hfi1_process_ecn_slowpath() 476 rlid = qp->remote_ah_attr.dlid; in hfi1_process_ecn_slowpath() 481 rlid = qp->remote_ah_attr.dlid; in hfi1_process_ecn_slowpath() 495 return_cnp(ibp, qp, rqpn, pkey, dlid, rlid, sc, grh); in hfi1_process_ecn_slowpath()
|
D | user_sdma.c | 514 static u8 dlid_to_selector(u16 dlid) in dlid_to_selector() argument 526 hash = ((dlid >> 8) ^ dlid) & 0xFF; in dlid_to_selector() 550 u16 dlid; in hfi1_user_sdma_process_request() local 754 dlid = be16_to_cpu(req->hdr.lrh[1]); in hfi1_user_sdma_process_request() 755 selector = dlid_to_selector(dlid); in hfi1_user_sdma_process_request()
|
D | verbs.c | 1548 struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u16 dlid) in hfi1_create_qp0_ah() argument 1555 attr.dlid = dlid; in hfi1_create_qp0_ah() 1784 rlid = qp->remote_ah_attr.dlid; in hfi1_cnp_rcv() 1789 rlid = qp->remote_ah_attr.dlid; in hfi1_cnp_rcv()
|
D | verbs.h | 322 struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u16 dlid);
|
D | uc.c | 454 wc.slid = qp->remote_ah_attr.dlid; in hfi1_uc_rcv()
|
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 61 ah->av.ib.dlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah() 124 ah->av.ib.dlid = cpu_to_be16(0xc000); in create_iboe_ah() 177 ah_attr->dlid = ll == IB_LINK_LAYER_INFINIBAND ? be16_to_cpu(ah->av.ib.dlid) : 0; in mlx4_ib_query_ah()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_av.c | 60 __be16 dlid; member 203 av->dlid = cpu_to_be16(ah_attr->dlid); in mthca_create_ah() 273 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah() 302 attr->dlid = be16_to_cpu(ah->av->dlid); in mthca_ah_query()
|
D | mthca_mad.c | 85 ah_attr.dlid = lid; in update_sm_ah()
|
/drivers/infiniband/sw/rdmavt/ |
D | ah.c | 84 if (ah_attr->dlid == 0) in rvt_check_ah() 86 if (ah_attr->dlid >= be16_to_cpu(IB_MULTICAST_LID_BASE) && in rvt_check_ah() 87 ah_attr->dlid != be16_to_cpu(IB_LID_PERMISSIVE) && in rvt_check_ah()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_fs.c | 213 gid_buf, path.pathrec.dlid ? "yes" : "no"); in ipoib_path_seq_show() 215 if (path.pathrec.dlid) { in ipoib_path_seq_show() 222 be16_to_cpu(path.pathrec.dlid), in ipoib_path_seq_show()
|
D | ipoib_main.c | 652 be16_to_cpu(path->pathrec.dlid), in ipoib_mark_paths_invalid() 785 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw); in path_rec_completion() 824 ah, be16_to_cpu(pathrec->dlid), pathrec->sl); in path_rec_completion() 1073 be16_to_cpu(path->pathrec.dlid)); in unicast_arp_send()
|
/drivers/infiniband/hw/mlx5/ |
D | ah.c | 59 ah->av.rlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah() 101 ah_attr->dlid = be16_to_cpu(ah->av.rlid); in mlx5_ib_query_ah()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 218 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()
|