MCPcopy Create free account
hub / github.com/F-Stack/f-stack / __rte_thread_init

Function __rte_thread_init

dpdk/lib/eal/common/eal_common_thread.c:145–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void
146__rte_thread_init(unsigned int lcore_id, rte_cpuset_t *cpuset)
147{
148 /* set the lcore ID in per-lcore memory area */
149 RTE_PER_LCORE(_lcore_id) = lcore_id;
150
151 /* acquire system unique id */
152 rte_gettid();
153
154 thread_update_affinity(cpuset);
155
156 __rte_trace_mem_per_thread_alloc();
157}
158
159void
160__rte_thread_uninit(void)

Callers 6

rte_eal_initFunction · 0.85
rte_eal_initFunction · 0.85
eal_thread_loopFunction · 0.85
control_thread_initFunction · 0.85
rte_thread_registerFunction · 0.85
rte_eal_initFunction · 0.85

Calls 3

rte_gettidFunction · 0.85
thread_update_affinityFunction · 0.85

Tested by

no test coverage detected