Home
last modified time | relevance | path

Searched refs:hop_hist (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_updn.c465 unsigned hop_hist[IB_SUBNET_PATH_HOPS_MAX]; in updn_find_root_nodes_by_min_hop() local
473 memset(hop_hist, 0, sizeof(hop_hist)); in updn_find_root_nodes_by_min_hop()
483 hop_hist[hop_val] += cas_per_sw[lid_ho]; in updn_find_root_nodes_by_min_hop()
489 if (hop_hist[i] > thd1) in updn_find_root_nodes_by_min_hop()
491 if (hop_hist[i] > thd2) in updn_find_root_nodes_by_min_hop()