Home
last modified time | relevance | path

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

123

/freebsd/contrib/ofed/libibverbs/
H A Dmarshall.c48 dst->dlid = src->dlid; in ibv_copy_ah_attr_from_kern()
98 dst->dlid = src->dlid; in ibv_copy_path_rec_from_kern()
123 dst->dlid = src->dlid; in ibv_copy_path_rec_to_kern()
H A Dsa.h45 __be16 dlid; member
107 __be16 dlid; member
H A Dcmd.c1276 attr->ah_attr.dlid = resp.dest.dlid; in ibv_cmd_query_qp()
1288 attr->alt_ah_attr.dlid = resp.alt_dest.dlid; in ibv_cmd_query_qp()
1338 cmd->dest.dlid = attr->ah_attr.dlid; in copy_modify_qp_fields()
1370 cmd->alt_dest.dlid = attr->alt_ah_attr.dlid; in copy_modify_qp_fields()
1671 cmd.attr.dlid = attr->dlid; in ibv_cmd_create_ah()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_marshall.c47 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user()
102 dst->dlid = src->dlid; in ib_copy_path_rec_to_user()
128 dst->dlid = src->dlid; in ib_copy_path_rec_from_user()
H A Dib_sa_query.c169 { PATH_REC_FIELD(dlid),
527 ah_attr.dlid = port_attr.sm_lid; in update_sm_ah()
656 ah_attr->dlid = be16_to_cpu(rec->dlid); in ib_init_ah_from_path()
/freebsd/sys/dev/mthca/
H A 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()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c64 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()
191 ah_attr->dlid = ll == IB_LINK_LAYER_INFINIBAND ? be16_to_cpu(ah->av.ib.dlid) : 0; in mlx4_ib_query_ah()
/freebsd/contrib/ofed/libibmad/
H A Dsa.c121 int dlid; in ib_path_query_via() local
140 mad_decode_field(p, IB_SA_PR_DLID_F, &dlid); in ib_path_query_via()
141 return dlid; in ib_path_query_via()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dfsssp.c383 static int32_t vltable_get_vl(vltable_t * vltable, ib_net16_t slid, ib_net16_t dlid) in vltable_get_vl() argument
386 int64_t ind2 = vltable_get_lidindex(&dlid, vltable); in vltable_get_vl()
397 ib_net16_t dlid, uint8_t vl) in vltable_insert() argument
400 int64_t ind2 = vltable_get_lidindex(&dlid, vltable); in vltable_insert()
785 osm_port_t * dest_port, uint16_t dlid) in update_channel_dep_graph() argument
797 srcdest = (((uint32_t) slid) << 16) + ((uint32_t) dlid); in update_channel_dep_graph()
814 local_port = local_node->sw->new_lft[dlid]; in update_channel_dep_graph()
941 uint16_t dlid) in remove_path_from_cdg() argument
966 local_port = local_node->sw->new_lft[dlid]; in remove_path_from_cdg()
1895 uint16_t slid = 0, dlid = 0, min_lid_ho = 0, max_lid_ho = in dfsssp_remove_deadlocks() local
[all …]
H A Dosm_sa_multipath_record.c848 p_pr->dlid = cl_hton16(dest_lid_ho); in mpr_rcv_build_pr()
1410 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1413 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1416 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1419 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1457 matrix[0][0] ? matrix[0][0]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1460 matrix[1][1] ? matrix[1][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1474 matrix[0][1] ? matrix[0][1]->resp.mpr_rec.path_rec.dlid : 0, in mpr_rcv_get_apm_paths()
1477 matrix[1][0] ? matrix[1][0]->resp.mpr_rec.path_rec.dlid: 0, in mpr_rcv_get_apm_paths()
H A Dosm_sa_path_record.c912 p_pr->dlid = cl_hton16(dest_lid_ho); in pr_rcv_build_pr()
1106 dest_lid_max_ho = dest_lid_min_ho = cl_ntoh16(p_pr->dlid); in pr_rcv_get_port_pair_paths()
1394 *pp_dest_port = osm_get_port_by_lid(sa->p_subn, p_pr->dlid); in osm_pr_get_end_points()
1402 "with LID %u\n", cl_ntoh16(p_pr->dlid)); in osm_pr_get_end_points()
1543 if ((comp_mask & IB_PR_COMPMASK_DLID) && p_mgrp->mlid != p_pr->dlid) { in pr_match_mgrp_attributes()
1546 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_mgrp->mlid)); in pr_match_mgrp_attributes()
1679 pr_item->resp.path_rec.dlid = mgrp->mcmember_rec.mlid; in pr_process_multicast()
1827 cl_ntoh16(p_pr->dlid)); in osm_pr_rcv_process()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c214 gid_buf, path.pathrec.dlid ? "yes" : "no"); in ipoib_path_seq_show()
216 if (path.pathrec.dlid) { in ipoib_path_seq_show()
223 be16_to_cpu(path.pathrec.dlid), in ipoib_path_seq_show()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_ts.c314 ts_mad.dlid = IB_LID_PERMISSIVE; in osmv_transport_mad_send()
328 cl_ntoh16(ts_mad.dlid), in osmv_transport_mad_send()
382 ts_mad.dlid = port_data.port_info.lid; in __osm_transport_gen_dummy_mad()
413 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid); in __osmv_TOPSPIN_osm_addr_to_mad_addr()
H A Dosm_vendor_mlx_sim.c281 mad_msg.addr.dlid = IB_LID_PERMISSIVE; in osmv_transport_mad_send()
293 cl_ntoh16(mad_msg.addr.dlid), in osmv_transport_mad_send()
347 p_ibms_addr->dlid = cl_ntoh16(p_osm_addr->dest_lid); in __osmv_ibms_osm_addr_to_mad_addr()
H A Dosm_vendor_mlx_ibmgt.c394 av.dlid = IB_LID_PERMISSIVE; in osmv_transport_mad_send()
408 cl_ntoh16(av.dlid), av.static_rate, in osmv_transport_mad_send()
422 cl_ntoh16(av.dlid), av.static_rate, in osmv_transport_mad_send()
761 p_av->dlid = cl_ntoh16(p_mad_addr->dest_lid); in __osmv_IBMGT_osm_addr_to_ibmgt_addr()
H A Dosm_vendor_mlx_ts_anafa.c300 ts_mad.dlid = IB_LID_PERMISSIVE; in osmv_transport_mad_send()
363 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid); in __osmv_TOPSPIN_ANAFA_osm_addr_to_mad_addr()
H A Dosm_vendor_mtl.c152 p_av->dlid = cl_ntoh16(p_mad_addr->dest_lid); in __osm_mtl_conv_osm_addr_to_ibmgt_addr()
921 av.dlid = IB_LID_PERMISSIVE; in osm_mtl_send_mad()
937 cl_ntoh16(av.dlid), av.static_rate, in osm_mtl_send_mad()
953 av.dlid, in osm_mtl_send_mad()
H A Dosm_vendor_ts.c129 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid); in __osm_ts_conv_osm_addr_to_ts_addr()
753 ts_mad.dlid = IB_LID_PERMISSIVE; in osm_ts_send_mad()
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dsmpdump.c223 int dlid = 0; in main() local
262 dlid = strtoul(argv[0], 0, 0); in main()
285 smp_get_init(umad, dlid, attr, mod); in main()
H A Dsaquery.c73 uint16_t slid, dlid, mlid; member
237 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_pr->slid), in dump_path_record()
1056 CHECK_AND_SET_VAL(destlid, 16, 0, pr.dlid, PR, DLID); in sm_pr_query()
1082 CHECK_AND_SET_VAL(p->dlid, 16, 0, pr.dlid, PR, DLID); in query_path_records()
1647 p->dlid = (uint16_t) strtoul(optarg, NULL, 0); in process_opt()
1937 params.dlid = get_lid(h, dst_lid); in main()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_ah.c55 ah->av.rlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah()
115 ah_attr->dlid = be16_to_cpu(ah->av.rlid); in mlx5_ib_query_ah()
/freebsd/contrib/ofed/libibumad/
H A Dumad.h209 int umad_set_addr_net(void *umad, __be16 dlid, __be32 dqp, int sl, __be32 qkey);
210 int umad_set_addr(void *umad, int dlid, int dqp, int sl, int qkey);
H A Dumad.c774 int umad_set_addr(void *umad, int dlid, int dqp, int sl, int qkey) in umad_set_addr() argument
779 umad, dlid, dqp, sl, qkey); in umad_set_addr()
781 mad->addr.lid = htobe16(dlid); in umad_set_addr()
788 int umad_set_addr_net(void *umad, __be16 dlid, __be32 dqp, int sl, __be32 qkey) in umad_set_addr_net() argument
793 umad, be16toh(dlid), be32toh(dqp), sl, be32toh(qkey)); in umad_set_addr_net()
795 mad->addr.lid = dlid; in umad_set_addr_net()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_sa.h63 __be16 dlid; member
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_opensm.h143 IN const ib_net16_t slid, IN const ib_net16_t dlid);

123