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