/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_sw_info_record.c | 121 osm_get_port_by_guid(sa->p_subn, p_sw->p_node->node_info.port_guid); 140 sa->p_subn->opt.allow_both_pkeys)) 228 p_req_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn, 255 cl_qmap_apply_func(&sa->p_subn->sw_guid_tbl, sir_rcv_by_comp_mask,
|
H A D | osm_qos_parser_y.y | 1368 osm_get_port_by_guid(p_qos_policy->p_subn, 1369 p_qos_policy->p_subn->sm_port_guid); 2380 int osm_qos_parse_policy_file(IN osm_subn_t * p_subn) 2384 p_qos_parser_osm_log = &p_subn->p_osm->log; 2388 osm_qos_policy_destroy(p_subn->p_qos_policy); 2389 p_subn->p_qos_policy = NULL; 2391 yyin = fopen (p_subn->opt.qos_policy_file, "r"); 2394 if (strcmp(p_subn->opt.qos_policy_file,OSM_DEFAULT_QOS_POLICY_FILE)) { 2397 p_subn->opt.qos_policy_file, strerror(errno)); 2403 p_subn [all...] |
H A D | osm_qos.c | 157 struct osm_routing_engine *re = sm->p_subn->p_osm->routing_engine_used; 302 struct osm_routing_engine *re = sm->p_subn->p_osm->routing_engine_used; 320 force_update = p->need_update || sm->p_subn->need_update; 332 sm->p_subn->opt.use_optimized_slvl && !re->update_sl2vl) { 357 force_update = node->sw->need_update || sm->p_subn->need_update; 392 force_update = p->need_update || sm->p_subn->need_update; 418 unsigned force_update = p->need_update || sm->p_subn->need_update; 419 struct osm_routing_engine *re = sm->p_subn->p_osm->routing_engine_used; 509 p_osm->sm.p_subn->opt.use_optimized_slvl &&
|
H A D | osm_sm_mad_ctrl.c | 457 if (p_ctrl->p_subn->sm_state != IB_SMINFO_STATE_MASTER) { 750 p_ctrl->p_subn->subnet_initialization_error = TRUE; 774 p_ctrl->p_subn, 782 (p_ctrl->p_log, p_ctrl->p_subn, p_physp, 842 IN osm_subn_t * p_subn, 857 p_ctrl->p_subn = p_subn; 904 bind_info.timeout = p_ctrl->p_subn->opt.transaction_timeout; 905 bind_info.retries = p_ctrl->p_subn->opt.transaction_retries; 841 osm_sm_mad_ctrl_init(IN osm_sm_mad_ctrl_t * p_ctrl, IN osm_subn_t * p_subn, IN osm_mad_pool_t * p_mad_pool, IN osm_vl15_t * p_vl15, IN osm_vendor_t * p_vendor, IN osm_log_t * p_log, IN osm_stats_t * p_stats, IN cl_plock_t * p_lock, IN cl_dispatcher_t * p_disp) argument
|
H A D | osm_slvl_map_rcv.c | 95 if (!sm->p_subn->opt.suppress_sl2vl_mad_status_errors && 104 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
|
H A D | osm_guid_info_rcv.c | 105 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
|
H A D | osm_mcast_fwd_rcv.c | 107 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid);
|
H A D | osm_vl15intf.c | 127 p_vl->p_subn->subnet_initialization_error = TRUE; 267 IN osm_subn_t * p_subn, 279 p_vl->p_subn = p_subn; 265 osm_vl15_init(IN osm_vl15_t * p_vl, IN osm_vendor_t * p_vend, IN osm_log_t * p_log, IN osm_stats_t * p_stats, IN osm_subn_t * p_subn, IN int32_t max_wire_smps, IN int32_t max_wire_smps2, IN uint32_t max_smps_timeout) argument
|
H A D | osm_ucast_dnup.c | 105 static int dnup_bfs_by_node(IN osm_log_t * p_log, IN osm_subn_t * p_subn, argument 297 osm_subn_t *p_subn = &p_dnup->p_osm->subn; local 330 dnup_bfs_by_node(p_log, p_subn, p_sw, 0, &max_hops); 332 if(p_subn->opt.connect_roots) { 349 dnup_bfs_by_node(p_log, p_subn, p_sw, max_hops + 1, NULL);
|
H A D | osm_ucast_lash.c | 989 osm_subn_t *p_subn = &p_lash->p_osm->subn; local 996 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); 999 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { 1012 port = osm_get_port_by_lid_ho(p_subn, lid); 1105 osm_subn_t *p_subn = &p_lash->p_osm->subn; local 1109 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); 1110 while (p_next_sw != (osm_switch_t *) cl_qmap_end(&p_subn->sw_guid_tbl)) { 1137 osm_subn_t *p_subn = &p_lash->p_osm->subn; local 1141 p_lash->num_switches = cl_qmap_count(&p_subn->sw_guid_tbl); 1149 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn 1203 osm_subn_t *p_subn = &p_lash->p_osm->subn; local [all...] |
H A D | osm_qos_policy.c | 70 cl_qmap_t * p_node_guid_tbl = &p_qos_policy->p_subn->node_guid_tbl; 415 osm_qos_policy_t * osm_qos_policy_create(osm_subn_t * p_subn) argument 436 p_qos_policy->p_subn = p_subn; 523 __qos_policy_is_port_in_group(osm_subn_t * p_subn, argument 563 (p_qos_policy->p_subn, p_physp, p_port_group)) 585 osm_log_t * p_log = &p_qos_policy->p_subn->p_osm->log; 814 OSM_LOG(&p_qos_policy->p_subn->p_osm->log, OSM_LOG_VERBOSE, 959 &p_qos_policy->p_subn->prtn_pkey_tbl, pkey); 962 &p_qos_policy->p_subn [all...] |
H A D | osm_sa_portinfo_record.c | 156 sa->p_subn) ? 476 sa->p_subn->opt.allow_both_pkeys)) 488 sa->p_subn->opt.allow_both_pkeys)) 544 p_req_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn, 576 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid); 584 cl_qmap_apply_func(&sa->p_subn->node_guid_tbl,
|
H A D | osm_sa_node_record.c | 154 sa->p_subn->opt.allow_both_pkeys)) 318 p_req_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn, 343 cl_qmap_apply_func(&sa->p_subn->node_guid_tbl, nr_rcv_by_comp_mask,
|
H A D | osm_mlnx_ext_port_info_rcv.c | 96 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
|
H A D | osm_vl_arb_rcv.c | 103 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
|
H A D | osm_ucast_dfsssp.c | 1058 port = osm_get_port_by_guid(m->p_subn, port_guid); 1082 osm_port_t *port = osm_get_port_by_guid(m->p_subn, cl_hton64(guid)); 1209 cl_qmap_t *port_tbl = &p_mgr->p_subn->port_guid_tbl; /* 1 management port per switch + 1 or 2 ports for each Hca */ 1211 cl_qmap_t *sw_tbl = &p_mgr->p_subn->sw_guid_tbl; 1354 sm_lid = p_mgr->p_subn->master_sm_base_lid; 1355 p_port = osm_get_port_by_lid(p_mgr->p_subn, sm_lid); 1632 if (!p_mgr->p_subn->opt.port_profile_switch_nodes) 1837 cl_qmap_t *sw_tbl = &p_mgr->p_subn->sw_guid_tbl; 2093 osm_get_port_by_lid(p_mgr->p_subn, 2097 osm_get_port_by_lid(p_mgr->p_subn, [all...] |
H A D | osm_congestion_control.c | 127 osm_congestion_control_t *p_cc = &p_sm->p_subn->p_osm->cc; 128 osm_subn_opt_t *p_opt = &p_sm->p_subn->opt; 220 osm_congestion_control_t *p_cc = &p_sm->p_subn->p_osm->cc; 231 force_update = p_physp->need_update || p_sm->p_subn->need_update; 267 osm_congestion_control_t *p_cc = &p_sm->p_subn->p_osm->cc; 275 force_update = p_physp->need_update || p_sm->p_subn->need_update; 311 osm_congestion_control_t *p_cc = &p_sm->p_subn->p_osm->cc; 320 force_update = p_physp->need_update || p_sm->p_subn->need_update;
|
H A D | osm_ucast_updn.c | 111 static int updn_bfs_by_node(IN osm_log_t * p_log, IN osm_subn_t * p_subn, argument 302 osm_subn_t *p_subn = &p_updn->p_osm->subn; local 319 if (p_subn->opt.connect_roots) 336 updn_bfs_by_node(p_log, p_subn, p_sw);
|
H A D | osm_console.c | 423 osm_subn_t *p_subn = &p_osm->subn; local 431 cl_ntoh64(p_subn->sm_port_guid), 432 sm_state_str(p_subn->sm_state), 433 p_subn->opt.sm_priority); 436 p_rsm = (osm_remote_sm_t *) cl_qmap_head(&p_subn->sm_guid_tbl); 437 while (p_rsm != (osm_remote_sm_t *) cl_qmap_end(&p_subn->sm_guid_tbl)) { 1709 if (p_osm->sm.p_subn->need_update != 0) { 1716 p_alias_port_guid_tbl = &(p_osm->sm.p_subn->alias_port_guid_tbl);
|
H A D | osm_ucast_cache.c | 421 p_sw_tbl = &p_mgr->p_subn->sw_guid_tbl; 565 osm_get_port_by_guid(p_mgr->p_subn, 1025 cl_qmap_t *tbl = &p_mgr->p_subn->sw_guid_tbl; 1030 if (!p_mgr->p_subn->opt.use_ucast_cache)
|
H A D | osm_sa.c | 160 IN osm_subn_t * p_subn, IN osm_vendor_t * p_vendor, 172 p_sa->p_subn = p_subn; 183 p_sa->p_vendor, p_subn, p_log, p_stats, 352 cl_atomic_inc(&sa->p_subn->p_osm->stats.sa_mads_sent); 355 cl_atomic_dec(&sa->p_subn->p_osm->stats.sa_mads_sent); 159 osm_sa_init(IN osm_sm_t * p_sm, IN osm_sa_t * p_sa, IN osm_subn_t * p_subn, IN osm_vendor_t * p_vendor, IN osm_mad_pool_t * p_mad_pool, IN osm_log_t * p_log, IN osm_stats_t * p_stats, IN cl_dispatcher_t * p_disp, IN cl_dispatcher_t * p_set_disp, IN cl_plock_t * p_lock) argument
|
/freebsd-13-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_port.h | 516 void osm_physp_set_pkey_tbl(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, 526 * p_subn 1463 IN const osm_subn_t * p_subn, 1471 * p_subn 1501 IN osm_subn_t const *p_subn, 1509 * p_subn
|
H A D | osm_sa.h | 184 osm_subn_t *p_subn; member in struct:osm_sa 228 * p_subn 353 IN osm_subn_t * p_subn, IN osm_vendor_t * p_vendor, 364 * p_subn
|
H A D | osm_sm.h | 120 osm_subn_t *p_subn; member in struct:osm_sm 152 * p_subn 272 ib_api_status_t osm_sm_init(IN osm_sm_t * p_sm, IN osm_subn_t * p_subn, 283 * p_subn
|
H A D | osm_switch.h | 526 IN osm_subn_t * p_subn) 528 return (p_subn->opt.lmc_esp0 && 536 * p_subn 544 * p_subn->opt.lmc_esp0 parameter. 525 osm_switch_sp0_is_lmc_capable(IN const osm_switch_t * p_sw, IN osm_subn_t * p_subn) argument
|