/freebsd-13-stable/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.h | 58 struct ibnd_node *next; /* all node list in fabric */ 61 /* NOTE: this is not valid on a fabric 162 * Main fabric object which is returned and represents the data discovered 172 /* NULL term list of all nodes in the fabric */ 174 /* NULL terminated list of all chassis found in the fabric */ 188 * Initialization (fabric operations) 202 IBND_EXPORT void ibnd_destroy_fabric(ibnd_fabric_t * fabric); 207 IBND_EXPORT int ibnd_cache_fabric(ibnd_fabric_t * fabric, const char *file, 216 IBND_EXPORT ibnd_node_t *ibnd_find_node_guid(ibnd_fabric_t * fabric, 218 IBND_EXPORT ibnd_node_t *ibnd_find_node_dr(ibnd_fabric_t * fabric, cha [all...] |
H A D | ibnetdisc.c | 68 ibnd_port_t *ibnd_find_port_dr(ibnd_fabric_t * fabric, char *dr_str); 104 f_int->fabric.maxhops_discovered > scan->cfg->max_hops) 112 f_int->fabric.maxhops_discovered++; 125 f_int->fabric.maxhops_discovered > scan->cfg->max_hops) 141 f_int->fabric.maxhops_discovered) 142 f_int->fabric.maxhops_discovered++; 247 (node == f_int->fabric.from_node && port_num == f_int->fabric.from_portnum))) { 252 node == f_int->fabric.from_node && 296 (node == f_int->fabric 614 ibnd_find_node_guid(ibnd_fabric_t * fabric, uint64_t guid) argument 631 ibnd_find_node_dr(ibnd_fabric_t * fabric, char *dr_str) argument 705 ibnd_fabric_t *fabric = &f_int->fabric; local 836 ibnd_destroy_fabric(ibnd_fabric_t * fabric) argument 861 ibnd_iter_nodes(ibnd_fabric_t * fabric, ibnd_iter_node_func_t func, void *user_data) argument 880 ibnd_iter_nodes_type(ibnd_fabric_t * fabric, ibnd_iter_node_func_t func, int node_type, void *user_data) argument 915 ibnd_find_port_lid(ibnd_fabric_t * fabric, uint16_t lid) argument 927 ibnd_find_port_guid(ibnd_fabric_t * fabric, uint64_t guid) argument 944 ibnd_find_port_dr(ibnd_fabric_t * fabric, char *dr_str) argument 984 ibnd_iter_ports(ibnd_fabric_t * fabric, ibnd_iter_port_func_t func, void *user_data) argument [all...] |
H A D | chassis.c | 124 static ibnd_chassis_t *find_chassisnum(ibnd_fabric_t * fabric, argument 129 for (current = fabric->chassis; current; current = current->next) 239 static ibnd_chassis_t *find_chassisguid(ibnd_fabric_t * fabric, argument 246 for (current = fabric->chassis; current; current = current->next) 253 uint64_t ibnd_get_chassis_guid(ibnd_fabric_t * fabric, unsigned char chassisnum) argument 257 if (!fabric) { 258 IBND_DEBUG("fabric parameter NULL\n"); 262 chassis = find_chassisnum(fabric, chassisnum); 602 This function called for every Mellanox node in fabric 763 This function called for every Voltaire node in fabric 1238 group_nodes(ibnd_fabric_t * fabric) argument [all...] |
H A D | internal.h | 75 ibnd_fabric_t fabric; member in struct:f_internal 126 void add_to_type_list(ibnd_node_t * node, f_internal_t * fabric);
|
H A D | chassis.h | 93 int group_nodes(struct ibnd_fabric *fabric);
|
H A D | ibnetdisc_cache.c | 237 IBND_DEBUG("invalid fabric cache file\n"); 244 IBND_DEBUG("invalid fabric cache version\n"); 253 fabric_cache->f_int->fabric.maxhops_discovered = tmp32; 515 /* achu: needed if user wishes to re-cache a loaded fabric. 519 fabric_cache->f_int->fabric.portstbl); 544 node->next = fabric_cache->f_int->fabric.nodes; 545 fabric_cache->f_int->fabric.nodes = node; 550 fabric.nodestbl); 654 IBND_DEBUG("OOM: fabric\n"); 679 f_int->fabric 767 _cache_header_info(int fd, ibnd_fabric_t * fabric) argument 882 ibnd_cache_fabric(ibnd_fabric_t * fabric, const char *file, unsigned int flags) argument [all...] |
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibcacheedit.c | 254 ibnd_fabric_t *fabric = NULL; local 288 if ((fabric = ibnd_load_fabric(orig_cache_file, 0)) == NULL) 289 IBEXIT("loading original cached fabric failed"); 295 ibnd_iter_nodes_type(fabric, 309 ibnd_iter_nodes_type(fabric, 323 ibnd_iter_nodes(fabric, 338 ibnd_iter_nodes(fabric, 351 if (ibnd_cache_fabric(fabric, new_cache_file, 0) < 0) 354 ibnd_destroy_fabric(fabric);
|
H A D | dump_fts.c | 229 ibnd_fabric_t *fabric, 273 port = ibnd_find_port_lid(fabric, lid); 275 return snprintf(str, str_len, ": (node info not available fabric scan)"); 306 struct ibmad_port *mad_port, ibnd_fabric_t *fabric) 371 dump_lid(str, sizeof str, i, valid, fabric, 383 ibnd_fabric_t *fabric) 389 mad_port, fabric); 392 void process_switch(ibnd_node_t * node, void *fabric) argument 394 dump_node(node, srcport, (ibnd_fabric_t *)fabric); 425 ibnd_fabric_t *fabric local 228 dump_lid(char *str, int str_len, int lid, int valid, ibnd_fabric_t *fabric, int * last_port_lid, int * base_port_lid, uint64_t * portguid) argument 305 dump_unicast_tables(ibnd_node_t * node, int startlid, int endlid, struct ibmad_port *mad_port, ibnd_fabric_t *fabric) argument 382 dump_node(ibnd_node_t *node, struct ibmad_port *mad_port, ibnd_fabric_t *fabric) argument [all...] |
H A D | ibnetdiscover.c | 210 void list_nodes(ibnd_fabric_t * fabric, int list) argument 213 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_CA, NULL); 215 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_SWITCH, NULL); 217 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_ROUTER, NULL); 246 uint64_t out_chassis(ibnd_fabric_t * fabric, unsigned char chassisnum) argument 251 guid = ibnd_get_chassis_guid(fabric, chassisnum); 550 int dump_topology(int group, ibnd_fabric_t * fabric) argument 564 fabric->maxhops_discovered, fabric->total_mads_used); 566 fabric 1076 ibnd_fabric_t *fabric = NULL; local [all...] |
H A D | iblinkinfo.c | 594 ibnd_fabric_t *fabric = NULL; local 611 "print all nodes found in a partial fabric scan"}, 670 /* only scan part of the fabric */ 696 IBEXIT("loading cached fabric for diff failed\n"); 700 IBEXIT("loading cached fabric for filterdownports failed\n"); 703 if ((fabric = ibnd_load_fabric(load_cache_file, 0)) == NULL) { 704 fprintf(stderr, "loading cached fabric failed\n"); 711 if (!(fabric = 713 IBWARN("Partial fabric scan failed;" 717 if (!fabric [all...] |
H A D | ibqueryerrors.c | 942 ibnd_fabric_t *fabric = NULL; local 1025 /* limit the scan the fabric around the target */ 1046 if ((fabric = ibnd_load_fabric(load_cache_file, 0)) == NULL) { 1047 fprintf(stderr, "loading cached fabric failed\n"); 1055 if (!(fabric = ibnd_discover_fabric(ibd_ca, ibd_ca_port, 1061 if (!fabric && !(fabric = ibnd_discover_fabric(ibd_ca, 1077 ibnd_destroy_fabric(fabric); 1089 ibnd_port_t *port = ibnd_find_port_guid(fabric, port_guid); 1106 port = ibnd_find_port_guid(fabric, port_gui [all...] |
/freebsd-13-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 110 * or NULL, in the case of a fabric link that has been 167 * Exactly one t_switch in the fabric will have all port_grp objects with 226 * fabric description, then contruct the torus topology from struct t_switch 227 * objects as we process the fabric and recover it. 240 struct fabric { struct 261 * torus in the fabric. So, we'll allow multiple instances of 300 struct fabric *fabric; member in struct:torus 329 struct fabric fabric; member in struct:torus_context 1134 capture_fabric(struct fabric *fabric) argument 9452 struct fabric *fabric; local [all...] |
H A D | osm_ucast_ftree.c | 1105 /* track the max lid (in host order) that exists in the fabric */ 1179 " |- Full fabric topology dump -|\n" 1203 " |- Full fabric topology dump completed -|\n" 1215 "General fabric topology info\n"); 1475 "Marking leaf switches in fabric\n"); 1848 "Validating fabric topology\n"); 2321 /* Loop in the fabric - we already routed the remote switch 2324 "Loop of length %d in the fabric:\n " 2916 * foreach HCA non-CN port in fabric 3002 * foreach switch in fabric 3599 ftree_fabric_t *fabric; member in struct:rank_root_cxt [all...] |
/freebsd-13-stable/sys/dev/ocs_fc/ |
H A D | ocs_sport.c | 129 * @param fc_id Port ID of sport may be specified, use UINT32_MAX to fabric choose 520 * If this is a vport, logout of the fabric controller so that it 669 ocs_node_t *fabric; local 684 /* if sport->fc_id is uninitialized, then request that the fabric node use FDISC 686 * fabric emulation mode, so attach the fc_id 689 fabric = ocs_node_alloc(sport, FC_ADDR_FABRIC, FALSE, FALSE); 690 if (fabric == NULL) { 694 ocs_node_transition(fabric, __ocs_vport_fabric_init, NULL); 714 * This state is entered after the sport is allocated; it then waits for a fabric node 737 /* Find our fabric nod [all...] |
/freebsd-13-stable/sys/dev/cxgbe/firmware/ |
H A D | t4fw_interface.h | 9313 __u8 fabric[8]; member in struct:fw_fcoe_fcf_cmd
|