Lines Matching full:fabric

210 void list_nodes(ibnd_fabric_t * fabric, int list)  in list_nodes()  argument
213 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_CA, NULL); in list_nodes()
215 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_SWITCH, NULL); in list_nodes()
217 ibnd_iter_nodes_type(fabric, list_node, IB_NODE_ROUTER, NULL); in list_nodes()
246 uint64_t out_chassis(ibnd_fabric_t * fabric, unsigned char chassisnum) in out_chassis() argument
251 guid = ibnd_get_chassis_guid(fabric, chassisnum); in out_chassis()
550 int dump_topology(int group, ibnd_fabric_t * fabric) in dump_topology() argument
564 fabric->maxhops_discovered, fabric->total_mads_used); in dump_topology()
566 fabric->from_node->guid, in dump_topology()
567 mad_get_field64(fabric->from_node->info, 0, in dump_topology()
575 for (ch = fabric->chassis; ch; ch = ch->next) { in dump_topology()
580 chguid = out_chassis(fabric, ch->chassisnum); in dump_topology()
665 ibnd_iter_nodes_type(fabric, switch_iter_func, IB_NODE_SWITCH, in dump_topology()
676 ibnd_iter_nodes_type(fabric, switch_iter_func, IB_NODE_SWITCH, in dump_topology()
683 ibnd_iter_nodes_type(fabric, ca_iter_func, IB_NODE_CA, &iter_user_data); in dump_topology()
686 ibnd_iter_nodes_type(fabric, router_iter_func, IB_NODE_ROUTER, in dump_topology()
1076 ibnd_fabric_t *fabric = NULL; in main() local
1128 IBEXIT("loading cached fabric for diff failed\n"); in main()
1131 if ((fabric = ibnd_load_fabric(load_cache_file, 0)) == NULL) in main()
1132 IBEXIT("loading cached fabric failed\n"); in main()
1134 if ((fabric = in main()
1140 ibnd_iter_nodes(fabric, dump_ports_report, NULL); in main()
1142 list_nodes(fabric, list); in main()
1144 diff(diff_fabric, fabric); in main()
1146 dump_topology(group, fabric); in main()
1149 if (ibnd_cache_fabric(fabric, cache_file, 0) < 0) in main()
1152 ibnd_destroy_fabric(fabric); in main()