Lines Matching refs:cores
169 run_on_core_pair(struct lcore_pair *cores, struct rte_stack *s, in run_on_core_pair() argument
181 if (cores->c1 == rte_get_main_lcore()) { in run_on_core_pair()
182 rte_eal_remote_launch(fn, &args[1], cores->c2); in run_on_core_pair()
184 rte_eal_wait_lcore(cores->c2); in run_on_core_pair()
186 rte_eal_remote_launch(fn, &args[0], cores->c1); in run_on_core_pair()
187 rte_eal_remote_launch(fn, &args[1], cores->c2); in run_on_core_pair()
188 rte_eal_wait_lcore(cores->c1); in run_on_core_pair()
189 rte_eal_wait_lcore(cores->c2); in run_on_core_pair()
300 struct lcore_pair cores; in __test_stack_perf() local
321 if (get_two_hyperthreads(&cores) == 0) { in __test_stack_perf()
323 run_on_core_pair(&cores, s, bulk_push_pop); in __test_stack_perf()
325 if (get_two_cores(&cores) == 0) { in __test_stack_perf()
327 run_on_core_pair(&cores, s, bulk_push_pop); in __test_stack_perf()
329 if (get_two_sockets(&cores) == 0) { in __test_stack_perf()
331 run_on_core_pair(&cores, s, bulk_push_pop); in __test_stack_perf()