| /freebsd/sys/ofed/include/rdma/ |
| H A D | ib_sa.h | 162 __be16 dlid; member 180 __be32 dlid; member 248 if ((be32_to_cpu(opa->opa.dlid) >= in path_conv_opa_to_ib() 254 = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); in path_conv_opa_to_ib() 261 ib->ib.dlid = 0; in path_conv_opa_to_ib() 265 ib->ib.dlid = htons(ntohl(opa->opa.dlid)); in path_conv_opa_to_ib() 275 __be32 slid, dlid; in path_conv_ib_to_opa() local 280 dlid = htonl(opa_get_lid_from_gid(&ib->dgid)); in path_conv_ib_to_opa() 283 dlid = htonl(ntohs(ib->ib.dlid)); in path_conv_ib_to_opa() 286 opa->opa.dlid = dlid; in path_conv_ib_to_opa() [all …]
|
| H A D | opa_addr.h | 99 static inline bool opa_is_extended_lid(u32 dlid, u32 slid) in opa_is_extended_lid() argument 101 if ((be32_to_cpu(dlid) >= in opa_is_extended_lid()
|
| H A D | ib_verbs.h | 851 u16 dlid; member 860 u32 dlid; member 1786 __be16 dlid; member 3984 static inline void rdma_ah_set_dlid(struct rdma_ah_attr *attr, u32 dlid) in rdma_ah_set_dlid() argument 3987 attr->ib.dlid = (u16)dlid; in rdma_ah_set_dlid() 3989 attr->opa.dlid = dlid; in rdma_ah_set_dlid() 3995 return attr->ib.dlid; in rdma_ah_get_dlid() 3997 return attr->opa.dlid; in rdma_ah_get_dlid()
|
| /freebsd/contrib/ofed/libibverbs/ |
| H A D | marshall.c | 48 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 D | sa.h | 45 __be16 dlid; member 107 __be16 dlid; member
|
| H A D | cmd.c | 1303 attr->ah_attr.dlid = resp.dest.dlid; in ibv_cmd_query_qp() 1315 attr->alt_ah_attr.dlid = resp.alt_dest.dlid; in ibv_cmd_query_qp() 1365 cmd->dest.dlid = attr->ah_attr.dlid; in copy_modify_qp_fields() 1397 cmd->alt_dest.dlid = attr->alt_ah_attr.dlid; in copy_modify_qp_fields() 1698 cmd.attr.dlid = attr->dlid; in ibv_cmd_create_ah()
|
| /freebsd/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_uverbs_marshall.c | 78 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user() 144 dst->dlid = htons(ntohl(sa_path_get_dlid(src))); in __ib_copy_path_rec_to_user() 180 __be32 slid, dlid; in ib_copy_path_rec_from_user() local 187 dlid = htonl(opa_get_lid_from_gid((union ib_gid *)src->dgid)); in ib_copy_path_rec_from_user() 191 dlid = htonl(ntohs(src->dlid)); in ib_copy_path_rec_from_user() 196 sa_path_set_dlid(dst, dlid); in ib_copy_path_rec_from_user()
|
| /freebsd/contrib/ofed/libibmad/ |
| H A D | sa.c | 121 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 D | osm_ucast_dfsssp.c | 383 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 D | osm_sa_multipath_record.c | 848 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 D | osm_sa_path_record.c | 912 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/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_mlx_ts.c | 314 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 D | osm_vendor_mlx_sim.c | 281 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 D | osm_vendor_mlx_ibmgt.c | 394 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 D | osm_vendor_mlx_ts_anafa.c | 300 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 D | osm_vendor_mtl.c | 152 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 D | osm_vendor_ts.c | 129 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/sys/dev/mthca/ |
| H A D | mthca_av.c | 60 __be16 dlid; member 204 av->dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in mthca_create_ah() 278 header->lrh.destination_lid = ah->av->dlid; in mthca_read_ah() 306 rdma_ah_set_dlid(attr, be16_to_cpu(ah->av->dlid)); in mthca_ah_query()
|
| /freebsd/contrib/ofed/infiniband-diags/src/ |
| H A D | smpdump.c | 223 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 D | saquery.c | 73 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/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_ah.c | 67 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah() 125 ah->av.ib.dlid = cpu_to_be16(0xc000); in create_iboe_ah() 196 rdma_ah_set_dlid(ah_attr, be16_to_cpu(ah->av.ib.dlid)); in mlx4_ib_query_ah()
|
| /freebsd/contrib/ofed/libibumad/ |
| H A D | umad.h | 209 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 D | umad.c | 774 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 D | ib_user_sa.h | 63 __be16 dlid; member
|
| /freebsd/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_opensm.h | 143 IN const ib_net16_t slid, IN const ib_net16_t dlid);
|