Home
last modified time | relevance | path

Searched refs:osm_physp_t (Results 1 – 25 of 60) sorted by relevance

123

/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_port.h132 } osm_physp_t; typedef
221 void osm_physp_construct(IN osm_physp_t * p_physp);
245 void osm_physp_init(IN osm_physp_t * p_physp, IN ib_net64_t port_guid,
296 void osm_physp_destroy(IN osm_physp_t * p_physp);
325 static inline boolean_t osm_physp_is_valid(IN const osm_physp_t * p_physp) in osm_physp_is_valid()
356 static inline boolean_t osm_physp_is_healthy(IN const osm_physp_t * p_physp) in osm_physp_is_healthy()
390 boolean_t osm_link_is_healthy(IN const osm_physp_t * p_physp);
417 static inline void osm_physp_set_health(IN osm_physp_t * p_physp, in osm_physp_set_health()
453 void osm_physp_set_port_info(IN osm_physp_t * p_physp,
486 static inline void osm_physp_set_base_lid(IN osm_physp_t * p_physp, in osm_physp_set_base_lid()
[all …]
H A Dosm_qos_policy.h71 osm_physp_t * p_physp;
157 osm_qos_port_t *osm_qos_policy_port_create(osm_physp_t * p_physp);
174 IN const osm_physp_t * p_src_physp,
175 IN const osm_physp_t * p_dest_physp,
188 IN const osm_physp_t * p_src_physp,
189 IN const osm_physp_t * p_dest_physp,
195 IN const osm_physp_t * p_src_physp,
196 IN const osm_physp_t * p_dest_physp,
H A Dosm_ucast_cache.h155 osm_physp_t * physp1, osm_physp_t * physp2);
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_node.c94 p_node = malloc(sizeof(*p_node) + sizeof(osm_physp_t) * size); in osm_node_new()
98 memset(p_node, 0, sizeof(*p_node) + sizeof(osm_physp_t) * size); in osm_node_new()
161 osm_physp_t *p_physp; in osm_node_link()
162 osm_physp_t *p_remote_physp; in osm_node_link()
178 osm_physp_t *p_physp; in osm_node_unlink()
179 osm_physp_t *p_remote_physp; in osm_node_unlink()
199 osm_physp_t *p_physp; in osm_node_link_exists()
200 osm_physp_t *p_remote_physp; in osm_node_link_exists()
216 osm_physp_t *p_physp; in osm_node_link_has_valid_ports()
217 osm_physp_t *p_remote_physp; in osm_node_link_has_valid_ports()
[all …]
H A Dosm_port.c60 void osm_physp_construct(IN osm_physp_t * p_physp) in osm_physp_construct()
68 void osm_physp_destroy(IN osm_physp_t * p_physp) 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()
142 osm_physp_t *p_physp; in osm_port_new()
186 IN const osm_physp_t * p_physp, in osm_physp_calc_link_mtu()
189 const osm_physp_t *p_remote_physp; in osm_physp_calc_link_mtu()
240 IN const osm_physp_t * p_physp, in osm_physp_calc_link_op_vls()
243 const osm_physp_t *p_remote_physp; in osm_physp_calc_link_op_vls()
324 osm_physp_t *p_physp; in physp_get_dr_physp_set()
387 static void physp_update_new_dr_path(IN osm_physp_t const *p_dest_physp, in physp_update_new_dr_path()
[all …]
H A Dosm_port_info_rcv.c71 osm_physp_t * p) in pi_rcv_check_and_fix_lid()
82 static void pi_rcv_process_endport(IN osm_sm_t * sm, IN osm_physp_t * p_physp, in pi_rcv_process_endport()
207 IN osm_physp_t * p_physp, in pi_rcv_process_switch_port0()
261 IN osm_physp_t * p_physp, in pi_rcv_process_switch_ext_port()
266 osm_physp_t *p_remote_physp, *physp0; in pi_rcv_process_switch_ext_port()
447 IN osm_physp_t * p_physp, in pi_rcv_process_ca_or_router_port()
465 IN osm_node_t * p_node, IN osm_physp_t * p_physp) in get_pkey_table()
471 osm_physp_t *physp0; in get_pkey_table()
541 IN osm_physp_t * p_physp) in pi_rcv_get_pkey_slvl_vla_tables()
550 static int osm_pi_rcv_update_self(IN osm_sm_t *sm, IN osm_physp_t *p_physp, in osm_pi_rcv_update_self()
[all …]
H A Dosm_sa_link_record.c89 static ib_net16_t get_base_lid(IN const osm_physp_t * p_physp) in get_base_lid()
98 IN const osm_physp_t * p_src_physp, in lr_rcv_get_physp_link()
99 IN const osm_physp_t * p_dest_physp, in lr_rcv_get_physp_link()
102 IN const osm_physp_t * p_req_physp) in lr_rcv_get_physp_link()
204 IN const osm_physp_t * p_req_physp) in lr_rcv_get_port_links()
206 const osm_physp_t *p_src_physp; in lr_rcv_get_port_links()
207 const osm_physp_t *p_dest_physp; in lr_rcv_get_port_links()
425 osm_physp_t *p_req_physp; in osm_lr_rcv_process()
H A Dosm_sa_vlarb_record.c71 const osm_physp_t *p_req_physp;
74 static void sa_vl_arb_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_vl_arb_create()
114 static void sa_vl_arb_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_vl_arb_check_physp()
137 osm_physp_t *p_physp; in sa_vl_arb_by_comp_mask()
140 const osm_physp_t *p_req_physp; in sa_vl_arb_by_comp_mask()
217 osm_physp_t *p_req_physp; in osm_vlarb_rec_rcv_process()
H A Dosm_sa_portinfo_record.c71 const osm_physp_t *p_req_physp;
76 IN const osm_physp_t * p_physp, in pir_rcv_new_pir()
82 osm_physp_t *p_physp0; in pir_rcv_new_pir()
140 static void sa_pir_create(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_pir_create()
147 osm_physp_t *p_node_physp; in sa_pir_create()
184 static void sa_pir_check_physp(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_pir_check_physp()
191 const osm_physp_t * p_physp0; in sa_pir_check_physp()
454 const osm_physp_t *p_physp; in sa_pir_by_comp_mask()
457 const osm_physp_t *p_req_physp; in sa_pir_by_comp_mask()
516 osm_physp_t *p_req_physp; in osm_pir_rcv_process()
H A Dosm_qos_policy.c137 osm_qos_port_t *osm_qos_policy_port_create(osm_physp_t *p_physp) in osm_qos_policy_port_create()
317 IN const osm_physp_t * p_src_physp, in osm_qos_level_get_shared_pkey()
318 IN const osm_physp_t * p_dest_physp, in osm_qos_level_get_shared_pkey()
524 const osm_physp_t * p_physp, in __qos_policy_is_port_in_group()
551 const osm_physp_t * p_physp, in __qos_policy_is_port_in_group_list()
579 const osm_physp_t * p_src_physp, in __qos_policy_get_match_rule_by_params()
580 const osm_physp_t * p_dest_physp, in __qos_policy_get_match_rule_by_params()
992 IN const osm_physp_t * p_src_physp, in __qos_policy_get_qos_level_by_params()
993 IN const osm_physp_t * p_dest_physp, in __qos_policy_get_qos_level_by_params()
1018 IN const osm_physp_t * p_src_physp, in osm_qos_policy_get_qos_level_by_pr()
[all …]
H A Dosm_sa_pkey_record.c64 const osm_physp_t *p_req_physp;
67 static void sa_pkey_create(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_pkey_create()
116 static void sa_pkey_check_physp(IN osm_sa_t * sa, IN osm_physp_t * p_physp, in sa_pkey_check_physp()
143 osm_physp_t *p_physp; in sa_pkey_by_comp_mask()
146 const osm_physp_t *p_req_physp; in sa_pkey_by_comp_mask()
222 osm_physp_t *p_req_physp; in osm_pkey_rec_rcv_process()
H A Dosm_sa_sw_info_record.c67 const osm_physp_t *p_req_physp;
105 IN const osm_physp_t * p_req_physp) in sir_rcv_create_sir()
108 const osm_physp_t *p_physp; in sir_rcv_create_sir()
171 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in sir_rcv_by_comp_mask()
201 osm_physp_t *p_req_physp; in osm_sir_rcv_process()
H A Dosm_sa_slvl_record.c71 const osm_physp_t *p_req_physp;
74 static void sa_slvl_create(IN osm_sa_t * sa, IN const osm_physp_t * p_physp, in sa_slvl_create()
122 const osm_physp_t *p_out_physp, *p_in_physp; in sa_slvl_by_comp_mask()
127 const osm_physp_t *p_req_physp; in sa_slvl_by_comp_mask()
210 osm_physp_t *p_req_physp; in osm_slvl_rec_rcv_process()
H A Dosm_pkey_mgr.c67 pkey_mgr_get_physp_max_pkeys(IN const osm_physp_t * p_physp) in pkey_mgr_get_physp_max_pkeys()
80 pkey_mgr_get_physp_max_blocks(IN const osm_physp_t * p_physp) in pkey_mgr_get_physp_max_blocks()
93 IN osm_physp_t * p_physp) in pkey_mgr_process_physical_port()
207 osm_physp_t *p_physp; in pkey_mgr_process_partition_table()
225 IN const osm_physp_t * p_physp, in pkey_mgr_update_pkey_entry()
231 osm_physp_t *physp0; in pkey_mgr_update_pkey_entry()
255 IN osm_physp_t * p_physp, in pkey_mgr_enforce_partition()
262 osm_physp_t *physp0; in pkey_mgr_enforce_partition()
376 osm_physp_t *p_physp; in pkey_mgr_update_port()
637 osm_physp_t * peer, in update_peer_block()
[all …]
H A Dosm_pkey.c335 boolean_t osm_physp_share_this_pkey(IN const osm_physp_t * p_physp1, in osm_physp_share_this_pkey()
336 IN const osm_physp_t * p_physp2, in osm_physp_share_this_pkey()
365 ib_net16_t osm_physp_find_common_pkey(IN const osm_physp_t * p_physp1, in osm_physp_find_common_pkey()
366 IN const osm_physp_t * p_physp2, in osm_physp_find_common_pkey()
482 IN const osm_physp_t * p_physp_1, in osm_physp_share_pkey()
483 IN const osm_physp_t * p_physp_2, in osm_physp_share_pkey()
515 osm_physp_t *p_physp1, *p_physp2; in osm_port_share_pkey()
541 IN const osm_physp_t * p_physp) in osm_physp_has_pkey()
H A Dosm_sa_lft_record.c67 const osm_physp_t *p_req_physp;
116 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in lftr_rcv_by_comp_mask()
120 const osm_physp_t *p_physp; in lftr_rcv_by_comp_mask()
184 osm_physp_t *p_req_physp; in osm_lftr_rcv_process()
H A Dosm_sa_mft_record.c67 const osm_physp_t *p_req_physp;
121 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in mftr_rcv_by_comp_mask()
126 const osm_physp_t *p_physp; in mftr_rcv_by_comp_mask()
217 osm_physp_t *p_req_physp; in osm_mftr_rcv_process()
H A Dosm_sa_node_record.c67 const osm_physp_t *p_req_physp;
118 IN const osm_physp_t * p_req_physp, in nr_rcv_create_nr()
121 const osm_physp_t *p_physp; in nr_rcv_create_nr()
198 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in nr_rcv_by_comp_mask()
292 osm_physp_t *p_req_physp; in osm_nr_rcv_process()
H A Dosm_ucast_mgr.c117 osm_physp_t *p = osm_node_get_physp_ptr(p_sw->p_node, i); in ucast_mgr_process_hop_0_1()
140 osm_physp_t *p; in ucast_mgr_process_neighbor()
185 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, port); in find_and_add_remote_sys()
274 osm_physp_t *p = osm_node_get_physp_ptr(p_sw->p_node, port); in ucast_mgr_process_port()
407 osm_physp_t *p_physp; in ucast_mgr_process_neighbors()
451 osm_physp_t *physp; in set_hop_wf()
493 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, i); in set_default_hop_wf()
757 osm_physp_t *physp; in mark_ignored_port()
789 osm_physp_t *p = osm_node_get_physp_ptr(sw->p_node, i); in clear_prof_ignore_flag()
799 osm_physp_t *p; in add_sw_endports_to_order_list()
[all …]
H A Dosm_qos.c84 IN osm_physp_t * p, in osm_qos_mad_create()
95 osm_physp_t *physp0; in osm_qos_mad_create()
148 osm_physp_t * p, in vlarb_update_table_block()
199 static ib_api_status_t vlarb_update(osm_sm_t * sm, osm_physp_t * p, in vlarb_update()
250 static ib_api_status_t sl2vl_update_table(osm_sm_t * sm, osm_physp_t * p, in sl2vl_update_table()
299 osm_physp_t *p0, *p; in qos_extports_setup()
414 static int qos_endport_setup(osm_sm_t * sm, osm_physp_t * p, in qos_endport_setup()
H A Dosm_trap_rcv.c62 extern void osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t *p_physp);
86 static osm_physp_t *get_physp_by_lid_and_num(IN osm_sm_t * sm, in get_physp_by_lid_and_num()
105 osm_physp_t *p_physp; in aging_tracker_callback()
214 static int disable_port(osm_sm_t *sm, osm_physp_t *p) in disable_port()
219 osm_physp_t *physp0; in disable_port()
323 osm_physp_t *p = get_physp_by_lid_and_num(sm, lid, port); in shutup_noisy_port()
371 osm_physp_t *p_physp; in trap_rcv_process_request()
H A Dosm_node_info_rcv.c68 static void report_duplicated_guid(IN osm_sm_t * sm, osm_physp_t * p_physp, in report_duplicated_guid()
72 osm_physp_t *p_old, *p_new; in report_duplicated_guid()
101 static void requery_dup_node_info(IN osm_sm_t * sm, osm_physp_t * p_physp, in requery_dup_node_info()
146 osm_physp_t *p_physp, *p_remote_physp; in ni_rcv_set_links()
318 osm_physp_t *physp; in ni_rcv_get_port_info()
372 void osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t * p_physp) in osm_req_get_node_desc()
402 osm_physp_t *p_physp = NULL; in ni_rcv_get_node_desc()
552 osm_physp_t *p_physp = osm_node_get_physp_ptr(p_node, port_num); in ni_rcv_process_existing_ca_or_router()
583 osm_physp_t *p_physp; in ni_rcv_process_switch()
H A Dosm_ucast_cache.c144 static void cache_add_sw_link(osm_ucast_mgr_t * p_mgr, osm_physp_t *p, in cache_add_sw_link()
222 osm_physp_t * p_physp_1, osm_physp_t * p_physp_2) in cache_check_link_change()
411 osm_physp_t *p_physp; in ucast_cache_validate()
412 osm_physp_t *p_remote_physp; in ucast_cache_validate()
831 osm_physp_t * p_physp1, osm_physp_t * p_physp2) in osm_ucast_cache_add_link()
865 osm_physp_t *tmp = p_physp1; in osm_ucast_cache_add_link()
909 osm_physp_t *p_physp; in osm_ucast_cache_add_node()
H A Dosm_sa_sminfo_record.c76 const osm_physp_t *p_req_physp;
85 IN const osm_physp_t * p_req_physp) in smir_rcv_new_smir()
122 const osm_physp_t *const p_req_physp = p_ctxt->p_req_physp; in sa_smir_by_comp_mask()
183 osm_physp_t *p_req_physp; in osm_smir_rcv_process()
H A Dosm_switch.c183 osm_physp_t *p_physp; in switch_find_guid_common()
184 osm_physp_t *p_rem_physp; in switch_find_guid_common()
278 osm_physp_t *p_physp; in osm_switch_recommend_path()
279 osm_physp_t *p_rem_physp; in osm_switch_recommend_path()
676 osm_physp_t *p = p_port->p_physp; in osm_switch_get_port_least_hops()
707 osm_physp_t *p_physp = p_port->p_physp; in osm_switch_recommend_mcast_path()

123