Searched refs:p_physp (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-10.2-release/contrib/ofed/management/opensm/include/opensm/
H A Dosm_port.h187 void osm_physp_construct(IN osm_physp_t * const p_physp);
190 * p_physp
212 osm_physp_init(IN osm_physp_t * const p_physp,
221 * p_physp
266 void osm_physp_destroy(IN osm_physp_t * const p_physp);
295 static inline boolean_t osm_physp_is_valid(IN const osm_physp_t * const p_physp) argument
297 CL_ASSERT(p_physp);
298 return (p_physp->port_guid != 0);
303 * p_physp
327 osm_physp_is_healthy(IN const osm_physp_t * const p_physp) argument
389 osm_physp_set_health(IN osm_physp_t * const p_physp, IN boolean_t is_healthy) argument
425 osm_physp_set_port_info(IN osm_physp_t * const p_physp, IN const ib_port_info_t * const p_pi) argument
512 osm_physp_get_pkey_tbl(IN const osm_physp_t * const p_physp) argument
548 osm_physp_set_slvl_tbl(IN osm_physp_t * const p_physp, IN ib_slvl_table_t * p_slvl_tbl, IN uint8_t in_port_num) argument
589 osm_physp_get_slvl_tbl(IN const osm_physp_t * const p_physp, IN uint8_t in_port_num) argument
627 osm_physp_set_vla_tbl(IN osm_physp_t * const p_physp, IN ib_vl_arb_table_t * p_vla_tbl, IN uint8_t block_num) argument
667 osm_physp_get_vla_tbl(IN osm_physp_t * const p_physp, IN uint8_t block_num) argument
703 osm_physp_get_remote(IN const osm_physp_t * const p_physp) argument
735 osm_physp_get_port_guid(IN const osm_physp_t * const p_physp) argument
765 osm_physp_get_subnet_prefix(IN const osm_physp_t * const p_physp) argument
796 osm_physp_link_exists(IN const osm_physp_t * const p_physp, IN const osm_physp_t * const p_remote_physp) argument
835 osm_physp_link(IN osm_physp_t * const p_physp, IN osm_physp_t * const p_remote_physp) argument
871 osm_physp_unlink(IN osm_physp_t * const p_physp, IN osm_physp_t * const p_remote_physp) argument
909 osm_physp_has_any_link(IN const osm_physp_t * const p_physp) argument
943 osm_physp_get_port_num(IN const osm_physp_t * const p_physp) argument
972 osm_physp_get_node_ptr(IN const osm_physp_t * const p_physp) argument
1003 osm_physp_get_port_state(IN const osm_physp_t * const p_physp) argument
1033 osm_physp_get_base_lid(IN const osm_physp_t * const p_physp) argument
1062 osm_physp_get_lmc(IN const osm_physp_t * const p_physp) argument
1091 osm_physp_get_dr_path_ptr(IN const osm_physp_t * const p_physp) argument
1157 osm_physp_t *p_physp; member in struct:osm_port
[all...]
/freebsd-10.2-release/contrib/ofed/management/opensm/opensm/
H A Dosm_port.c59 void osm_physp_construct(IN osm_physp_t * const p_physp) argument
61 memset(p_physp, 0, sizeof(*p_physp));
62 osm_dr_path_construct(&p_physp->dr_path);
63 cl_ptr_vector_construct(&p_physp->slvl_by_port);
64 osm_pkey_tbl_construct(&p_physp->pkeys);
69 void osm_physp_destroy(IN osm_physp_t * const p_physp) argument
74 if (p_physp->port_guid) {
76 num_slvl = cl_ptr_vector_get_size(&p_physp->slvl_by_port);
78 free(cl_ptr_vector_get(&p_physp
92 osm_physp_init(IN osm_physp_t * const p_physp, IN const ib_net64_t port_guid, IN const uint8_t port_num, IN const struct osm_node *const p_node, IN const osm_bind_handle_t h_bind, IN const uint8_t hop_count, IN const uint8_t * const p_initial_path) argument
153 osm_physp_t *p_physp; local
308 osm_physp_calc_link_mtu(IN osm_log_t * p_log, IN const osm_physp_t * p_physp) argument
361 osm_physp_calc_link_op_vls(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, IN const osm_physp_t * p_physp) argument
445 osm_physp_t *p_physp; local
517 osm_physp_t *p_physp, *p_src_physp = NULL; local
574 osm_physp_t *p_physp, *p_remote_physp; local
721 osm_link_is_healthy(IN const osm_physp_t * const p_physp) argument
736 osm_physp_set_pkey_tbl(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, IN osm_physp_t * const p_physp, IN ib_pkey_table_t * p_pkey_tbl, IN uint16_t block_num) argument
[all...]
H A Dosm_pkey_mgr.c64 IN const osm_physp_t * p_physp)
66 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp);
69 if (!p_node->sw || (osm_physp_get_port_num(p_physp) == 0))
86 IN osm_physp_t * p_physp)
88 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp);
94 p_pkey_tbl = &p_physp->pkeys;
101 osm_physp_get_port_num(p_physp));
124 osm_physp_get_port_num(p_physp));
136 osm_physp_get_port_num(p_physp));
150 osm_physp_t *p_physp; local
63 pkey_mgr_get_physp_max_blocks(IN const osm_subn_t * p_subn, IN const osm_physp_t * p_physp) argument
83 pkey_mgr_process_physical_port(IN osm_log_t * p_log, IN osm_sm_t * sm, IN const ib_net16_t pkey, IN osm_physp_t * p_physp) argument
169 pkey_mgr_update_pkey_entry(IN osm_sm_t * sm, IN const osm_physp_t * p_physp, IN const ib_pkey_table_t * block, IN const uint16_t block_index) argument
193 pkey_mgr_enforce_partition(IN osm_log_t * p_log, osm_sm_t * sm, IN osm_physp_t * p_physp, IN const boolean_t enforce) argument
259 osm_physp_t *p_physp; local
390 osm_physp_t *p_physp, *peer; local
[all...]
H A Dosm_node.c180 osm_physp_t *p_physp; local
186 p_physp = osm_node_get_physp_ptr(p_node, port_num);
189 if (p_physp->p_remote_physp)
190 p_physp->p_remote_physp->p_remote_physp = NULL;
194 osm_physp_link(p_physp, p_remote_physp);
205 osm_physp_t *p_physp; local
214 p_physp = osm_node_get_physp_ptr(p_node, port_num);
218 osm_physp_unlink(p_physp, p_remote_physp);
230 osm_physp_t *p_physp; local
236 p_physp
250 osm_physp_t *p_physp; local
267 osm_physp_t *p_physp; local
279 osm_physp_t *p_physp; local
301 osm_physp_t *p_physp; local
[all...]
H A Dosm_sa_vlarb_record.c78 IN osm_physp_t * const p_physp,
96 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
97 lid = p_physp->port_info.base_lid;
99 lid = osm_node_get_base_lid(p_physp->p_node, 0);
104 cl_ntoh64(osm_physp_get_port_guid(p_physp)),
105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
110 p_rec_item->rec.port_num = osm_physp_get_port_num(p_physp);
112 p_rec_item->rec.vl_arb_tbl = *(osm_physp_get_vla_tbl(p_physp, block));
124 IN osm_physp_t * const p_physp,
136 __osm_sa_vl_arb_create(sa, p_physp, p_ctx
77 __osm_sa_vl_arb_create(IN osm_sa_t * sa, IN osm_physp_t * const p_physp, IN osm_vl_arb_search_ctxt_t * const p_ctxt, IN uint8_t block) argument
123 __osm_sa_vl_arb_check_physp(IN osm_sa_t * sa, IN osm_physp_t * const p_physp, osm_vl_arb_search_ctxt_t * const p_ctxt) argument
152 osm_physp_t *p_physp; local
[all...]
H A Dosm_port_info_rcv.c69 IN osm_physp_t * const p_physp)
79 p_dr_path = osm_physp_get_dr_path_ptr(p_physp);
108 IN osm_physp_t * const p_physp,
120 port_guid = osm_physp_get_port_guid(p_physp);
123 if (osm_physp_get_port_num(p_physp) != 0) {
150 __osm_pi_rcv_set_sm(sm, p_physp);
183 (p_physp),
210 IN osm_physp_t * const p_physp,
228 port_num = osm_physp_get_port_num(p_physp);
235 p_remote_physp = osm_physp_get_remote(p_physp);
68 __osm_pi_rcv_set_sm(IN osm_sm_t * sm, IN osm_physp_t * const p_physp) argument
107 __osm_pi_rcv_process_endport(IN osm_sm_t * sm, IN osm_physp_t * const p_physp, IN const ib_port_info_t * const p_pi) argument
208 __osm_pi_rcv_process_switch_port(IN osm_sm_t * sm, IN osm_node_t * const p_node, IN osm_physp_t * const p_physp, IN ib_port_info_t * const p_pi) argument
349 __osm_pi_rcv_process_ca_or_router_port(IN osm_sm_t * sm, IN osm_node_t * const p_node, IN osm_physp_t * const p_physp, IN ib_port_info_t * const p_pi) argument
370 get_pkey_table(IN osm_log_t * p_log, IN osm_sm_t * sm, IN osm_node_t * const p_node, IN osm_physp_t * const p_physp) argument
442 __osm_pi_rcv_get_pkey_slvl_vla_tables(IN osm_sm_t * sm, IN osm_node_t * const p_node, IN osm_physp_t * const p_physp) argument
459 osm_physp_t *p_physp; local
523 osm_physp_t *p_physp; local
[all...]
H A Dosm_sa_pkey_record.c71 IN osm_physp_t * const p_physp,
89 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
90 lid = p_physp->port_info.base_lid;
92 lid = osm_node_get_base_lid(p_physp->p_node, 0);
97 cl_ntoh64(osm_physp_get_port_guid(p_physp)),
98 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
104 p_rec_item->rec.port_num = osm_physp_get_port_num(p_physp);
106 *(osm_pkey_tbl_block_get(osm_physp_get_pkey_tbl(p_physp), block));
118 IN osm_physp_t * const p_physp,
128 __osm_sa_pkey_create(sa, p_physp, p_ctx
70 __osm_sa_pkey_create(IN osm_sa_t * sa, IN osm_physp_t * const p_physp, IN osm_pkey_search_ctxt_t * const p_ctxt, IN uint16_t block) argument
117 __osm_sa_pkey_check_physp(IN osm_sa_t * sa, IN osm_physp_t * const p_physp, osm_pkey_search_ctxt_t * const p_ctxt) argument
150 osm_physp_t *p_physp; local
[all...]
H A Dosm_link_mgr.c59 IN osm_physp_t * const p_physp,
77 p_node = osm_physp_get_node_ptr(p_physp);
79 port_num = osm_physp_get_port_num(p_physp);
100 cl_ntoh64(osm_physp_get_port_guid(p_physp)));
110 p_old_pi = &p_physp->port_info;
151 p_pi->base_lid = osm_physp_get_base_lid(p_physp);
193 p_remote_physp = osm_physp_get_remote(p_physp);
195 if (osm_node_get_type(osm_physp_get_node_ptr(p_physp))
203 (osm_physp_get_node_ptr(p_physp)) ==
272 osm_physp_calc_link_op_vls(sm->p_log, sm->p_subn, p_physp);
58 __osm_link_mgr_set_physp_pi(osm_sm_t * sm, IN osm_physp_t * const p_physp, IN uint8_t const port_state) argument
340 osm_physp_t *p_physp; local
[all...]
H A Dosm_pkey_rcv.c63 osm_physp_t *p_physp; local
108 p_physp = osm_node_get_physp_ptr(p_node, port_num);
110 p_physp = p_port->p_physp;
111 port_num = p_physp->port_num;
128 if (!p_physp) {
139 p_physp, p_pkey_tbl, block_num);
H A Dosm_slvl_map_rcv.c70 osm_physp_t *p_physp; local
115 p_physp = osm_node_get_physp_ptr(p_node, out_port_num);
117 p_physp = p_port->p_physp;
118 out_port_num = p_physp->port_num;
136 if (!p_physp) {
146 osm_physp_set_slvl_tbl(p_physp, p_slvl_tbl, in_port_num);
H A Dosm_vl_arb_rcv.c70 osm_physp_t *p_physp; local
113 p_physp = osm_node_get_physp_ptr(p_node, port_num);
115 p_physp = p_port->p_physp;
116 port_num = p_physp->port_num;
133 if (!p_physp) {
148 osm_physp_set_vla_tbl(p_physp, p_vla_tbl, block_num);
H A Dosm_node_info_rcv.c66 osm_physp_t * p_physp,
72 p_old = p_physp->p_remote_physp;
80 cl_ntoh64(p_physp->p_node->node_info.node_guid),
81 p_physp->port_num,
85 osm_dump_dr_path(sm->p_log, osm_physp_get_dr_path_ptr(p_physp),
97 osm_physp_t * p_physp, unsigned count)
103 path = *osm_physp_get_dr_path_ptr(p_physp->p_remote_physp);
104 osm_dr_path_extend(&path, p_physp->p_remote_physp->port_num);
107 p_physp->p_remote_physp->p_node->node_info.port_guid;
108 context.ni_context.port_num = p_physp
65 report_duplicated_guid(IN osm_sm_t * sm, osm_physp_t * p_physp, osm_node_t * p_neighbor_node, const uint8_t port_num) argument
96 requery_dup_node_info(IN osm_sm_t * sm, osm_physp_t * p_physp, unsigned count) argument
132 osm_physp_t *p_physp; local
267 osm_physp_t *p_physp; local
309 osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t *p_physp) argument
342 osm_physp_t *p_physp = NULL; local
402 osm_physp_t *p_physp; local
[all...]
H A Dosm_switch.c213 osm_physp_t *p_physp; local
222 p_physp = osm_node_get_physp_ptr(p_sw->p_node, port_num);
223 p_rem_physp = osm_physp_get_remote(p_physp);
301 osm_physp_t *p_physp; local
314 p_physp = p_port->p_physp;
315 if (!p_physp || !p_physp->p_remote_physp ||
316 !p_physp->p_remote_physp->p_node->sw)
319 if (p_physp
609 osm_physp_t *p_physp = p_port->p_physp; local
[all...]
H A Dosm_sa_portinfo_record.c79 IN const osm_physp_t * const p_physp,
98 cl_ntoh64(osm_physp_get_port_guid(p_physp)),
99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp));
104 p_rec_item->rec.port_info = p_physp->port_info;
105 p_rec_item->rec.port_num = osm_physp_get_port_num(p_physp);
118 IN const osm_physp_t * const p_physp,
129 if (p_physp->p_node->sw) {
130 p_node_physp = osm_node_get_physp_ptr(p_physp->p_node, 0);
133 osm_switch_sp0_is_lmc_capable(p_physp->p_node->sw,
138 lmc = osm_physp_get_lmc(p_physp);
78 __osm_pir_rcv_new_pir(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, IN cl_qlist_t * const p_list, IN ib_net16_t const lid) argument
117 __osm_sa_pir_create(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, IN osm_pir_search_ctxt_t * const p_ctxt) argument
167 __osm_sa_pir_check_physp(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, osm_pir_search_ctxt_t * const p_ctxt) argument
405 const osm_physp_t *p_physp; local
[all...]
H A Dosm_drop_mgr.c86 static void drop_mgr_clean_physp(osm_sm_t * sm, IN osm_physp_t * p_physp) argument
91 p_remote_physp = osm_physp_get_remote(p_physp);
132 cl_ntoh64(osm_node_get_node_guid(p_physp->p_node)),
133 p_physp->port_num,
140 p_physp, p_remote_physp);
142 osm_physp_unlink(p_physp, p_remote_physp);
148 cl_ntoh64(osm_node_get_node_guid(p_physp->p_node)),
149 p_physp->port_num);
151 osm_physp_destroy(p_physp);
212 drop_mgr_clean_physp(sm, p_port->p_physp);
302 osm_physp_t *p_physp; local
364 osm_physp_t *p_physp; local
[all...]
H A Dosm_dump.c181 osm_physp_t *p_physp = p_port->p_physp; local
183 if (!p_physp || !p_physp->p_remote_physp ||
184 !p_physp->p_remote_physp->p_node->sw)
188 osm_node_get_base_lid(p_physp->
193 p_physp->p_remote_physp->p_node->
365 osm_physp_t *p_physp, *p_default_physp, *p_rphysp; local
374 p_physp = osm_node_get_physp_ptr(p_node, cPort);
375 if (!p_physp)
462 const osm_physp_t *p_physp, *p_remote_physp; local
[all...]
H A Dosm_sa_slvl_record.c78 IN const osm_physp_t * const p_physp,
96 if (p_physp->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH)
97 lid = p_physp->port_info.base_lid;
99 lid = osm_node_get_base_lid(p_physp->p_node, 0);
104 cl_ntoh64(osm_physp_get_port_guid(p_physp)),
105 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), in_port_idx);
110 p_rec_item->rec.out_port_num = osm_physp_get_port_num(p_physp);
113 *(osm_physp_get_slvl_tbl(p_physp, in_port_idx));
151 p_port->p_physp->port_num);
152 p_out_physp = p_port->p_physp;
77 __osm_sa_slvl_create(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, IN osm_slvl_search_ctxt_t * const p_ctxt, IN uint8_t in_port_idx) argument
[all...]
H A Dosm_sa_guidinfo_record.c127 const osm_physp_t *p_physp; local
153 p_physp = osm_node_get_physp_ptr(p_node, port_num);
154 if (!p_physp)
157 /* Check to see if the found p_physp and the requester physp
159 if (!osm_physp_share_pkey(sa->p_log, p_physp, p_req_physp))
162 port_guid = osm_physp_get_port_guid(p_physp);
174 if (p_physp->port_info.guid_cap == 0)
177 num_blocks = p_physp->port_info.guid_cap / 8;
178 if (p_physp->port_info.guid_cap % 8)
189 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_physp));
[all...]
H A Dosm_qos.c199 osm_physp_t *p_physp; local
204 p_physp = p_port->p_physp;
206 (p_physp->port_info.
272 osm_physp_t *p_physp; local
307 p_physp = osm_node_get_physp_ptr(p_node, i);
308 if (!p_physp)
310 force_update = p_physp->need_update ||
314 p_port, p_physp, i,
328 p_physp
[all...]
H A Dosm_trap_rcv.c59 extern void osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t *p_physp);
85 osm_physp_t *p_physp; member in struct:osm_trap_agingracker_context
118 osm_physp_t *p_physp; local
129 p_physp = get_physp_by_lid_and_num(sm, lid, port_num);
130 if (!p_physp)
136 else if (!osm_physp_is_healthy(p_physp)) {
142 osm_physp_set_health(p_physp, TRUE);
291 osm_physp_t *p_physp; local
416 p_physp = osm_get_physp_by_mad_addr(sm->p_log,
418 if (p_physp)
[all...]
H A Dosm_state_mgr.c160 IN osm_physp_t * const p_physp)
170 p_dr_path = osm_physp_get_dr_path_ptr(p_physp);
172 osm_dr_path_extend(&rem_node_dr_path, osm_physp_get_port_num(p_physp));
177 osm_node_get_node_guid(osm_physp_get_node_ptr(p_physp));
178 mad_context.pi_context.port_guid = p_physp->port_guid;
327 osm_physp_t *p_physp; local
357 p_physp = p_port->p_physp;
359 CL_ASSERT(p_physp);
361 state = osm_physp_get_port_state(p_physp);
159 __osm_state_mgr_get_remote_port_info(IN osm_sm_t * sm, IN osm_physp_t * const p_physp) argument
381 osm_physp_t *p_physp; local
526 osm_physp_t *p_physp = NULL; local
580 osm_physp_t *p_physp; local
[all...]
H A Dosm_sw_info_rcv.c66 osm_physp_t *p_physp; local
82 p_physp = osm_node_get_physp_ptr(p_node, 0);
85 context.pi_context.port_guid = osm_physp_get_port_guid(p_physp);
93 status = osm_req_get(sm, osm_physp_get_dr_path_ptr(p_physp),
115 osm_physp_t *p_physp;
134 p_physp = osm_node_get_physp_ptr(p_node, 0);
135 p_dr_path = osm_physp_get_dr_path_ptr(p_physp);
162 osm_physp_t *p_physp;
209 p_physp = osm_node_get_physp_ptr(p_node, 0);
210 p_dr_path = osm_physp_get_dr_path_ptr(p_physp);
[all...]
H A Dosm_ucast_cache.c443 osm_physp_t *p_physp; local
479 p_physp = osm_node_get_physp_ptr(p_node, port_num);
481 if (!p_physp || !p_physp->p_remote_physp ||
482 !osm_physp_link_exists(p_physp,
483 p_physp->p_remote_physp))
494 p_physp->p_remote_physp->p_node &&
495 osm_node_get_type(p_physp->p_remote_physp->
499 if (!p_physp->need_update)
506 p_remote_physp = osm_physp_get_remote(p_physp);
948 osm_physp_t *p_physp; local
[all...]
H A Dosm_sa_node_record.c122 const osm_physp_t *p_physp; local
149 p_physp = osm_node_get_physp_ptr(p_node, port_num);
150 if (!p_physp)
153 /* Check to see if the found p_physp and the requester physp
155 if (!osm_physp_share_pkey(sa->p_log, p_physp, p_req_physp))
158 port_guid = osm_physp_get_port_guid(p_physp);
163 base_lid = osm_physp_get_base_lid(p_physp);
165 lmc = osm_physp_get_lmc(p_physp);
H A Dosm_sa_multipath_record.c169 const osm_physp_t *p_physp; local
195 p_dest_physp = p_dest_port->p_physp;
196 p_physp = p_src_port->p_physp;
197 p_src_physp = p_physp;
198 p_pi = &p_physp->port_info;
223 If source port node is a switch, then p_physp should
227 p_node = osm_physp_get_node_ptr(p_physp);
232 * Make sure that p_physp points to the out port of the
235 p_physp
[all...]

Completed in 136 milliseconds

123