Searched refs:subn (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.3-release/contrib/ofed/management/opensm/opensm/
H A Dosm_ucast_updn.c225 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl);
226 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl);
296 cl_ptr_vector_get(&p_updn->p_osm->subn.port_lid_tbl,
309 osm_subn_t *p_subn = &p_updn->p_osm->subn;
321 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl);
322 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl);
339 for (item = cl_qmap_head(&p_updn->p_osm->subn.sw_guid_tbl);
340 item != cl_qmap_end(&p_updn->p_osm->subn.sw_guid_tbl);
371 if (cl_is_qmap_empty(&p_updn->p_osm->subn.sw_guid_tbl)) {
432 cl_qmap_count(&p_osm->subn
[all...]
H A Dosm_multicast.c98 static void mgrp_send_notice(osm_subn_t *subn, osm_log_t *log, argument
108 notice.issuer_lid = subn->sm_base_lid;
116 notice.issuer_gid.unicast.prefix = subn->opt.subnet_prefix;
117 notice.issuer_gid.unicast.interface_id = subn->sm_port_guid;
119 if ((status = osm_report_notice(log, subn, &notice)))
127 osm_mcm_port_t *osm_mgrp_add_port(IN osm_subn_t *subn, osm_log_t *log, argument
178 mgrp_send_notice(subn, log, p_mgrp, 66);
187 int osm_mgrp_remove_port(osm_subn_t *subn, osm_log_t *log, osm_mgrp_t *mgrp, argument
224 mgrp_send_notice(subn, log, mgrp, 67);
232 void osm_mgrp_delete_port(osm_subn_t *subn, osm_log_ argument
[all...]
H A Dosm_qos.c278 if (!p_osm->subn.opt.qos)
283 qos_build_config(&ca_config, &p_osm->subn.opt.qos_ca_options,
284 &p_osm->subn.opt.qos_options);
285 qos_build_config(&sw0_config, &p_osm->subn.opt.qos_sw0_options,
286 &p_osm->subn.opt.qos_options);
287 qos_build_config(&swe_config, &p_osm->subn.opt.qos_swe_options,
288 &p_osm->subn.opt.qos_options);
289 qos_build_config(&rtr_config, &p_osm->subn.opt.qos_rtr_options,
290 &p_osm->subn.opt.qos_options);
295 osm_qos_parse_policy_file(&p_osm->subn);
[all...]
H A Dosm_ucast_file.c62 p_port = osm_get_port_by_guid(&p_osm->subn, guid);
96 if (!(p_osm->subn.opt.port_profile_switch_nodes && port_guid &&
97 osm_get_switch_by_guid(&p_osm->subn, port_guid)))
134 file_name = p_osm->subn.opt.lfts_file;
192 p_sw = osm_get_switch_by_guid(&p_osm->subn, sw_guid);
268 file_name = p_osm->subn.opt.lid_matrix_dump_file;
317 p_sw = osm_get_switch_by_guid(&p_osm->subn, guid);
H A Dosm_dump.c142 p_port = cl_ptr_vector_get(&p_osm->subn.port_lid_tbl, lid_ho);
315 p_port = cl_ptr_vector_get(&p_osm->subn.port_lid_tbl, lid);
346 p_port = cl_ptr_vector_get(&p_osm->subn.port_lid_tbl, lid);
517 if (osm_physp_get_port_guid(p_physp) == osm->subn.sm_port_guid)
580 p_osm->subn.opt.dump_files_dir, file_name);
604 dump_qmap(stdout, &osm->subn.node_guid_tbl, print_node_report, osm);
612 &osm->subn.sw_guid_tbl,
621 &osm->subn.sw_guid_tbl, dump_lid_matrix,
624 &osm->subn.sw_guid_tbl, dump_ucast_lfts,
627 dump_qmap(stdout, &osm->subn
[all...]
H A Dosm_console.c288 p_osm->subn.opt.sm_priority);
336 sm_state_str(p_osm->subn.sm_state));
391 p_osm->subn.ignore_existing_lfts,
392 p_osm->subn.subnet_initialization_error,
393 p_osm->subn.in_sweep_hop_0,
394 p_osm->subn.first_time_master_sweep,
395 p_osm->subn.coming_out_of_standby);
442 p_osm->subn.force_heavy_sweep = TRUE;
449 p_osm->subn.force_reroute = TRUE;
473 if (lid > cl_ptr_vector_get_capacity(&(p_osm->subn
[all...]
H A Dosm_perfmgr.c224 if (pm->subn->opt.perfmgr_redir && p_madw->status == IB_TIMEOUT) {
481 node = osm_get_node_by_guid(pm->subn, cl_hton64(mon_node->guid));
737 cl_qmap_apply_func(&osm->subn.node_guid_tbl, reset_node_count, NULL);
738 cl_qmap_apply_func(&osm->subn.port_guid_tbl, reset_port_count, NULL);
739 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, reset_switch_count, NULL);
742 osm->subn.in_sweep_hop_0 = TRUE;
756 osm->subn.in_sweep_hop_0 = FALSE;
784 if (pm->subn->sm_state == IB_SMINFO_STATE_STANDBY ||
785 pm->subn->sm_state == IB_SMINFO_STATE_NOTACTIVE)
786 perfmgr_discovery(pm->subn
[all...]
H A Dosm_opensm.c216 osm_subn_construct(&p_osm->subn);
302 osm_subn_destroy(&p_osm->subn);
392 status = osm_subn_init(&p_osm->subn, p_osm, p_opt);
418 status = osm_sm_init(&p_osm->sm, &p_osm->subn, &p_osm->db,
426 status = osm_sa_init(&p_osm->sm, &p_osm->sa, &p_osm->subn,
H A Dosm_pkey_mgr.c490 if (osm_prtn_make_partitions(&p_osm->log, &p_osm->subn) != IB_SUCCESS) {
497 p_tbl = &p_osm->subn.prtn_pkey_tbl;
509 p_tbl = &p_osm->subn.port_guid_tbl;
518 &p_osm->subn, p_port,
519 !p_osm->subn.opt.
H A Dosm_sa.c533 p_osm->subn.opt.dump_files_dir, file_name);
712 for (i = 0; i <= p_osm->subn.max_mcast_lid_ho - IB_LID_MCAST_START_HO;
714 p_mgrp = p_osm->subn.mgroups[i];
719 cl_qlist_apply_func(&p_osm->subn.sa_infr_list,
722 cl_qlist_apply_func(&p_osm->subn.sa_sr_list,
744 p_mgrp = osm_get_mgrp_by_mlid(&p_osm->subn, mlid);
788 if (osm_svcr_get_by_rid(&p_osm->subn, &p_osm->log, sr)) {
806 osm_svcr_insert_to_db(&p_osm->subn, &p_osm->log, p_svcr);
831 if (osm_infr_get_by_rec(&p_osm->subn, &p_osm->log, &infr)) {
846 osm_infr_insert_to_db(&p_osm->subn,
[all...]
H A Dmain.c401 if (p_osm->subn.opt.daemon)
504 p_osm->subn.force_heavy_sweep = TRUE;
998 osm.subn.opt.
H A Dosm_ucast_ftree.c1217 p_ftree->p_osm->subn.opt.dump_files_dir, filename);
1337 return (p_ftree->p_osm->subn.opt.root_guid_file != NULL);
1345 return (p_ftree->p_osm->subn.opt.cn_guid_file != NULL);
2604 (osm_node_t *) cl_qmap_head(&p_ftree->p_osm->subn.node_guid_tbl);
2606 (osm_node_t *) cl_qmap_end(&p_ftree->p_osm->subn.
3369 p_ftree->p_osm->subn.opt.root_guid_file);
3371 if (parse_node_map(p_ftree->p_osm->subn.opt.root_guid_file,
3389 p_ftree->p_osm->subn.opt.cn_guid_file);
3391 if (parse_node_map(p_ftree->p_osm->subn.opt.cn_guid_file,
3423 if (p_ftree->p_osm->subn
[all...]
H A Dosm_ucast_lash.c1034 osm_subn_t *p_subn = &p_lash->p_osm->subn;
1154 osm_subn_t *p_subn = &p_lash->p_osm->subn;
1186 osm_subn_t *p_subn = &p_lash->p_osm->subn;
1245 osm_subn_t *p_subn = &p_lash->p_osm->subn;
/freebsd-10.3-release/contrib/ofed/management/opensm/include/opensm/
H A Dosm_multicast.h368 osm_mcm_port_t *osm_mgrp_add_port(osm_subn_t *subn, osm_log_t *log,
465 int osm_mgrp_remove_port(osm_subn_t *subn, osm_log_t *log, osm_mgrp_t *mgrp,
H A Dosm_opensm.h171 osm_subn_t subn; member in struct:osm_opensm
196 * subn
H A Dosm_perfmgr.h117 osm_subn_t *subn; member in struct:osm_perfmgr
138 * subn

Completed in 89 milliseconds