Home
last modified time | relevance | path

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

/dpdk/lib/eal/common/
H A Drte_random.c138 rte_rand_max(uint64_t upper_bound) in rte_rand_max() argument
146 if (unlikely(upper_bound < 2)) in rte_rand_max()
151 ones = __builtin_popcountll(upper_bound); in rte_rand_max()
157 return __rte_rand_lfsr258(state) & (upper_bound - 1); in rte_rand_max()
166 leading_zeros = __builtin_clzll(upper_bound); in rte_rand_max()
171 } while (unlikely(res >= upper_bound)); in rte_rand_max()
/dpdk/lib/eal/include/
H A Drte_random.h66 rte_rand_max(uint64_t upper_bound);
/dpdk/drivers/net/bnx2x/
H A Decore_init.h418 pdata->fair_vars.upper_bound = r_param * tFair * FAIR_MEM; in ecore_init_min()
H A Decore_hsi.h5556 uint32_t upper_bound; member
/dpdk/drivers/net/qede/base/
H A Decore_init_fw_funcs.c394 u32 upper_bound = QM_VP_RL_UPPER_BOUND(QM_MAX_LINK_SPEED) | in ecore_global_rl_rt_init() local
414 upper_bound); in ecore_global_rl_rt_init()