Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ rte_rand
Function
rte_rand
dpdk/lib/eal/common/rte_random.c:134–142 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
}
133
134
uint64_t
135
rte_rand(void)
136
{
137
struct rte_rand_state *state;
138
139
state = __rte_rand_get_state();
140
141
return __rte_rand_lfsr258(state);
142
}
143
144
uint64_t
145
rte_rand_max(uint64_t upper_bound)
Callers
15
rte_red_config_init
Function · 0.85
draw_geometric
Function · 0.85
rte_member_create_sketch
Function · 0.85
evict_from_bucket
Function · 0.85
rte_ipsec_sad_create
Function · 0.85
thash_get_rand_poly
Function · 0.85
alloc_lfsr
Function · 0.85
rte_thash_init_ctx
Function · 0.85
rte_eth_random_addr
Function · 0.85
vhost_user_iotlb_cache_random_evict
Function · 0.85
timer_get_skiplist_level
Function · 0.85
rte_drand
Function · 0.85
Calls
2
__rte_rand_get_state
Function · 0.85
__rte_rand_lfsr258
Function · 0.85
Tested by
15
generate_random_events
Function · 0.68
launch_workers_and_wait
Function · 0.68
test_queue_to_port_single_link
Function · 0.68
test_queue_to_port_multi_link
Function · 0.68
worker_flow_based_pipeline_max_stages_rand_sched_type
Function · 0.68
launch_multi_port_max_stages_random_sched_type
Function · 0.68
worker_queue_based_pipeline_max_stages_rand_sched_type
Function · 0.68
worker_mixed_pipeline_max_stages_rand_sched_type
Function · 0.68
generate_random_events
Function · 0.68
launch_workers_and_wait
Function · 0.68
test_queue_to_port_single_link
Function · 0.68
test_queue_to_port_multi_link
Function · 0.68