Home
last modified time | relevance | path

Searched refs:dlid (Results 1 – 25 of 45) sorted by relevance

12

/drivers/infiniband/core/
Duverbs_marshall.c45 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()
Dsa_query.c190 { 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()
Duverbs_cmd.c2280 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()
Dcm.c1158 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/
Dqib_ud.c101 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 …]
Dqib_ruc.c300 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()
Dqib_verbs.h323 struct ib_ah *qib_create_qp0_ah(struct qib_ibport *ibp, u16 dlid);
Dqib_qp.c627 qp->remote_ah_attr.dlid); in qib_qp_iter_print()
Dqib_uc.c406 wc.slid = qp->remote_ah_attr.dlid; in qib_uc_rcv()
/drivers/infiniband/hw/hfi1/
Dud.c116 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 …]
Dtrace_ibhdrs.h86 __field(u16, dlid)
117 __entry->dlid =
165 __entry->dlid,
Druc.c300 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()
Ddriver.c458 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()
Duser_sdma.c514 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()
Dverbs.c1548 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()
Dverbs.h322 struct ib_ah *hfi1_create_qp0_ah(struct hfi1_ibport *ibp, u16 dlid);
Duc.c454 wc.slid = qp->remote_ah_attr.dlid; in hfi1_uc_rcv()
/drivers/infiniband/hw/mlx4/
Dah.c61 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/
Dmthca_av.c60 __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()
Dmthca_mad.c85 ah_attr.dlid = lid; in update_sm_ah()
/drivers/infiniband/sw/rdmavt/
Dah.c84 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/
Dipoib_fs.c213 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()
Dipoib_main.c652 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/
Dah.c59 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/
Docrdma_ah.c218 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()

12