| /dpdk/app/test/ |
| H A D | test_pflock.c | 40 printf("Global write lock taken on core %u\n", rte_lcore_id()); in test_pflock_per_core() 43 rte_pflock_write_lock(&sl_tab[rte_lcore_id()]); in test_pflock_per_core() 44 printf("Hello from core %u !\n", rte_lcore_id()); in test_pflock_per_core() 45 rte_pflock_write_unlock(&sl_tab[rte_lcore_id()]); in test_pflock_per_core() 48 printf("Global read lock taken on core %u\n", rte_lcore_id()); in test_pflock_per_core() 50 printf("Release global read lock on core %u\n", rte_lcore_id()); in test_pflock_per_core() 68 const unsigned int lcore = rte_lcore_id(); in load_loop_fn() 99 const unsigned int lcore = rte_lcore_id(); in test_pflock_perf() 185 printf("Global write lock taken on main core %u\n", rte_lcore_id()); in test_pflock()
|
| H A D | test_ticketlock.c | 57 printf("Global lock taken on core %u\n", rte_lcore_id()); in test_ticketlock_per_core() 60 rte_ticketlock_lock(&tl_tab[rte_lcore_id()]); in test_ticketlock_per_core() 61 printf("Hello from core %u !\n", rte_lcore_id()); in test_ticketlock_per_core() 62 rte_ticketlock_unlock(&tl_tab[rte_lcore_id()]); in test_ticketlock_per_core() 70 unsigned int id = rte_lcore_id(); in test_ticketlock_recursive_per_core() 110 const unsigned int lcore = rte_lcore_id(); in load_loop_fn() 137 const unsigned int lcore = rte_lcore_id(); in test_ticketlock_perf()
|
| H A D | test_spinlock.c | 57 printf("Global lock taken on core %u\n", rte_lcore_id()); in test_spinlock_per_core() 60 rte_spinlock_lock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core() 61 printf("Hello from core %u !\n", rte_lcore_id()); in test_spinlock_per_core() 62 rte_spinlock_unlock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core() 70 unsigned id = rte_lcore_id(); in test_spinlock_recursive_per_core() 109 const unsigned lcore = rte_lcore_id(); in load_loop_fn() 134 const unsigned lcore = rte_lcore_id(); in test_spinlock_perf()
|
| H A D | test_rwlock.c | 71 printf("Global write lock taken on core %u\n", rte_lcore_id()); in test_rwlock_per_core() 74 rte_rwlock_write_lock(&sl_tab[rte_lcore_id()]); in test_rwlock_per_core() 75 printf("Hello from core %u !\n", rte_lcore_id()); in test_rwlock_per_core() 76 rte_rwlock_write_unlock(&sl_tab[rte_lcore_id()]); in test_rwlock_per_core() 79 printf("Global read lock taken on core %u\n", rte_lcore_id()); in test_rwlock_per_core() 81 printf("Release global read lock on core %u\n", rte_lcore_id()); in test_rwlock_per_core() 100 const unsigned int lcore = rte_lcore_id(); in load_loop_fn() 203 printf("Global write lock taken on main core %u\n", rte_lcore_id()); in rwlock_test1() 300 lc = rte_lcore_id(); in try_read_lcore() 334 lc = rte_lcore_id(); in try_write_lcore()
|
| H A D | test_per_lcore.c | 42 RTE_PER_LCORE(test) = rte_lcore_id(); in assign_vars() 49 unsigned lcore_id = rte_lcore_id(); in display_vars() 65 printf("wait 100ms on lcore %u\n", rte_lcore_id()); in test_per_lcore_delay()
|
| H A D | test_timer.c | 143 unsigned lcore_id = rte_lcore_id(); in timer_stress_cb() 168 unsigned lcore_id = rte_lcore_id(); in timer_stress_main_loop() 197 lcore_id = rte_lcore_id(); in timer_stress_main_loop() 243 unsigned lcore_id = rte_lcore_id(); in worker_wait_to_start() 252 unsigned lcore_id = rte_lcore_id(); in worker_finish() 277 unsigned int lcore_id = rte_lcore_id(); in timer_stress2_main_loop() 404 unsigned lcore_id = rte_lcore_id(); in timer_basic_cb() 459 unsigned lcore_id = rte_lcore_id(); in timer_basic_main_loop()
|
| H A D | test_timer_racecond.c | 49 PRIuPTR "\n", __func__, rte_lcore_id(), tim - timer); in timer_cb() 71 rte_lcore_id(), tim - timer); in reload_timer() 80 unsigned lcore_id = rte_lcore_id(); in worker_main_loop() 124 main_lcore = lcore_id = rte_lcore_id(); in test_timer_racecond()
|
| H A D | test_mcslock.c | 54 printf("MCS lock taken on core %u\n", rte_lcore_id()); in test_mcslock_per_core() 56 printf("MCS lock released on core %u\n", rte_lcore_id()); in test_mcslock_per_core() 72 const unsigned int lcore = rte_lcore_id(); in load_loop_fn() 100 const unsigned int lcore = rte_lcore_id(); in test_mcslock_perf()
|
| H A D | test_func_reentrancy.c | 70 unsigned lcore_self = rte_lcore_id(); in test_eal_init_once() 105 unsigned lcore_self = rte_lcore_id(); in ring_create_lookup() 166 unsigned lcore_self = rte_lcore_id(); in mempool_create_lookup() 227 unsigned lcore_self = rte_lcore_id(); in hash_create_free() 295 unsigned lcore_self = rte_lcore_id(); in fbk_create_free() 365 unsigned lcore_self = rte_lcore_id(); in lpm_create_free()
|
| H A D | test_lcores.c | 26 lcore_id = rte_lcore_id(); in thread_loop() 34 lcore_id = rte_lcore_id(); in thread_loop() 48 lcore_id = rte_lcore_id(); in thread_loop()
|
| /dpdk/examples/timer/ |
| H A D | main.c | 31 unsigned lcore_id = rte_lcore_id(); in timer0_cb() 47 unsigned lcore_id = rte_lcore_id(); in timer1_cb() 65 lcore_id = rte_lcore_id(); in lcore_mainloop() 111 lcore_id = rte_lcore_id(); in main()
|
| /dpdk/examples/distributor/ |
| H A D | main.c | 240 printf("\nCore %u doing packet RX.\n", rte_lcore_id()); in lcore_rx() 303 rte_power_exit(rte_lcore_id()); in lcore_rx() 305 printf("\nCore %u exiting rx task.\n", rte_lcore_id()); in lcore_rx() 353 printf("\nCore %u acting as distributor core.\n", rte_lcore_id()); in lcore_distributor() 384 printf("\nCore %u exiting distributor task.\n", rte_lcore_id()); in lcore_distributor() 387 rte_power_exit(rte_lcore_id()); in lcore_distributor() 415 printf("\nCore %u doing packet TX.\n", rte_lcore_id()); in lcore_tx() 460 rte_power_exit(rte_lcore_id()); in lcore_tx() 461 printf("\nCore %u exiting tx task.\n", rte_lcore_id()); in lcore_tx() 585 printf("\nCore %u acting as worker core.\n", rte_lcore_id()); in lcore_worker() [all …]
|
| /dpdk/app/test-pipeline/ |
| H A D | runtime.c | 49 RTE_LOG(INFO, USER1, "Core %u is doing RX\n", rte_lcore_id()); in app_main_loop_rx() 78 rte_lcore_id()); in app_main_loop_worker() 111 RTE_LOG(INFO, USER1, "Core %u is doing TX\n", rte_lcore_id()); in app_main_loop_tx()
|
| /dpdk/drivers/mempool/bucket/ |
| H A D | rte_mempool_bucket.c | 107 unsigned int lcore_id = rte_lcore_id(); in bucket_enqueue_single() 144 struct bucket_stack *local_stack = bd->buckets[rte_lcore_id()]; in bucket_enqueue() 191 objptr = bucket_stack_pop(bd->buckets[rte_lcore_id()]); in bucket_dequeue_orphans() 202 hdr->lcore_id = rte_lcore_id(); in bucket_dequeue_orphans() 226 struct bucket_stack *cur_stack = bd->buckets[rte_lcore_id()]; in bucket_dequeue_buckets() 251 hdr->lcore_id = rte_lcore_id(); in bucket_dequeue_buckets() 265 bd->adoption_buffer_rings[rte_lcore_id()]; in bucket_adopt_orphans() 315 struct bucket_stack *cur_stack = bd->buckets[rte_lcore_id()]; in bucket_dequeue_contig_blocks() 341 hdr->lcore_id = rte_lcore_id(); in bucket_dequeue_contig_blocks()
|
| /dpdk/lib/eal/unix/ |
| H A D | eal_unix_thread.c | 36 unsigned int lcore_id = rte_lcore_id(); in eal_thread_wait_command() 52 unsigned int lcore_id = rte_lcore_id(); in eal_thread_ack_command()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.h | 148 int lcore_id = rte_lcore_id(); in core_stats_update_rx() 158 int lcore_id = rte_lcore_id(); in core_stats_update_tx() 166 int lcore_id = rte_lcore_id(); in core_stats_update_drop()
|
| /dpdk/lib/eal/windows/ |
| H A D | eal_thread.c | 43 unsigned int lcore_id = rte_lcore_id(); in eal_thread_wait_command() 59 unsigned int lcore_id = rte_lcore_id(); in eal_thread_ack_command()
|
| /dpdk/lib/timer/ |
| H A D | rte_timer.c | 66 unsigned __lcore_id = rte_lcore_id(); \ 231 lcore_id = rte_lcore_id(); in timer_set_config_state() 276 unsigned lcore_id = rte_lcore_id(); in timer_set_running_state() 432 unsigned lcore_id = rte_lcore_id(); in timer_del() 477 unsigned lcore_id = rte_lcore_id(); in __rte_timer_reset() 588 unsigned lcore_id = rte_lcore_id(); in __rte_timer_stop() 661 unsigned lcore_id = rte_lcore_id(); in __rte_timer_manage() 799 unsigned int default_poll_lcores[] = {rte_lcore_id()}; in rte_timer_alt_manage() 803 unsigned int this_lcore = rte_lcore_id(); in rte_timer_alt_manage() 1014 unsigned int lcore_id = rte_lcore_id(); in rte_timer_next_ticks()
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_thread.c | 66 unsigned int lcore_id = rte_lcore_id(); in thread_update_affinity() 254 __rte_thread_init(rte_lcore_id(), cpuset); in ctrl_thread_init() 359 unsigned int lcore_id = rte_lcore_id(); in rte_thread_unregister()
|
| H A D | eal_common_lcore.c | 32 if (rte_lcore_id() == LCORE_ID_ANY) in rte_lcore_index() 35 lcore_id = (int)rte_lcore_id(); in rte_lcore_index() 47 if (rte_lcore_id() == LCORE_ID_ANY) in rte_lcore_to_cpu_id() 50 lcore_id = (int)rte_lcore_id(); in rte_lcore_to_cpu_id()
|
| H A D | rte_keepalive.c | 155 keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_ALIVE; in rte_keepalive_mark_alive() 161 keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_DOZING; in rte_keepalive_mark_sleep()
|
| /dpdk/lib/power/ |
| H A D | rte_power_pmd_mgmt.c | 249 const unsigned int lcore = rte_lcore_id(); in clb_multiwait() 314 const unsigned int lcore = rte_lcore_id(); in clb_pause() 354 const unsigned int lcore = rte_lcore_id(); in clb_scale_freq() 364 rte_power_freq_max(rte_lcore_id()); in clb_scale_freq() 374 rte_power_freq_min(rte_lcore_id()); in clb_scale_freq()
|
| /dpdk/examples/eventdev_pipeline/ |
| H A D | pipeline_worker_tx.c | 88 rte_lcore_id(), received, fwd, tx); in worker_do_tx_single() 128 rte_lcore_id(), received, fwd, tx); in worker_do_tx_single_atq() 175 rte_lcore_id(), received, fwd, tx); in worker_do_tx_single_burst() 220 rte_lcore_id(), received, fwd, tx); in worker_do_tx_single_burst_atq() 275 rte_lcore_id(), received, fwd, tx); in worker_do_tx() 326 rte_lcore_id(), received, fwd, tx); in worker_do_tx_atq() 382 rte_lcore_id(), received, fwd, tx); in worker_do_tx_burst() 436 rte_lcore_id(), received, fwd, tx); in worker_do_tx_burst_atq()
|
| /dpdk/lib/eal/x86/ |
| H A D | rte_power_intrinsics.c | 79 const unsigned int lcore_id = rte_lcore_id(); in rte_power_monitor() 227 const unsigned int lcore_id = rte_lcore_id(); in rte_power_monitor_multi()
|
| /dpdk/examples/helloworld/ |
| H A D | main.c | 23 lcore_id = rte_lcore_id(); in lcore_hello()
|