Searched refs:max_hops (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_dnup.c | 107 OUT uint8_t * max_hops) in dnup_bfs_by_node() argument 194 if(max_hops && current_min_hop + 1 > *max_hops) { in dnup_bfs_by_node() 195 *max_hops = current_min_hop + 1; in dnup_bfs_by_node() 302 uint8_t max_hops = 0; in dnup_set_min_hop_table() local 330 dnup_bfs_by_node(p_log, p_subn, p_sw, 0, &max_hops); in dnup_set_min_hop_table() 349 dnup_bfs_by_node(p_log, p_subn, p_sw, max_hops + 1, NULL); in dnup_set_min_hop_table()
|
H A D | osm_mcast_mgr.c | 224 uint32_t max_hops = 0, hops; in mcast_mgr_compute_max_hops() local 241 if (hops > max_hops) in mcast_mgr_compute_max_hops() 242 max_hops = hops; in mcast_mgr_compute_max_hops() 250 return (float)max_hops; in mcast_mgr_compute_max_hops()
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 332 static u_long max_hops = 30; variable 378 max_hops = i; in main() 468 max_hops = strtoul(optarg, &ep, 0); in main() 469 if (errno || !*optarg || *ep || max_hops > 255) { in main() 584 if (max_hops < first_hop) { in main() 909 max_hops, in main() 948 for (hops = first_hop; hops <= max_hops; ++hops) { in main()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | iblinkinfo.c | 566 cfg->max_hops = strtoul(optarg, NULL, 0); in process_opt() 709 if (!config.max_hops) in main() 710 config.max_hops = 1; in main()
|
H A D | ibqueryerrors.c | 1053 if (!config.max_hops) in main() 1054 config.max_hops = 1; in main()
|
/freebsd/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.h | 151 unsigned max_hops; member
|
H A D | ibnetdisc.c | 103 if (scan->cfg->max_hops && in retract_dpath() 104 f_int->fabric.maxhops_discovered > scan->cfg->max_hops) in retract_dpath() 124 if (scan->cfg->max_hops && in extend_dpath() 125 f_int->fabric.maxhops_discovered > scan->cfg->max_hops) in extend_dpath()
|