Home
last modified time | relevance | path

Searched refs:port_guid (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_port_info_rcv.c87 ib_net64_t port_guid; in pi_rcv_process_endport() local
96 port_guid = osm_physp_get_port_guid(p_physp); in pi_rcv_process_endport()
106 PRIx64 "\n", mtu, cl_ntoh64(port_guid)); in pi_rcv_process_endport()
115 PRIx64 "\n", rate, cl_ntoh64(port_guid)); in pi_rcv_process_endport()
127 PRIx64 "\n", data_vls, cl_ntoh64(port_guid)); in pi_rcv_process_endport()
137 cl_ntoh64(port_guid), mpb); in pi_rcv_process_endport()
140 if (port_guid != sm->p_subn->sm_port_guid) { in pi_rcv_process_endport()
150 port_guid); in pi_rcv_process_endport()
158 cl_ntoh64(port_guid)); in pi_rcv_process_endport()
163 cl_ntoh64(port_guid)); in pi_rcv_process_endport()
[all …]
H A Dosm_drop_mgr.c92 p_remote_physp->port_guid); in drop_mgr_clean_physp()
109 cl_ntoh64(p_remote_physp->port_guid), in drop_mgr_clean_physp()
119 p_remote_physp->port_guid != sm->p_subn->sm_port_guid) { in drop_mgr_clean_physp()
161 ib_net64_t port_guid; in drop_mgr_remove_port() local
181 port_guid = osm_port_get_guid(p_port); in drop_mgr_remove_port()
183 "Unreachable port 0x%016" PRIx64 "\n", cl_ntoh64(port_guid)); in drop_mgr_remove_port()
186 (osm_port_t *) cl_qmap_get(&sm->p_subn->port_guid_tbl, port_guid); in drop_mgr_remove_port()
190 cl_ntoh64(port_guid)); in drop_mgr_remove_port()
205 port_gid.unicast.interface_id = port_guid; in drop_mgr_remove_port()
255 cl_qmap_remove(&sm->p_subn->port_guid_tbl, port_guid); in drop_mgr_remove_port()
[all …]
H A Dosm_guid_info_rcv.c74 ib_net64_t port_guid, node_guid; in osm_gi_rcv_process() local
91 port_guid = p_context->port_guid; in osm_gi_rcv_process()
94 osm_dump_guid_info_v2(sm->p_log, node_guid, port_guid, block_num, p_gi, in osm_gi_rcv_process()
105 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_gi_rcv_process()
112 cl_ntoh64(port_guid), cl_ntoh64(node_guid), in osm_gi_rcv_process()
H A Dosm_pkey_rcv.c66 ib_net64_t port_guid; in osm_pkey_rcv_process() local
82 port_guid = p_context->port_guid; in osm_pkey_rcv_process()
95 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_pkey_rcv_process()
100 ", TID 0x%" PRIx64 "\n", cl_ntoh64(port_guid), in osm_pkey_rcv_process()
127 PRIx64 "\n", block_num, port_num, cl_ntoh64(port_guid), in osm_pkey_rcv_process()
140 osm_dump_pkey_block_v2(sm->p_log, port_guid, block_num, port_num, in osm_pkey_rcv_process()
H A Dosm_vl_arb_rcv.c75 ib_net64_t port_guid; in osm_vla_rcv_process() local
90 port_guid = p_context->port_guid; in osm_vla_rcv_process()
103 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_vla_rcv_process()
108 ", TID 0x%" PRIx64 "\n", cl_ntoh64(port_guid), in osm_vla_rcv_process()
133 PRIx64 "\n", block_num, port_num, cl_ntoh64(port_guid), in osm_vla_rcv_process()
152 osm_dump_vl_arb_table_v2(sm->p_log, port_guid, block_num, port_num, in osm_vla_rcv_process()
H A Dosm_ucast_file.c82 ib_net64_t port_guid) in add_path() argument
87 new_lid = port_guid ? remap_lid(p_osm, lid, port_guid) : lid; in add_path()
98 if (!(p_osm->subn.opt.port_profile_switch_nodes && port_guid && in add_path()
99 osm_get_switch_by_guid(&p_osm->subn, port_guid))) in add_path()
105 new_lid, lid, port_num, cl_ntoh64(port_guid), in add_path()
127 ib_net64_t sw_guid, port_guid; in do_ucast_file_load() local
239 port_guid = 0; in do_ucast_file_load()
242 port_guid = strtoull(p, &q, 16); in do_ucast_file_load()
249 port_guid = 0; in do_ucast_file_load()
252 port_guid = cl_hton64(port_guid); in do_ucast_file_load()
[all …]
H A Dosm_slvl_map_rcv.c74 ib_net64_t port_guid; in osm_slvl_rcv_process() local
90 port_guid = p_context->port_guid; in osm_slvl_rcv_process()
104 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_slvl_rcv_process()
110 ", TID 0x%" PRIx64 "\n", cl_ntoh64(port_guid), in osm_slvl_rcv_process()
153 cl_ntoh64(port_guid), cl_ntoh64(node_guid), in osm_slvl_rcv_process()
156 osm_dump_slvl_map_table_v2(sm->p_log, port_guid, in osm_slvl_rcv_process()
H A Dosm_mlnx_ext_port_info_rcv.c73 ib_net64_t port_guid, node_guid; in osm_mlnx_epi_rcv_process() local
89 port_guid = p_context->port_guid; in osm_mlnx_epi_rcv_process()
92 osm_dump_mlnx_ext_port_info_v2(sm->p_log, node_guid, port_guid, port_num, in osm_mlnx_epi_rcv_process()
96 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_mlnx_epi_rcv_process()
103 cl_ntoh64(port_guid), in osm_mlnx_epi_rcv_process()
H A Dosm_port.c73 if (p_physp->port_guid) { in osm_physp_destroy()
91 void osm_physp_init(IN osm_physp_t * p_physp, IN ib_net64_t port_guid, in osm_physp_init() argument
102 p_physp->port_guid = port_guid; in osm_physp_init()
141 ib_net64_t port_guid; in osm_port_new() local
152 port_guid = p_ni->port_guid; in osm_port_new()
153 p_port->guid = port_guid; in osm_port_new()
169 CL_ASSERT(port_guid == osm_physp_get_port_guid(p_physp)); in osm_port_new()
448 ib_net64_t port_guid; in osm_physp_replace_dr_path_with_alternate_dr_path() local
474 port_guid = p_subn->sm_port_guid; in osm_physp_replace_dr_path_with_alternate_dr_path()
476 CL_ASSERT(port_guid); in osm_physp_replace_dr_path_with_alternate_dr_path()
[all …]
H A Dosm_sa_node_record.c73 IN ib_net64_t port_guid, IN ib_net16_t lid, in nr_rcv_new_nr() argument
93 cl_ntoh64(port_guid), cl_ntoh16(lid)); in nr_rcv_new_nr()
100 p_rec_item->resp.node_rec.node_info.port_guid = port_guid; in nr_rcv_new_nr()
129 ib_net64_t port_guid; in nr_rcv_create_nr() local
157 port_guid = osm_physp_get_port_guid(p_physp); in nr_rcv_create_nr()
160 && (port_guid != match_port_guid)) in nr_rcv_create_nr()
187 nr_rcv_new_nr(sa, p_node, p_list, port_guid, base_lid, port_num); in nr_rcv_create_nr()
226 match_port_guid = p_rcvd_rec->node_info.port_guid; in nr_rcv_by_comp_mask()
H A Dosm_node_info_rcv.c123 p_physp->p_remote_physp->p_node->node_info.port_guid; in requery_dup_node_info()
343 context.pi_context.port_guid = osm_physp_get_port_guid(physp); in ni_rcv_get_port_info()
449 sm->p_subn->sm_port_guid = p_node->node_info.port_guid; in ni_rcv_process_new_ca_or_router()
480 p_port = osm_get_port_by_guid(sm->p_subn, p_ni->port_guid); in ni_rcv_process_existing_ca_or_router()
484 cl_ntoh64(p_ni->port_guid)); in ni_rcv_process_existing_ca_or_router()
500 p_ni->port_guid, in ni_rcv_process_existing_ca_or_router()
509 cl_ntoh64(p_ni->port_guid)); in ni_rcv_process_existing_ca_or_router()
515 p_alias_guid = osm_alias_guid_new(p_ni->port_guid, in ni_rcv_process_existing_ca_or_router()
521 cl_ntoh64(p_ni->port_guid)); in ni_rcv_process_existing_ca_or_router()
534 cl_ntoh64(p_ni->port_guid)); in ni_rcv_process_existing_ca_or_router()
[all …]
H A Dosm_helper.c839 IN ib_net64_t port_guid, in osm_dump_port_info_to_buf() argument
892 port_num, cl_ntoh64(node_guid), cl_ntoh64(port_guid), in osm_dump_port_info_to_buf()
926 IN ib_net64_t port_guid, IN uint8_t port_num, in osm_dump_port_info() argument
933 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info()
954 IN ib_net64_t port_guid, IN uint8_t port_num, in osm_dump_port_info_v2() argument
961 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info_v2()
982 IN ib_net64_t port_guid, IN uint8_t port_num, in osm_dump_mlnx_ext_port_info_to_buf() argument
998 port_num, cl_ntoh64(node_guid), cl_ntoh64(port_guid), in osm_dump_mlnx_ext_port_info_to_buf()
1005 IN ib_net64_t port_guid, IN uint8_t port_num, in osm_dump_mlnx_ext_port_info() argument
1012 osm_dump_mlnx_ext_port_info_to_buf(node_guid, port_guid, in osm_dump_mlnx_ext_port_info()
[all …]
H A Dosm_congestion_control.c110 p_madw->context.cc_context.port_guid = osm_physp_get_port_guid(p_physp); in cc_mad_post()
453 ib_net64_t port_guid = p_mad_context->cc_context.port_guid; in cc_rcv_mad() local
470 p_port = osm_get_port_by_guid(p_cc->subn, port_guid); in cc_rcv_mad()
474 cl_ntoh64(port_guid)); in cc_rcv_mad()
669 uint64_t port_guid = p_madw_context->cc_context.port_guid; in cc_mad_send_err_callback() local
678 p_port = osm_get_port_by_guid(p_cc->subn, port_guid); in cc_mad_send_err_callback()
682 cl_ntoh64(port_guid)); in cc_mad_send_err_callback()
726 ib_net64_t port_guid) in osm_congestion_control_bind() argument
733 bind_info.port_guid = p_cc->port_guid = port_guid; in osm_congestion_control_bind()
745 "Binding to port GUID 0x%" PRIx64 "\n", cl_ntoh64(port_guid)); in osm_congestion_control_bind()
H A Dosm_sa_guidinfo_record.c138 ib_net64_t port_guid; in sa_gir_create_gir() local
167 port_guid = osm_physp_get_port_guid(p_physp); in sa_gir_create_gir()
169 if (match_port_guid && (port_guid != match_port_guid)) in sa_gir_create_gir()
214 gir_rcv_new_gir(sa, p_node, p_list, port_guid, in sa_gir_create_gir()
403 block_num, max_block, cl_ntoh64(p_port->p_physp->port_guid)); in del_guidinfo()
510 block_num, max_block, cl_ntoh64(p_port->p_physp->port_guid)); in set_guidinfo()
523 cl_ntoh64(p_port->p_physp->port_guid)); in set_guidinfo()
530 (*p_port->p_physp->p_guids)[0] = p_port->p_physp->port_guid; in set_guidinfo()
571 p_port->p_physp->port_guid); in set_guidinfo()
618 p_assigned_guids = osm_assigned_guids_new(p_port->p_physp->port_guid, in set_guidinfo()
[all …]
H A Dosm_sminfo_rcv.c422 ib_net64_t port_guid; in smi_rcv_process_get_response() local
440 port_guid = p_smi->guid; in smi_rcv_process_get_response()
464 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in smi_rcv_process_get_response()
480 if (port_guid == sm->p_subn->sm_port_guid) { in smi_rcv_process_get_response()
483 "\n", cl_ntoh64(port_guid)); in smi_rcv_process_get_response()
487 p_sm = (osm_remote_sm_t *) cl_qmap_get(p_sm_tbl, port_guid); in smi_rcv_process_get_response()
498 cl_qmap_insert(p_sm_tbl, port_guid, &p_sm->map_item); in smi_rcv_process_get_response()
585 if (p_smi_context->port_guid != p_smi->guid) { in osm_sminfo_rcv_process()
590 cl_ntoh64(p_smi_context->port_guid), in osm_sminfo_rcv_process()
H A Dmain.c429 static ib_net64_t get_port_guid(IN osm_opensm_t * p_osm, uint64_t port_guid) in get_port_guid() argument
461 cl_hton64(attr_array[0].port_guid)); in get_port_guid()
462 return attr_array[0].port_guid; in get_port_guid()
465 if (port_guid == 0) { in get_port_guid()
472 cl_hton64(attr_array[i].port_guid)); in get_port_guid()
473 return attr_array[i].port_guid; in get_port_guid()
487 i + 1, cl_ntoh64(attr_array[i].port_guid), in get_port_guid()
505 cl_ntoh64(attr_array[choice].port_guid)); in get_port_guid()
506 return attr_array[choice].port_guid; in get_port_guid()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_helper.h213 IN ib_net64_t port_guid, IN uint8_t port_num,
218 IN ib_net64_t port_guid, IN uint8_t port_num,
261 IN ib_net64_t port_guid, IN uint8_t block_num,
266 IN ib_net64_t port_guid, IN uint8_t block_num,
299 IN ib_net64_t port_guid, IN uint8_t port_num,
304 IN ib_net64_t port_guid, IN uint8_t port_num,
401 void osm_dump_pkey_block(IN osm_log_t * p_log, IN uint64_t port_guid,
406 void osm_dump_pkey_block_v2(IN osm_log_t * p_log, IN uint64_t port_guid,
412 void osm_dump_slvl_map_table(IN osm_log_t * p_log, IN uint64_t port_guid,
417 void osm_dump_slvl_map_table_v2(IN osm_log_t * p_log, IN uint64_t port_guid,
[all …]
H A Dosm_madw.h72 ib_net64_t port_guid; member
181 ib_net64_t port_guid; member
200 ib_net64_t port_guid; member
277 ib_net64_t port_guid; member
294 ib_net64_t port_guid; member
310 ib_net64_t port_guid; member
326 ib_net64_t port_guid; member
352 ib_net64_t port_guid; member
H A Dosm_multicast.h247 IN ib_net64_t port_guid) in osm_mgrp_is_guid() argument
249 return (cl_qmap_get(&p_mgrp->mcm_port_tbl, port_guid) != in osm_mgrp_is_guid()
373 IN ib_net64_t port_guid);
400 IN ib_net64_t port_guid);
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sa.c55 uint64_t port_guid; member
222 IN ib_net64_t port_guid, in __osmv_get_lid_and_sm_lid_by_port_guid() argument
257 num_ports, cl_ntoh64(port_guid)); in __osmv_get_lid_and_sm_lid_by_port_guid()
277 if (p_attr_array[port_num].port_guid == port_guid) { in __osmv_get_lid_and_sm_lid_by_port_guid()
284 cl_ntoh64(port_guid), port_num); in __osmv_get_lid_and_sm_lid_by_port_guid()
297 IN osm_mad_pool_t * const p_mad_pool, IN ib_net64_t port_guid) in osmv_bind_sa() argument
308 "Binding to port 0x%" PRIx64 "\n", cl_ntoh64(port_guid)); in osmv_bind_sa()
310 bind_info.port_guid = port_guid; in osmv_bind_sa()
331 p_sa_bind_info->port_guid = port_guid; in osmv_bind_sa()
349 __osmv_get_lid_and_sm_lid_by_port_guid(p_vend, port_guid, in osmv_bind_sa()
[all …]
H A Dosm_vendor_al.c667 IN const ib_net64_t port_guid) in osm_vendor_get_ca_guid() argument
677 CL_ASSERT(port_guid); in osm_vendor_get_ca_guid()
699 if (port_guid == in osm_vendor_get_ca_guid()
720 IN const ib_net64_t port_guid) in osm_vendor_get_port_num() argument
730 CL_ASSERT(port_guid); in osm_vendor_get_port_num()
752 if (port_guid == in osm_vendor_get_port_num()
774 IN const ib_net64_t port_guid) in __osm_vendor_open_ca() argument
781 ca_guid = osm_vendor_get_ca_guid(p_vend, port_guid); in __osm_vendor_open_ca()
786 cl_ntoh64(port_guid)); in __osm_vendor_open_ca()
843 ib_net64_t port_guid; in osm_vendor_bind() local
[all …]
H A Dosm_vendor_ibumad.c87 ib_net64_t port_guid; member
683 attr->port_guid = ca.ports[j]->port_guid; in osm_vendor_get_all_port_attr()
699 attr->p_gid_table[0].unicast.interface_id = cl_hton64(ca.ports[j]->port_guid); in osm_vendor_get_all_port_attr()
721 IN const ib_net64_t port_guid) in osm_vendor_open_port() argument
738 if (!port_guid) { in osm_vendor_open_port()
757 if (port_guid == portguids[i]) { in osm_vendor_open_port()
768 cl_ntoh64(port_guid)); in osm_vendor_open_port()
813 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port()
822 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port()
849 p_vend->umad_port.port_guid = 0; in osm_vendor_close_port()
[all …]
H A Dosm_vendor_mlx_hca_pfs.c412 IN uint8_t port_num, OUT uint64_t * port_guid) in __get_port_guid_from_port_gid_tbl() argument
467 *port_guid = in __get_port_guid_from_port_gid_tbl()
485 uint64_t port_guid; in __osm_ca_info_init() local
533 (p_vend, idx, port_num, &port_guid)) { in __osm_ca_info_init()
540 p_ca_info->p_attr->p_port_attr[port_num - 1].port_guid = in __osm_ca_info_init()
541 cl_hton64(port_guid); in __osm_ca_info_init()
715 uint64_t port_guid; in osm_vendor_get_guid_ca_and_port() local
717 (p_vend, caIdx, port_num, &port_guid)) { in osm_vendor_get_guid_ca_and_port()
718 if (cl_hton64(port_guid) == guid) { in osm_vendor_get_guid_ca_and_port()
H A Dosm_vendor_mlx_hca_sim.c458 IN uint8_t port_num, OUT uint64_t * port_guid) in __get_port_guid_from_port_gid_tbl() argument
513 *port_guid = in __get_port_guid_from_port_gid_tbl()
531 uint64_t port_guid; in __osm_ca_info_init() local
579 (p_vend, idx, port_num, &port_guid)) { in __osm_ca_info_init()
586 p_ca_info->p_attr->p_port_attr[port_num - 1].port_guid = in __osm_ca_info_init()
587 cl_hton64(port_guid); in __osm_ca_info_init()
761 uint64_t port_guid; in osm_vendor_get_guid_ca_and_port() local
763 (p_vend, caIdx, port_num, &port_guid)) { in osm_vendor_get_guid_ca_and_port()
764 if (cl_hton64(port_guid) == guid) { in osm_vendor_get_guid_ca_and_port()
H A Dosm_vendor_mtl_hca_guid.c269 p_port_attr[port_num].port_guid); in __osm_ca_info_init()
434 ib_net64_t port_guid; in osm_vendor_get_guid_ca_and_port() local
507 (VAPI_gid_t *) & port_guid); in osm_vendor_get_guid_ca_and_port()
510 if (port_guid == guid) { in osm_vendor_get_guid_ca_and_port()
595 cl_ntoh64(attr_array[i].port_guid), in get_port_guid()
611 attr_array[choice - 1].port_guid, in get_port_guid()
620 return (attr_array[choice - 1].port_guid); in get_port_guid()

1234