/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_multicast.c | 135 mbox = osm_get_mbox_by_mlid(subn, p_mgrp->mlid); in osm_mgrp_new() 147 subn->p_osm->sa.dirty = TRUE; in osm_mgrp_new() 179 mbox = osm_get_mbox_by_mlid(subn, mgrp->mlid); in osm_mgrp_cleanup() 187 subn->p_osm->sa.dirty = TRUE; in osm_mgrp_cleanup() 200 notice.issuer_lid = subn->sm_base_lid; in mgrp_send_notice() 211 if ((status = osm_report_notice(log, subn, ¬ice))) in mgrp_send_notice() 331 osm_sm_reroute_mlid(&subn->p_osm->sm, mgrp->mlid); in osm_mgrp_add_port() 342 subn->p_osm->sa.dirty = TRUE; in osm_mgrp_add_port() 403 osm_sm_reroute_mlid(&subn->p_osm->sm, mgrp->mlid); in osm_mgrp_remove_port() 414 osm_mgrp_cleanup(subn, mgrp); in osm_mgrp_remove_port() [all …]
|
H A D | osm_ucast_updn.c | 292 port = osm_get_port_by_lid_ho(&updn->p_osm->subn, i); in updn_clear_non_root_hops() 302 osm_subn_t *p_subn = &p_updn->p_osm->subn; in updn_set_min_hop_table() 424 cl_qmap_count(&p_osm->subn.port_guid_tbl)); in updn_find_root_nodes_by_min_hop() 595 if (p_updn->p_osm->subn.opt.root_guid_file) { in updn_lid_matrices() 598 p_updn->p_osm->subn.opt.root_guid_file); in updn_lid_matrices() 605 p_updn->p_osm->subn.opt.root_guid_file); in updn_lid_matrices() 608 } else if (p_updn->p_osm->subn.opt.connect_roots && in updn_lid_matrices() 616 if (p_updn->p_osm->subn.opt.ids_guid_file) { in updn_lid_matrices() 619 p_updn->p_osm->subn.opt.ids_guid_file); in updn_lid_matrices() 626 p_updn->p_osm->subn.opt.ids_guid_file); in updn_lid_matrices() [all …]
|
H A D | osm_ucast_dnup.c | 235 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_subn_rank() 236 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_subn_rank() 297 osm_subn_t *p_subn = &p_dnup->p_osm->subn; in dnup_set_min_hop_table() 311 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table() 312 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table() 326 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table() 327 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_set_min_hop_table() 369 if (cl_is_qmap_empty(&p_dnup->p_osm->subn.sw_guid_tbl)) { in dnup_build_lid_matrices() 420 for (item = cl_qmap_head(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_lid_matrices() 421 item != cl_qmap_end(&p_dnup->p_osm->subn.sw_guid_tbl); in dnup_lid_matrices() [all …]
|
H A D | osm_dump.c | 228 p_osm->subn.opt.port_shifting, in dump_ucast_routes() 229 p_osm->subn.opt.scatter_ports, in dump_ucast_routes() 677 p_osm->subn.opt.dump_files_dir, file_name); in osm_dump_qmap_to_file() 707 &osm->subn.sw_guid_tbl, in osm_dump_mcast_routes() 722 dump_qmap(stdout, &osm->subn.sw_guid_tbl, in osm_dump_all() 727 if (osm->subn.opt.scatter_ports) in osm_dump_all() 728 srandom(osm->subn.opt.scatter_ports); in osm_dump_all() 731 &osm->subn.sw_guid_tbl, in osm_dump_all() 735 &osm->subn.sw_guid_tbl, in osm_dump_all() 738 if (osm->subn.opt.qos || in osm_dump_all() [all …]
|
H A D | osm_console.c | 381 p_osm->subn.opt.sm_priority); in priority_parse() 423 osm_subn_t *p_subn = &p_osm->subn; in dump_sms() 459 p_osm->subn.opt.sm_priority); in print_status() 518 p_osm->subn.sweeping_enabled, in print_status() 519 p_osm->subn.opt.sweep_interval, in print_status() 520 p_osm->subn.ignore_existing_lfts, in print_status() 522 p_osm->subn.in_sweep_hop_0, in print_status() 524 p_osm->subn.coming_out_of_standby); in print_status() 579 p_osm->subn.force_reroute = TRUE; in reroute_parse() 1459 if (!p_osm->subn.opt.perfmgr_redir) in dump_redir() [all …]
|
H A D | osm_qos.c | 458 if (!p_osm->subn.opt.qos) in osm_qos_setup() 463 qos_build_config(&ca_config, &p_osm->subn.opt.qos_ca_options, in osm_qos_setup() 464 &p_osm->subn.opt.qos_options); in osm_qos_setup() 465 qos_build_config(&sw0_config, &p_osm->subn.opt.qos_sw0_options, in osm_qos_setup() 466 &p_osm->subn.opt.qos_options); in osm_qos_setup() 467 qos_build_config(&swe_config, &p_osm->subn.opt.qos_swe_options, in osm_qos_setup() 468 &p_osm->subn.opt.qos_options); in osm_qos_setup() 469 qos_build_config(&rtr_config, &p_osm->subn.opt.qos_rtr_options, in osm_qos_setup() 470 &p_osm->subn.opt.qos_options); in osm_qos_setup() 477 osm_qos_parse_policy_file(&p_osm->subn); in osm_qos_setup() [all …]
|
H A D | osm_ucast_file.c | 64 p_port = osm_get_port_by_guid(&p_osm->subn, guid); in remap_lid() 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() 135 file_name = p_osm->subn.opt.lfts_file; in do_ucast_file_load() 190 p_sw = osm_get_switch_by_guid(&p_osm->subn, sw_guid); in do_ucast_file_load() 276 file_name = p_osm->subn.opt.lid_matrix_dump_file; in do_lid_matrix_file_load() 325 p_sw = osm_get_switch_by_guid(&p_osm->subn, guid); in do_lid_matrix_file_load()
|
H A D | osm_opensm.c | 245 osm_subn_construct(&p_osm->subn); in osm_opensm_construct() 324 p_osm->subn.opt.sa_db_dump) in osm_opensm_destroy() 348 osm_subn_destroy(&p_osm->subn); in osm_opensm_destroy_finish() 455 status = osm_subn_init(&p_osm->subn, p_osm, p_opt); in osm_opensm_init() 476 p_osm->subn.sm_port_guid = p_opt->guid; in osm_opensm_init_finish() 483 &p_osm->log, &p_osm->stats, &p_osm->subn, in osm_opensm_init_finish() 489 status = osm_sm_init(&p_osm->sm, &p_osm->subn, &p_osm->db, in osm_opensm_init_finish() 496 status = osm_sa_init(&p_osm->sm, &p_osm->sa, &p_osm->subn, in osm_opensm_init_finish()
|
H A D | osm_congestion_control.c | 71 osm_subn_opt_t *p_opt = &p_cc->subn->opt; in cc_mad_post() 360 if (!p_osm->subn.opt.congestion_control) in osm_congestion_control_setup() 375 p_tbl = &p_osm->subn.port_guid_tbl; in osm_congestion_control_setup() 417 if (!p_osm->subn.opt.congestion_control) in osm_congestion_control_wait_pending_transactions() 470 p_port = osm_get_port_by_guid(p_cc->subn, port_guid); in cc_rcv_mad() 528 osm_subn_opt_t *p_opt = &p_cc->subn->opt; in cc_poller_send() 589 p_cc->subn = &p_osm->subn; in osm_congestion_control_init() 678 p_port = osm_get_port_by_guid(p_cc->subn, port_guid); in cc_mad_send_err_callback() 713 p_cc->subn->subnet_initialization_error = TRUE; in cc_mad_send_err_callback() 741 bind_info.timeout = p_cc->subn->opt.transaction_timeout; in osm_congestion_control_bind() [all …]
|
H A D | osm_sa.c | 558 p_osm->subn.opt.dump_files_dir, file_name); in opensm_dump_to_file() 581 if (p_osm->subn.opt.fsync_high_avail_files) { in opensm_dump_to_file() 803 cl_qmap_apply_func(&p_osm->subn.port_guid_tbl, in sa_dump_all_sa() 811 cl_qlist_apply_func(&p_osm->subn.sa_infr_list, in sa_dump_all_sa() 814 cl_qlist_apply_func(&p_osm->subn.sa_sr_list, in sa_dump_all_sa() 963 p_port = osm_get_port_by_guid(&p_osm->subn, base_guid); in load_guidinfo() 1104 osm_mgrp_cleanup(&p_osm->subn, p_mgrp); in sa_db_file_load_handle_mgrp() 1119 if (!p_osm->subn.first_time_master_sweep) { in osm_sa_db_file_load() 1125 file_name = p_osm->subn.opt.sa_db_file; in osm_sa_db_file_load() 1213 !osm_mgrp_add_port(&p_osm->subn, &p_osm->log, in osm_sa_db_file_load() [all …]
|
H A D | osm_perfmgr.c | 307 bind_info.timeout = pm->subn->opt.transaction_timeout; in osm_perfmgr_bind() 308 bind_info.retries = pm->subn->opt.transaction_retries; in osm_perfmgr_bind() 1016 osm->subn.in_sweep_hop_0 = TRUE; in perfmgr_discovery() 1030 osm->subn.in_sweep_hop_0 = FALSE; in perfmgr_discovery() 1074 perfmgr_discovery(pm->subn->p_osm); in osm_perfmgr_process() 1594 if (!pm->subn->opt.perfmgr_redir) { in handle_redirect() 1896 if (pm->subn->opt.perfmgr_log_errors) in pc_recv_process() 1945 pm->subn = &osm->subn; in osm_perfmgr_init() 2015 if (pm->subn->opt.event_db_dump_file) in osm_perfmgr_dump_counters() 2016 file_name = pm->subn->opt.event_db_dump_file; in osm_perfmgr_dump_counters() [all …]
|
H A D | osm_ucast_lash.c | 84 if (p_lash->p_osm->subn.opt.do_mesh_analysis) { in connect_switches() 989 osm_subn_t *p_subn = &p_lash->p_osm->subn; in populate_fwd_tbls() 1105 osm_subn_t *p_subn = &p_lash->p_osm->subn; in lash_cleanup() 1137 osm_subn_t *p_subn = &p_lash->p_osm->subn; in discover_network_properties() 1184 if (p_lash->p_osm->subn.opt.lash_start_vl >= vl_min) { in discover_network_properties() 1187 p_lash->p_osm->subn.opt.lash_start_vl, vl_min); in discover_network_properties() 1195 p_lash->vl_min, p_lash->p_osm->subn.opt.lash_start_vl, in discover_network_properties() 1203 osm_subn_t *p_subn = &p_lash->p_osm->subn; in process_switches() 1295 p_src_port = osm_get_port_by_lid(&p_osm->subn, slid); in get_lash_sl() 1299 p_dst_port = osm_get_port_by_lid(&p_osm->subn, dlid); in get_lash_sl() [all …]
|
H A D | osm_ucast_ftree.c | 1299 p_ftree->p_osm->subn.opt.dump_files_dir, filename); in fabric_dump_hca_ordering() 1452 return (p_ftree->p_osm->subn.opt.cn_guid_file != NULL); in fabric_cns_provided() 1459 return (p_ftree->p_osm->subn.opt.io_guid_file != NULL); in fabric_ios_provided() 3145 subn.node_guid_tbl)) { in fabric_populate_nodes() 3637 p_ftree->p_osm->subn.opt.root_guid_file); in fabric_load_roots() 3645 p_ftree->p_osm->subn.opt.root_guid_file); in fabric_load_roots() 3953 p_ftree->p_osm->subn.opt.cn_guid_file); in fabric_read_guid_files() 3976 p_ftree->p_osm->subn.opt.io_guid_file); in fabric_read_guid_files() 4071 if (p_ftree->p_osm->subn.opt.lmc > 0) { in construct_fabric() 4083 cl_qmap_count(&p_ftree->p_osm->subn.sw_guid_tbl)); in construct_fabric() [all …]
|
H A D | osm_pkey_mgr.c | 828 if (osm_prtn_make_partitions(&p_osm->log, &p_osm->subn) != IB_SUCCESS) { in osm_pkey_mgr_process() 836 p_tbl = &p_osm->subn.prtn_pkey_tbl; in osm_pkey_mgr_process() 848 p_tbl = &p_osm->subn.port_guid_tbl; in osm_pkey_mgr_process() 857 &p_osm->subn, p_port, in osm_pkey_mgr_process() 858 p_osm->subn.opt.part_enforce_enum)) in osm_pkey_mgr_process() 863 p_tbl = &p_osm->subn.sw_guid_tbl; in osm_pkey_mgr_process()
|
H A D | main.c | 476 if (p_osm->subn.opt.daemon) in get_port_guid() 590 p_osm->subn.force_heavy_sweep = TRUE; in osm_manager_loop() 1234 osm.subn.opt. in main()
|
H A D | osm_subnet.c | 1458 osm_port_t *osm_get_port_by_lid_ho(IN osm_subn_t const * subn, IN uint16_t lid) in osm_get_port_by_lid_ho() argument 1460 if (lid < cl_ptr_vector_get_size(&subn->port_lid_tbl)) in osm_get_port_by_lid_ho() 1461 return cl_ptr_vector_get(&subn->port_lid_tbl, lid); in osm_get_port_by_lid_ho() 1465 osm_mgrp_t *osm_get_mgrp_by_mgid(IN osm_subn_t * subn, IN ib_gid_t * mgid) in osm_get_mgrp_by_mgid() argument 1469 mgrp = (osm_mgrp_t *)cl_fmap_get(&subn->mgrp_mgid_tbl, mgid); in osm_get_mgrp_by_mgid() 1470 if (mgrp != (osm_mgrp_t *)cl_fmap_end(&subn->mgrp_mgid_tbl)) in osm_get_mgrp_by_mgid()
|
H A D | osm_torus.c | 1136 osm_subn_t *subnet = &fabric->osm->subn; in capture_fabric() 7028 (int)t->osm->subn.min_sw_data_vls); in verify_setup() 7031 if (t->osm->subn.min_sw_data_vls < 4) in verify_setup() 7036 (int)t->osm->subn.min_sw_data_vls); in verify_setup() 7037 if (t->osm->subn.min_sw_data_vls < 8) in verify_setup() 7041 (int)t->osm->subn.min_sw_data_vls); in verify_setup() 7042 if (t->osm->subn.min_data_vls < 2) in verify_setup() 7046 (int)t->osm->subn.min_data_vls); in verify_setup() 8039 data_vls = t->osm->subn.min_data_vls; in sl2vl_entry() 9455 if (!ctx->osm->subn.opt.qos) { in torus_build_lfts() [all …]
|
H A D | osm_sa_mcmember_record.c | 142 static ib_net16_t find_ipv6_snm_mlid(osm_subn_t *subn, ib_gid_t *mgid) in find_ipv6_snm_mlid() argument 144 osm_mgrp_t *m = (osm_mgrp_t *)cl_fmap_match(&subn->mgrp_mgid_tbl, mgid, in find_ipv6_snm_mlid() 146 if (m != (osm_mgrp_t *)cl_fmap_end(&subn->mgrp_mgid_tbl)) in find_ipv6_snm_mlid()
|
H A D | osm_ucast_mgr.c | 1068 if (osm->subn.opt.scatter_ports) in ucast_mgr_route() 1069 srandom(osm->subn.opt.scatter_ports); in ucast_mgr_route()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_multicast.h | 182 osm_mgrp_t *osm_mgrp_new(IN osm_subn_t * subn, IN ib_net16_t mlid, 337 osm_mcm_port_t *osm_mgrp_add_port(osm_subn_t *subn, osm_log_t *log, 426 void osm_mgrp_delete_port(IN osm_subn_t * subn, IN osm_log_t * log, 451 boolean_t osm_mgrp_remove_port(osm_subn_t * subn, osm_log_t * log, osm_mgrp_t * mgrp, 454 void osm_mgrp_cleanup(osm_subn_t * subn, osm_mgrp_t * mpgr);
|
H A D | osm_subnet.h | 1268 struct osm_port *osm_get_port_by_lid_ho(const osm_subn_t * subn, uint16_t lid); 1431 static inline struct osm_port *osm_get_port_by_lid(IN osm_subn_t const * subn, in osm_get_port_by_lid() argument 1434 return osm_get_port_by_lid_ho(subn, cl_ntoh16(lid)); in osm_get_port_by_lid() 1462 struct osm_mgrp *osm_get_mgrp_by_mgid(IN osm_subn_t * subn, IN ib_gid_t * mgid);
|
H A D | osm_congestion_control.h | 78 osm_subn_t *subn; member
|
H A D | osm_opensm.h | 213 osm_subn_t subn; member
|
H A D | osm_perfmgr.h | 136 osm_subn_t *subn; member
|
/freebsd/contrib/mandoc/ |
H A D | mdoc_html.c | 517 struct roff_node *sn, *subn; in mdoc_sh_pre() local 551 for (subn = sn->body->child; subn != NULL; in mdoc_sh_pre() 552 subn = subn->next) { in mdoc_sh_pre() 553 if (subn->tok != MDOC_Ss) in mdoc_sh_pre() 555 id = html_make_id(subn->head, 0); in mdoc_sh_pre() 565 subn->head->child, h); in mdoc_sh_pre()
|