| /NextBSD/contrib/ofed/management/opensm/opensm/ |
| HD | osm_port_info_rcv.c | 113 ib_net64_t port_guid; in __osm_pi_rcv_process_endport() local 120 port_guid = osm_physp_get_port_guid(p_physp); in __osm_pi_rcv_process_endport() 129 PRIx64 "\n", mtu, cl_ntoh64(port_guid)); in __osm_pi_rcv_process_endport() 137 PRIx64 "\n", rate, cl_ntoh64(port_guid)); in __osm_pi_rcv_process_endport() 142 if (port_guid == sm->p_subn->sm_port_guid) { in __osm_pi_rcv_process_endport() 159 p_sm = (osm_remote_sm_t *) cl_qmap_get(p_sm_tbl, port_guid); in __osm_pi_rcv_process_endport() 166 cl_ntoh64(port_guid)); in __osm_pi_rcv_process_endport() 171 cl_ntoh64(port_guid)); in __osm_pi_rcv_process_endport() 180 context.smi_context.port_guid = port_guid; in __osm_pi_rcv_process_endport() 195 p_sm = (osm_remote_sm_t *) cl_qmap_remove(p_sm_tbl, port_guid); in __osm_pi_rcv_process_endport() [all …]
|
| HD | osm_drop_mgr.c | 94 p_remote_physp->port_guid); in drop_mgr_clean_physp() 109 cl_ntoh64(p_remote_physp->port_guid), in drop_mgr_clean_physp() 158 ib_net64_t port_guid; in __osm_drop_mgr_remove_port() local 175 port_guid = osm_port_get_guid(p_port); in __osm_drop_mgr_remove_port() 177 "Unreachable port 0x%016" PRIx64 "\n", cl_ntoh64(port_guid)); in __osm_drop_mgr_remove_port() 181 port_guid); in __osm_drop_mgr_remove_port() 185 cl_ntoh64(port_guid)); in __osm_drop_mgr_remove_port() 190 p_sm = (osm_remote_sm_t *) cl_qmap_remove(p_sm_guid_tbl, port_guid); in __osm_drop_mgr_remove_port() 195 cl_ntoh64(port_guid)); in __osm_drop_mgr_remove_port() 200 __osm_drop_mgr_remove_router(sm, port_guid); in __osm_drop_mgr_remove_port() [all …]
|
| HD | osm_sm.c | 428 osm_sm_bind(IN osm_sm_t * const p_sm, IN const ib_net64_t port_guid) in osm_sm_bind() argument 434 status = osm_sm_mad_ctrl_bind(&p_sm->mad_ctrl, port_guid); in osm_sm_bind() 453 IN const ib_net64_t port_guid, in __osm_sm_mgrp_process() argument 468 ctx->port_guid = port_guid; in __osm_sm_mgrp_process() 484 IN const ib_net64_t port_guid, in __osm_sm_mgrp_connect() argument 487 return __osm_sm_mgrp_process(p_sm, p_mgrp, port_guid, req_type); in __osm_sm_mgrp_connect() 495 IN const ib_net64_t port_guid) in __osm_sm_mgrp_disconnect() argument 497 __osm_sm_mgrp_process(p_sm, p_mgrp, port_guid, in __osm_sm_mgrp_disconnect() 506 IN const ib_net64_t port_guid, in osm_sm_mcgrp_join() argument 518 cl_ntoh64(port_guid), cl_ntoh16(mlid)); in osm_sm_mcgrp_join() [all …]
|
| HD | osm_vl_arb_rcv.c | 73 ib_net64_t port_guid; in osm_vla_rcv_process() local 88 port_guid = p_context->port_guid; in osm_vla_rcv_process() 94 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_vla_rcv_process() 101 cl_ntoh64(port_guid), in osm_vla_rcv_process() 126 PRIx64 "\n", block_num, port_num, cl_ntoh64(port_guid), in osm_vla_rcv_process() 140 port_guid, block_num, in osm_vla_rcv_process()
|
| HD | osm_slvl_map_rcv.c | 73 ib_net64_t port_guid; in osm_slvl_rcv_process() local 87 port_guid = p_context->port_guid; in osm_slvl_rcv_process() 93 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_slvl_rcv_process() 101 cl_ntoh64(port_guid), in osm_slvl_rcv_process() 129 PRIx64 "\n", in_port_num, out_port_num, cl_ntoh64(port_guid), in osm_slvl_rcv_process() 143 port_guid, in_port_num, in osm_slvl_rcv_process()
|
| HD | osm_pkey_rcv.c | 66 ib_net64_t port_guid; in osm_pkey_rcv_process() local 82 port_guid = p_context->port_guid; in osm_pkey_rcv_process() 88 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in osm_pkey_rcv_process() 94 cl_ntoh64(port_guid), in osm_pkey_rcv_process() 121 PRIx64 "\n", block_num, port_num, cl_ntoh64(port_guid), in osm_pkey_rcv_process() 135 port_guid, block_num, in osm_pkey_rcv_process()
|
| HD | osm_ucast_file.c | 80 ib_net64_t port_guid) in add_path() argument 85 new_lid = port_guid ? remap_lid(p_osm, lid, port_guid) : lid; in add_path() 96 if (!(p_osm->subn.opt.port_profile_switch_nodes && port_guid && in add_path() 97 osm_get_switch_by_guid(&p_osm->subn, port_guid))) in add_path() 103 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 231 port_guid = 0; in do_ucast_file_load() 234 port_guid = strtoull(p, &q, 16); in do_ucast_file_load() 241 port_guid = 0; in do_ucast_file_load() 244 port_guid = cl_hton64(port_guid); in do_ucast_file_load() [all …]
|
| HD | osm_sa_node_record.c | 76 IN ib_net64_t const port_guid, IN ib_net16_t const lid) in __osm_nr_rcv_new_nr() argument 95 cl_ntoh64(port_guid), cl_ntoh16(lid)); in __osm_nr_rcv_new_nr() 102 p_rec_item->rec.node_info.port_guid = port_guid; in __osm_nr_rcv_new_nr() 130 ib_net64_t port_guid; in __osm_nr_rcv_create_nr() local 158 port_guid = osm_physp_get_port_guid(p_physp); in __osm_nr_rcv_create_nr() 160 if (match_port_guid && (port_guid != match_port_guid)) in __osm_nr_rcv_create_nr() 182 __osm_nr_rcv_new_nr(sa, p_node, p_list, port_guid, base_lid); in __osm_nr_rcv_create_nr() 224 match_port_guid = p_rcvd_rec->node_info.port_guid; in __osm_nr_rcv_by_comp_mask()
|
| HD | osm_node_info_rcv.c | 107 p_physp->p_remote_physp->p_node->node_info.port_guid; in requery_dup_node_info() 289 context.pi_context.port_guid = p_ni->port_guid; in __osm_ni_rcv_process_new_node() 383 sm->p_subn->sm_port_guid = p_node->node_info.port_guid; in __osm_ni_rcv_process_new_ca_or_router() 419 p_port = osm_get_port_by_guid(sm->p_subn, p_ni->port_guid); in __osm_ni_rcv_process_existing_ca_or_router() 423 cl_ntoh64(p_ni->port_guid)); in __osm_ni_rcv_process_existing_ca_or_router() 439 p_ni->port_guid, in __osm_ni_rcv_process_existing_ca_or_router() 448 cl_ntoh64(p_ni->port_guid)); in __osm_ni_rcv_process_existing_ca_or_router() 478 context.pi_context.port_guid = p_ni->port_guid; in __osm_ni_rcv_process_existing_ca_or_router() 581 sm->p_subn->sm_port_guid = p_node->node_info.port_guid; in __osm_ni_rcv_process_new_switch() 644 p_ni->port_guid, &p_port->map_item); in __osm_ni_rcv_process_new() [all …]
|
| HD | osm_multicast.c | 133 ib_net64_t port_guid; in osm_mgrp_add_port() local 143 port_guid = p_port_gid->unicast.interface_id; in osm_mgrp_add_port() 153 port_guid, &p_mcm_port->map_item); in osm_mgrp_add_port() 233 ib_net64_t port_guid) in osm_mgrp_delete_port() argument 235 cl_map_item_t *item = cl_qmap_get(&mgrp->mcm_port_tbl, port_guid); in osm_mgrp_delete_port() 245 IN const ib_net64_t port_guid, in osm_mgrp_is_port_present() argument 252 p_map_item = cl_qmap_get(&p_mgrp->mcm_port_tbl, port_guid); in osm_mgrp_is_port_present()
|
| HD | osm_port.c | 74 if (p_physp->port_guid) { in osm_physp_destroy() 93 IN const ib_net64_t port_guid, in osm_physp_init() argument 106 p_physp->port_guid = port_guid; in osm_physp_init() 152 ib_net64_t port_guid; in osm_port_init() local 163 port_guid = p_ni->port_guid; in osm_port_init() 164 p_port->guid = port_guid; in osm_port_init() 175 CL_ASSERT(port_guid == osm_physp_get_port_guid(p_physp)); in osm_port_init() 575 ib_net64_t port_guid; in osm_physp_replace_dr_path_with_alternate_dr_path() local 601 port_guid = p_subn->sm_port_guid; in osm_physp_replace_dr_path_with_alternate_dr_path() 603 CL_ASSERT(port_guid); in osm_physp_replace_dr_path_with_alternate_dr_path() [all …]
|
| HD | osm_sminfo_rcv.c | 431 ib_net64_t port_guid; in __osm_sminfo_rcv_process_get_response() local 448 port_guid = p_smi->guid; in __osm_sminfo_rcv_process_get_response() 467 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in __osm_sminfo_rcv_process_get_response() 483 if (port_guid == sm->p_subn->sm_port_guid) { in __osm_sminfo_rcv_process_get_response() 486 "\n", cl_ntoh64(port_guid)); in __osm_sminfo_rcv_process_get_response() 490 p_sm = (osm_remote_sm_t *) cl_qmap_get(p_sm_tbl, port_guid); in __osm_sminfo_rcv_process_get_response() 501 cl_qmap_insert(p_sm_tbl, port_guid, &p_sm->map_item); in __osm_sminfo_rcv_process_get_response() 579 if (p_smi_context->port_guid != p_smi->guid) { in osm_sminfo_rcv_process() 584 cl_ntoh64(p_smi_context->port_guid), in osm_sminfo_rcv_process()
|
| HD | main.c | 355 static ib_net64_t get_port_guid(IN osm_opensm_t * p_osm, uint64_t port_guid) in get_port_guid() argument 386 cl_hton64(attr_array[0].port_guid)); in get_port_guid() 387 return (attr_array[0].port_guid); in get_port_guid() 390 if (port_guid == 0) { in get_port_guid() 397 cl_hton64(attr_array[i].port_guid)); in get_port_guid() 398 return (attr_array[i].port_guid); in get_port_guid() 413 cl_ntoh64(attr_array[i].port_guid), in get_port_guid() 434 cl_ntoh64(attr_array[choice].port_guid)); in get_port_guid() 435 return (attr_array[choice].port_guid); in get_port_guid()
|
| HD | osm_state_mgr.c | 178 mad_context.pi_context.port_guid = p_physp->port_guid; in __osm_state_mgr_get_remote_port_info() 325 ib_net64_t port_guid; in __osm_state_mgr_is_sm_port_down() local 332 port_guid = sm->p_subn->sm_port_guid; in __osm_state_mgr_is_sm_port_down() 337 if (port_guid == 0) { in __osm_state_mgr_is_sm_port_down() 344 CL_ASSERT(port_guid); in __osm_state_mgr_is_sm_port_down() 347 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); in __osm_state_mgr_is_sm_port_down() 351 cl_ntoh64(port_guid)); in __osm_state_mgr_is_sm_port_down() 384 ib_net64_t port_guid; in __osm_state_mgr_sweep_hop_1() local 395 port_guid = sm->p_subn->sm_port_guid; in __osm_state_mgr_sweep_hop_1() 397 CL_ASSERT(port_guid); in __osm_state_mgr_sweep_hop_1() [all …]
|
| HD | osm_mcast_mgr.c | 929 IN ib_net64_t const port_guid, 945 CL_ASSERT(port_guid); 952 cl_ntoh64(port_guid), mlid_ho, join_state); 957 p_port = osm_get_port_by_guid(sm->p_subn, port_guid); 961 cl_ntoh64(port_guid)); 970 "\n", cl_ntoh64(port_guid)); 979 "for 0x%" PRIx64 "\n", cl_ntoh64(port_guid)); 1052 ib_net64_t port_guid) in osm_mcast_mgr_process_tree() argument 1104 IN ib_net64_t port_guid) in mcast_mgr_process_mgrp() argument 1110 status = osm_mcast_mgr_process_tree(sm, p_mgrp, req_type, port_guid); in mcast_mgr_process_mgrp() [all …]
|
| HD | osm_node.c | 58 ib_net64_t port_guid; in osm_node_init_physp() local 66 port_guid = p_ni->port_guid; in osm_node_init_physp() 72 port_guid, port_num, p_node, in osm_node_init_physp() 89 p_ni->port_guid, 0, p_node, in node_init_physp0()
|
| /NextBSD/contrib/ofed/management/opensm/include/opensm/ |
| HD | osm_multicast.h | 100 ib_net64_t port_guid; member 278 IN const ib_net64_t port_guid) in osm_mgrp_is_guid() argument 280 return (cl_qmap_get(&p_mgrp->mcm_port_tbl, port_guid) != in osm_mgrp_is_guid() 405 IN const ib_net64_t port_guid, 441 IN const ib_net64_t port_guid);
|
| HD | osm_madw.h | 71 ib_net64_t port_guid; member 172 ib_net64_t port_guid; member 249 ib_net64_t port_guid; member 266 ib_net64_t port_guid; member 282 ib_net64_t port_guid; member 298 ib_net64_t port_guid; member
|
| /NextBSD/contrib/ofed/management/opensm/osmtest/ |
| HD | main.c | 236 cl_hton64(attr_array[i].port_guid)); in print_all_guids() 241 ib_net64_t get_port_guid(IN osmtest_t * p_osmt, uint64_t port_guid) in get_port_guid() argument 264 cl_hton64(attr_array[0].port_guid)); in get_port_guid() 265 return (attr_array[0].port_guid); in get_port_guid() 269 if (attr_array[i].port_guid == port_guid || in get_port_guid() 270 (!port_guid && attr_array[i].link_state > IB_LINK_DOWN)) in get_port_guid() 271 return attr_array[i].port_guid; in get_port_guid()
|
| /NextBSD/contrib/ofed/management/opensm/libvendor/ |
| HD | osm_vendor_mlx_sa.c | 57 uint64_t port_guid; member 235 IN ib_net64_t port_guid, in __osmv_get_lid_and_sm_lid_by_port_guid() argument 274 num_ports, cl_ntoh64(port_guid) in __osmv_get_lid_and_sm_lid_by_port_guid() 297 if (p_attr_array[port_num].port_guid == port_guid) { in __osmv_get_lid_and_sm_lid_by_port_guid() 305 cl_ntoh64(port_guid), port_num); in __osmv_get_lid_and_sm_lid_by_port_guid() 320 IN osm_mad_pool_t * const p_mad_pool, IN ib_net64_t port_guid) in osmv_bind_sa() argument 332 "Binding to port 0x%" PRIx64 ".\n", cl_ntoh64(port_guid)); in osmv_bind_sa() 334 bind_info.port_guid = port_guid; in osmv_bind_sa() 356 p_sa_bind_info->port_guid = port_guid; in osmv_bind_sa() 375 __osmv_get_lid_and_sm_lid_by_port_guid(p_vend, port_guid, in osmv_bind_sa() [all …]
|
| HD | osm_vendor_ibumad.c | 83 ib_net64_t port_guid; member 588 attr->port_guid = ca.ports[j]->port_guid; in osm_vendor_get_all_port_attr() 615 IN const ib_net64_t port_guid) in osm_vendor_open_port() argument 632 if (!port_guid) { in osm_vendor_open_port() 648 if (port_guid == portguids[i]) { in osm_vendor_open_port() 659 cl_ntoh64(port_guid)); in osm_vendor_open_port() 704 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port() 713 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port() 740 p_vend->umad_port.port_guid = 0; in osm_vendor_close_port() 767 ib_net64_t port_guid; in osm_vendor_bind() local [all …]
|
| HD | osm_vendor_al.c | 697 IN const ib_net64_t port_guid) in osm_vendor_get_ca_guid() argument 707 CL_ASSERT(port_guid); in osm_vendor_get_ca_guid() 729 if (port_guid == in osm_vendor_get_ca_guid() 752 IN const ib_net64_t port_guid) in osm_vendor_get_port_num() argument 762 CL_ASSERT(port_guid); in osm_vendor_get_port_num() 784 if (port_guid == in osm_vendor_get_port_num() 808 IN const ib_net64_t port_guid) in __osm_vendor_open_ca() argument 815 ca_guid = osm_vendor_get_ca_guid(p_vend, port_guid); in __osm_vendor_open_ca() 820 cl_ntoh64(port_guid)); in __osm_vendor_open_ca() 881 ib_net64_t port_guid; in osm_vendor_bind() local [all …]
|
| HD | osm_vendor_mlx_hca_pfs.c | 412 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() 717 uint64_t port_guid; in osm_vendor_get_guid_ca_and_port() local 719 (p_vend, caIdx, port_num, &port_guid)) { in osm_vendor_get_guid_ca_and_port() 720 if (cl_hton64(port_guid) == guid) { in osm_vendor_get_guid_ca_and_port()
|
| HD | osm_vendor_mlx_hca_sim.c | 458 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() 763 uint64_t port_guid; in osm_vendor_get_guid_ca_and_port() local 765 (p_vend, caIdx, port_num, &port_guid)) { in osm_vendor_get_guid_ca_and_port() 766 if (cl_hton64(port_guid) == guid) { in osm_vendor_get_guid_ca_and_port()
|
| HD | osm_vendor_mtl_hca_guid.c | 269 p_port_attr[port_num].port_guid); in __osm_ca_info_init() 436 ib_net64_t port_guid; in osm_vendor_get_guid_ca_and_port() local 509 (VAPI_gid_t *) & port_guid); in osm_vendor_get_guid_ca_and_port() 512 if (port_guid == guid) { in osm_vendor_get_guid_ca_and_port() 599 cl_ntoh64(attr_array[i].port_guid), in get_port_guid() 615 attr_array[choice - 1].port_guid, in get_port_guid() 624 return (attr_array[choice - 1].port_guid); in get_port_guid()
|