| /f-stack/dpdk/drivers/bus/fslmc/portal/ |
| H A D | dpaa2_hw_dpio.h | 22 #define DPAA2_PER_LCORE_DPIO RTE_PER_LCORE(_dpaa2_io).dpio_dev 25 #define DPAA2_PER_LCORE_ETHRX_DPIO RTE_PER_LCORE(_dpaa2_io).ethrx_dpio_dev 29 RTE_PER_LCORE(_dpaa2_io).dpio_dev->dpaa2_held_bufs.dqrr_size 31 RTE_PER_LCORE(_dpaa2_io).dpio_dev->dpaa2_held_bufs.dqrr_held 33 RTE_PER_LCORE(_dpaa2_io).dpio_dev->dpaa2_held_bufs.mbuf[i]
|
| H A D | dpaa2_hw_dpio.c | 316 if (!RTE_PER_LCORE(_dpaa2_io).dpio_dev) { in dpaa2_affine_qbman_swp() 322 RTE_PER_LCORE(_dpaa2_io).dpio_dev = dpio_dev; in dpaa2_affine_qbman_swp() 338 if (!RTE_PER_LCORE(_dpaa2_io).ethrx_dpio_dev) { in dpaa2_affine_qbman_ethrx_swp() 344 RTE_PER_LCORE(_dpaa2_io).ethrx_dpio_dev = dpio_dev; in dpaa2_affine_qbman_ethrx_swp() 357 dpaa2_put_qbman_swp(RTE_PER_LCORE(_dpaa2_io).dpio_dev); in dpaa2_portal_finish() 358 dpaa2_put_qbman_swp(RTE_PER_LCORE(_dpaa2_io).ethrx_dpio_dev); in dpaa2_portal_finish()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_trace.c | 314 if (RTE_PER_LCORE(trace_mem)) in __rte_trace_mem_per_thread_alloc() 368 RTE_PER_LCORE(trace_mem) = header; in __rte_trace_mem_per_thread_alloc() 388 header = RTE_PER_LCORE(trace_mem); in trace_mem_per_thread_free() 439 RTE_PER_LCORE(ctf_field) != NULL ? in __rte_trace_point_emit_field() 440 RTE_PER_LCORE(ctf_field) : "", in __rte_trace_point_emit_field() 442 free(RTE_PER_LCORE(ctf_field)); in __rte_trace_point_emit_field() 445 RTE_PER_LCORE(trace_point_sz) = 0; in __rte_trace_point_emit_field() 446 RTE_PER_LCORE(ctf_field) = NULL; in __rte_trace_point_emit_field() 451 RTE_PER_LCORE(ctf_field) = field; in __rte_trace_point_emit_field() 469 RTE_PER_LCORE(trace_point_sz) = 0; in __rte_trace_point_register() [all …]
|
| H A D | eal_common_thread.c | 34 return RTE_PER_LCORE(_socket_id); in rte_socket_id() 71 RTE_PER_LCORE(_socket_id) = in thread_update_affinity() 75 memmove(&RTE_PER_LCORE(_cpuset), cpusetp, in thread_update_affinity() 80 lcore_config[lcore_id].socket_id = RTE_PER_LCORE(_socket_id); in thread_update_affinity() 103 memmove(cpusetp, &RTE_PER_LCORE(_cpuset), in rte_thread_get_affinity() 151 RTE_PER_LCORE(_lcore_id) = lcore_id; in __rte_thread_init() 166 RTE_PER_LCORE(_lcore_id) = LCORE_ID_ANY; in __rte_thread_uninit()
|
| H A D | eal_common_log.c | 243 return RTE_PER_LCORE(log_cur_msg).loglevel; in rte_log_cur_msg_loglevel() 249 return RTE_PER_LCORE(log_cur_msg).logtype; in rte_log_cur_msg_logtype() 449 RTE_PER_LCORE(log_cur_msg).loglevel = level; in rte_vlog() 450 RTE_PER_LCORE(log_cur_msg).logtype = logtype; in rte_vlog()
|
| H A D | eal_common_errno.c | 31 char *ret = RTE_PER_LCORE(retval); in rte_strerror()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_per_lcore.c | 40 if (RTE_PER_LCORE(test) != 0x12345678) in assign_vars() 42 RTE_PER_LCORE(test) = rte_lcore_id(); in assign_vars() 50 unsigned var = RTE_PER_LCORE(test); in display_vars() 57 RTE_PER_LCORE(test) = 0x12345678; in display_vars()
|
| H A D | test_mcslock.c | 56 rte_mcslock_t ml_me = RTE_PER_LCORE(_ml_me); in test_mcslock_per_core() 80 rte_mcslock_t ml_perf_me = RTE_PER_LCORE(_ml_perf_me); in load_loop_fn() 154 rte_mcslock_t ml_me = RTE_PER_LCORE(_ml_me); in test_mcslock_try() 155 rte_mcslock_t ml_try_me = RTE_PER_LCORE(_ml_try_me); in test_mcslock_try() 181 rte_mcslock_t ml_me = RTE_PER_LCORE(_ml_me); in test_mcslock() 182 rte_mcslock_t ml_try_me = RTE_PER_LCORE(_ml_try_me); in test_mcslock()
|
| H A D | test_timer_racecond.c | 98 RTE_PER_LCORE(n_reset_collisions) += 1; in reload_timer() 109 RTE_PER_LCORE(n_reset_collisions) = 0; in worker_main_loop() 132 if (RTE_PER_LCORE(n_reset_collisions) != 0) { in worker_main_loop() 134 lcore_id, RTE_PER_LCORE(n_reset_collisions)); in worker_main_loop()
|
| /f-stack/dpdk/drivers/bus/dpaa/ |
| H A D | rte_dpaa_bus.h | 143 RTE_PER_LCORE(dpaa_io) 145 RTE_PER_LCORE(dpaa_io)->dpaa_held_bufs.dqrr_size 147 RTE_PER_LCORE(dpaa_io)->dpaa_held_bufs.dqrr_held 149 RTE_PER_LCORE(dpaa_io)->dpaa_held_bufs.mbuf[i] 151 RTE_PER_LCORE(dpaa_io)->dpaa_sec_ops 153 RTE_PER_LCORE(dpaa_io)->dpaa_sec_op_nb
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | txonly.c | 233 uint8_t ip_var = RTE_PER_LCORE(_ip_var); in pkt_burst_prepare() 249 RTE_PER_LCORE(_ip_var) = ip_var; in pkt_burst_prepare() 259 uint64_t skew = RTE_PER_LCORE(timestamp_qskew); in pkt_burst_prepare() 268 RTE_PER_LCORE(timestamp_idone))) { in pkt_burst_prepare() 279 RTE_PER_LCORE(timestamp_qskew) = skew; in pkt_burst_prepare() 280 RTE_PER_LCORE(timestamp_idone) = timestamp_init_req; in pkt_burst_prepare() 290 RTE_PER_LCORE(timestamp_qskew) = skew; in pkt_burst_prepare() 297 RTE_PER_LCORE(timestamp_qskew) = skew; in pkt_burst_prepare() 407 RTE_PER_LCORE(_ip_var) -= nb_pkt - nb_tx; in pkt_burst_transmit() 441 RTE_PER_LCORE(timestamp_qskew) = 0; in tx_only_begin()
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_eal.h | 473 if (RTE_PER_LCORE(_thread_id) == -1) in rte_gettid() 474 RTE_PER_LCORE(_thread_id) = rte_sys_gettid(); in rte_gettid() 475 return RTE_PER_LCORE(_thread_id); in rte_gettid()
|
| H A D | rte_errno.h | 29 #define rte_errno RTE_PER_LCORE(_rte_errno)
|
| H A D | rte_per_lcore.h | 44 #define RTE_PER_LCORE(name) (per_lcore_##name) macro
|
| H A D | rte_trace_point_register.h | 26 RTE_PER_LCORE(trace_point_sz) = __RTE_TRACE_EVENT_HEADER_SZ
|
| H A D | rte_trace_point.h | 302 (struct __rte_trace_header *)(RTE_PER_LCORE(trace_mem)); in __rte_trace_mem_get() 308 trace = (struct __rte_trace_header *)(RTE_PER_LCORE(trace_mem)); in __rte_trace_mem_get()
|
| H A D | rte_lcore.h | 77 return RTE_PER_LCORE(_lcore_id); in rte_lcore_id()
|
| /f-stack/dpdk/examples/performance-thread/common/ |
| H A D | lthread_diag.h | 44 struct lthread *ct = RTE_PER_LCORE(this_sched)->current_lthread;\ 69 struct lthread *ct = RTE_PER_LCORE(this_sched)->current_lthread;\
|
| H A D | lthread_int.h | 57 #define THIS_SCHED RTE_PER_LCORE(this_sched) 58 #define THIS_LTHREAD RTE_PER_LCORE(this_sched)->current_lthread
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 649 qconf = (struct thread_tx_conf *)RTE_PER_LCORE(lcore_conf)->data; in send_single_packet() 1260 RTE_PER_LCORE(lcore_conf)->ipv4_lookup_struct); in l3fwd_simple_forward() 1286 RTE_PER_LCORE(lcore_conf)->ipv6_lookup_struct); in l3fwd_simple_forward() 1364 RTE_PER_LCORE(lcore_conf)->ipv4_lookup_struct, dst_ipv4, in get_dst_port() 1373 RTE_PER_LCORE(lcore_conf)->ipv6_lookup_struct, in get_dst_port() 2277 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in lthread_main_spawner() 2299 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in sched_spawner() 2461 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in pthread_run() 2462 RTE_PER_LCORE(lcore_conf)->data = (void *)&rx_thread[i]; in pthread_run() 2470 RTE_PER_LCORE(lcore_conf) = &lcore_conf[lcore_id]; in pthread_run() [all …]
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sad.c | 86 cache = &RTE_PER_LCORE(sad_cache); in ipsec_sad_lcore_cache_init()
|
| H A D | sad.h | 82 cache = &RTE_PER_LCORE(sad_cache); in sad_lookup()
|
| /f-stack/dpdk/lib/librte_eal/linux/ |
| H A D | eal_interrupts.c | 1276 if (RTE_PER_LCORE(_epfd) == -1) in rte_intr_tls_epfd() 1277 RTE_PER_LCORE(_epfd) = eal_init_tls_epfd(); in rte_intr_tls_epfd() 1279 return RTE_PER_LCORE(_epfd); in rte_intr_tls_epfd()
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | bman.c | 34 return &RTE_PER_LCORE(bman_affine_portal); in get_affine_portal()
|
| /f-stack/dpdk/drivers/crypto/aesni_mb/ |
| H A D | rte_aesni_mb_pmd.c | 1990 mb_mgr = RTE_PER_LCORE(sync_mb_mgr); in aesni_mb_cpu_crypto_process_bulk() 1999 RTE_PER_LCORE(sync_mb_mgr) = mb_mgr; in aesni_mb_cpu_crypto_process_bulk() 2204 if (RTE_PER_LCORE(sync_mb_mgr)) { in cryptodev_aesni_mb_remove() 2205 free_mb_mgr(RTE_PER_LCORE(sync_mb_mgr)); in cryptodev_aesni_mb_remove() 2206 RTE_PER_LCORE(sync_mb_mgr) = NULL; in cryptodev_aesni_mb_remove()
|