/freebsd/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.h | 102 } ibnd_node_t; typedef 111 ibnd_node_t *node; /* node this port belongs to */ 134 ibnd_node_t *nodes; 139 ibnd_node_t *spinenode[SPINES_MAX_NUM + 1]; 140 ibnd_node_t *linenode[LINES_MAX_NUM + 1]; 169 ibnd_node_t *from_node; 173 ibnd_node_t *nodes; 180 ibnd_node_t *nodestbl[HTSZ]; 182 ibnd_node_t *switches; 183 ibnd_node_t *ch_adapters; [all …]
|
H A D | chassis.c | 63 char *ibnd_get_chassis_type(ibnd_node_t * node) in ibnd_get_chassis_type() 99 char *ibnd_get_chassis_slot_str(ibnd_node_t * node, char *str, size_t size) in ibnd_get_chassis_slot_str() 193 static uint64_t xsigo_chassisguid(ibnd_node_t * node) in xsigo_chassisguid() 225 static uint64_t get_chassisguid(ibnd_node_t * node) in get_chassisguid() 240 ibnd_node_t * node) in find_chassisguid() 269 static int is_router(ibnd_node_t * n) in is_router() 276 static int is_spine_9096(ibnd_node_t * n) in is_spine_9096() 282 static int is_spine_9288(ibnd_node_t * n) in is_spine_9288() 288 static int is_spine_2004(ibnd_node_t * n) in is_spine_2004() 294 static int is_spine_2012(ibnd_node_t * n) in is_spine_2012() [all …]
|
H A D | ibnetdisc.c | 61 ibnd_node_t *node; 67 ibnd_node_t * node, int portnum); 74 ibnd_node_t *node = cb_data; in recv_switch_info() 82 ibnd_node_t * node) in query_switch_info() 151 ibnd_node_t *node = cb_data; in recv_node_desc() 157 ibnd_node_t * node) in query_node_desc() 229 ibnd_node_t *node = cb_data; in mlnx_ext_port_info_err() 276 ibnd_node_t *node = cb_data; in recv_mlnx_ext_port_info() 322 ibnd_node_t * node, int portnum) in query_mlnx_ext_port_info() 335 ibnd_node_t *node = cb_data; in recv_port_info() [all …]
|
H A D | internal.h | 122 int add_to_nodeguid_hash(ibnd_node_t * node, ibnd_node_t * hash[]); 126 void add_to_type_list(ibnd_node_t * node, f_internal_t * fabric); 128 void destroy_node(ibnd_node_t * node);
|
H A D | ibnetdisc_cache.c | 111 ibnd_node_t *node; 315 ibnd_node_t *node = NULL; in _load_node() 326 node = (ibnd_node_t *) malloc(sizeof(ibnd_node_t)); in _load_node() 332 memset(node, '\0', sizeof(ibnd_node_t)); in _load_node() 497 static int _fill_port(ibnd_fabric_cache_t * fabric_cache, ibnd_node_t * node, in _fill_port() 535 ibnd_node_t *node; in _rebuild_nodes() 810 static int _cache_node(int fd, ibnd_node_t * node) in _cache_node() 886 ibnd_node_t *node = NULL; in ibnd_cache_fabric() 887 ibnd_node_t *node_next = NULL; in ibnd_cache_fabric()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibnetdiscover.c | 144 static inline const char *ports_nt_str_compat(ibnd_node_t * node) in ports_nt_str_compat() 157 char *node_name(ibnd_node_t * node) in node_name() 180 void list_node(ibnd_node_t * node, void *user_data) in list_node() 220 void out_ids(ibnd_node_t * node, int group, char *chname, char *out_prefix) in out_ids() 258 void out_switch_detail(ibnd_node_t * node, char *sw_prefix) in out_switch_detail() 272 void out_switch(ibnd_node_t * node, int group, char *chname, char *id_prefix, in out_switch() 298 void out_ca_detail(ibnd_node_t * node, char *ca_prefix) in out_ca_detail() 319 void out_ca(ibnd_node_t * node, int group, char *chname, char *id_prefix, in out_ca() 492 static void switch_iter_func(ibnd_node_t * node, void *iter_user_data) in switch_iter_func() 513 static void ca_iter_func(ibnd_node_t * node, void *iter_user_data) in ca_iter_func() [all …]
|
H A D | iblinkinfo.c | 83 int filterdownport_check(ibnd_node_t * node, ibnd_port_t * port) in filterdownport_check() 85 ibnd_node_t *fsw; in filterdownport_check() 107 void print_port(ibnd_node_t * node, ibnd_port_t * port, char *out_prefix) in print_port() 261 static inline const char *nodetype_str(ibnd_node_t * node) in nodetype_str() 274 void print_node_header(ibnd_node_t *node, int *out_header_flag, in print_node_header() 302 void print_node(ibnd_node_t * node, void *user_data) in print_node() 329 void diff_node_ports(ibnd_node_t * fabric1_node, ibnd_node_t * fabric2_node, in diff_node_ports() 411 void diff_node_iter(ibnd_node_t * fabric1_node, void *iter_user_data) in diff_node_iter() 414 ibnd_node_t *fabric2_node; in diff_node_iter() 457 int diff_node(ibnd_node_t * node, ibnd_fabric_t * orig_fabric, in diff_node() [all …]
|
H A D | ibcacheedit.c | 168 static void update_switchportguids(ibnd_node_t *node) in update_switchportguids() 180 static void replace_node_guid(ibnd_node_t *node, void *user_data) in replace_node_guid() 200 static void replace_sysimgguid(ibnd_node_t *node, void *user_data) in replace_sysimgguid() 215 static void replace_portguid(ibnd_node_t *node, void *user_data) in replace_portguid()
|
H A D | dump_fts.c | 113 void dump_multicast_tables(ibnd_node_t * node, unsigned startlid, in dump_multicast_tables() 305 void dump_unicast_tables(ibnd_node_t * node, int startlid, int endlid, in dump_unicast_tables() 382 void dump_node(ibnd_node_t *node, struct ibmad_port *mad_port, in dump_node() 392 void process_switch(ibnd_node_t * node, void *fabric) in process_switch()
|
H A D | ibqueryerrors.c | 183 static void print_port_config(ibnd_node_t * node, int portnum) in print_port_config() 404 ibnd_node_t * node, uint8_t * pc, int portnum, in print_results() 541 char *node_name, ibnd_node_t * node, int portnum, in print_data_cnts() 612 char *node_name, ibnd_node_t * node, int portnum, in print_errors() 740 void print_node(ibnd_node_t * node, void *user_data) in print_node()
|