| /f-stack/dpdk/app/test/ |
| H A D | test_malloc.c | 288 overhead -= RTE_CACHE_LINE_SIZE; in test_multi_alloc_statistics() 387 NULL, size1, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 394 ptr1, size2, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 419 NULL, size3, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 435 ptr3, size4, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 448 RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 460 NULL, size5, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket() 587 RTE_CACHE_LINE_SIZE, in test_realloc_numa() 601 size += RTE_CACHE_LINE_SIZE; in test_realloc_numa() 824 unsigned align = RTE_CACHE_LINE_SIZE; in test_malloc_bad_params() [all …]
|
| H A D | test_rcu_qsbr_perf.c | 150 RTE_CACHE_LINE_SIZE); in test_rcu_qsbr_perf() 210 RTE_CACHE_LINE_SIZE); in test_rcu_qsbr_rperf() 257 RTE_CACHE_LINE_SIZE); in test_rcu_qsbr_wperf() 408 RTE_CACHE_LINE_SIZE); in test_rcu_qsbr_sw_sv_1qs() 523 RTE_CACHE_LINE_SIZE); in test_rcu_qsbr_sw_sv_1qs_non_blocking()
|
| H A D | test_bitmap.c | 158 mem = rte_zmalloc("test_bmap", bmp_size, RTE_CACHE_LINE_SIZE); in test_bitmap_all_clear() 198 mem = rte_zmalloc("test_bmap", bmp_size, RTE_CACHE_LINE_SIZE); in test_bitmap_all_set()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_ef10.h | 21 (RTE_CACHE_LINE_SIZE / sizeof(efx_qword_t)) 56 RTE_BUILD_BUG_ON(sizeof(val) > RTE_CACHE_LINE_SIZE); 57 RTE_BUILD_BUG_ON(RTE_CACHE_LINE_SIZE % sizeof(val) != 0); 59 for (i = 0; i < RTE_CACHE_LINE_SIZE / sizeof(val); ++i)
|
| H A D | sfc_tweak.h | 22 #define SFC_RX_REFILL_BULK (RTE_CACHE_LINE_SIZE / sizeof(efx_qword_t))
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_array.c | 60 RTE_CACHE_LINE_SIZE) / RTE_CACHE_LINE_SIZE; in rte_table_array_create() 62 RTE_CACHE_LINE_SIZE) / RTE_CACHE_LINE_SIZE; in rte_table_array_create() 63 total_size = total_cl_size * RTE_CACHE_LINE_SIZE; in rte_table_array_create() 64 t = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id); in rte_table_array_create()
|
| H A D | rte_table_hash_key32.c | 161 ((sizeof(struct rte_table_hash) % RTE_CACHE_LINE_SIZE) != 0) || in rte_table_hash_create_key32_lru() 197 RTE_CACHE_LINE_SIZE, in rte_table_hash_create_key32_lru() 377 ((sizeof(struct rte_table_hash) % RTE_CACHE_LINE_SIZE) != 0) || in rte_table_hash_create_key32_ext() 413 RTE_CACHE_LINE_SIZE, in rte_table_hash_create_key32_ext() 690 rte_prefetch0((void *)(((uintptr_t) bucket1) + RTE_CACHE_LINE_SIZE));\ 691 rte_prefetch0((void *)(((uintptr_t) bucket1) + 2 * RTE_CACHE_LINE_SIZE));\ 765 rte_prefetch0((void *)(((uintptr_t) bucket_next) + RTE_CACHE_LINE_SIZE));\ 767 2 * RTE_CACHE_LINE_SIZE)); \ 830 rte_prefetch0((void *)(((uintptr_t) bucket10) + RTE_CACHE_LINE_SIZE));\ 831 rte_prefetch0((void *)(((uintptr_t) bucket10) + 2 * RTE_CACHE_LINE_SIZE));\ [all …]
|
| /f-stack/dpdk/config/arm/ |
| H A D | meson.build | 35 ['RTE_CACHE_LINE_SIZE', 128]] 40 ['RTE_CACHE_LINE_SIZE', 64]] 42 ['RTE_CACHE_LINE_SIZE', 128], 49 ['RTE_CACHE_LINE_SIZE', 64], 55 ['RTE_CACHE_LINE_SIZE', 64], 60 ['RTE_CACHE_LINE_SIZE', 64], 70 ['RTE_CACHE_LINE_SIZE', 64], 85 ['RTE_CACHE_LINE_SIZE', 64], 138 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64) 144 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | rte_common.h | 341 #define RTE_CACHE_LINE_MASK (RTE_CACHE_LINE_SIZE-1) 345 (RTE_CACHE_LINE_SIZE * ((size + RTE_CACHE_LINE_SIZE - 1) / \ 346 RTE_CACHE_LINE_SIZE)) 349 #if RTE_CACHE_LINE_SIZE == 64 351 #elif RTE_CACHE_LINE_SIZE == 128 361 #define __rte_cache_aligned __rte_aligned(RTE_CACHE_LINE_SIZE)
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_common.h | 380 #define RTE_CACHE_LINE_MASK (RTE_CACHE_LINE_SIZE-1) 384 (RTE_CACHE_LINE_SIZE * ((size + RTE_CACHE_LINE_SIZE - 1) / \ 385 RTE_CACHE_LINE_SIZE)) 388 #if RTE_CACHE_LINE_SIZE == 64 390 #elif RTE_CACHE_LINE_SIZE == 128 400 #define __rte_cache_aligned __rte_aligned(RTE_CACHE_LINE_SIZE)
|
| /f-stack/dpdk/drivers/event/dlb/pf/ |
| H A D | dlb_pf.c | 291 qe_sz = RTE_CACHE_LINE_SIZE; in dlb_pf_ldb_port_create() 302 alloc_sz = 2 * RTE_CACHE_LINE_SIZE + cq_alloc_depth * qe_sz; in dlb_pf_ldb_port_create() 318 cq_dma_base = (uintptr_t)(pc_dma_base + (2 * RTE_CACHE_LINE_SIZE)); in dlb_pf_ldb_port_create() 334 (void *)(uintptr_t)(port_base + (2 * RTE_CACHE_LINE_SIZE)); in dlb_pf_ldb_port_create() 339 (port_base + RTE_CACHE_LINE_SIZE); in dlb_pf_ldb_port_create() 375 qe_sz = RTE_CACHE_LINE_SIZE; in dlb_pf_dir_port_create() 380 alloc_sz = 2 * RTE_CACHE_LINE_SIZE + cfg->cq_depth * qe_sz; in dlb_pf_dir_port_create() 396 cq_dma_base = (uintptr_t)(pc_dma_base + (2 * RTE_CACHE_LINE_SIZE)); in dlb_pf_dir_port_create() 412 (void *)(uintptr_t)(port_base + (2 * RTE_CACHE_LINE_SIZE)); in dlb_pf_dir_port_create() 417 (port_base + RTE_CACHE_LINE_SIZE); in dlb_pf_dir_port_create()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_memzone.c | 106 if (align < RTE_CACHE_LINE_SIZE) in memzone_reserve_aligned_thread_unsafe() 107 align = RTE_CACHE_LINE_SIZE; in memzone_reserve_aligned_thread_unsafe() 115 len = RTE_ALIGN_CEIL(len, RTE_CACHE_LINE_SIZE); in memzone_reserve_aligned_thread_unsafe() 118 requested_len = RTE_MAX((size_t)RTE_CACHE_LINE_SIZE, len); in memzone_reserve_aligned_thread_unsafe() 247 flags, RTE_CACHE_LINE_SIZE, 0); in rte_memzone_reserve()
|
| H A D | malloc_elem.h | 10 #define MIN_DATA_SIZE (RTE_CACHE_LINE_SIZE) 58 static const unsigned MALLOC_ELEM_TRAILER_LEN = RTE_CACHE_LINE_SIZE;
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | noisy_vnf.c | 53 RTE_CACHE_LINE_SIZE)] = w; in do_write() 63 RTE_CACHE_LINE_SIZE)]; in do_read() 242 RTE_CACHE_LINE_SIZE); in noisy_fwd_begin() 267 RTE_CACHE_LINE_SIZE); in noisy_fwd_begin()
|
| /f-stack/dpdk/drivers/compress/isal/ |
| H A D | isal_compress_pmd_ops.c | 242 RTE_CACHE_LINE_SIZE, socket_id); in isal_comp_pmd_qp_setup() 250 sizeof(struct isal_zstream), RTE_CACHE_LINE_SIZE, in isal_comp_pmd_qp_setup() 258 ISAL_DEF_LVL3_DEFAULT, RTE_CACHE_LINE_SIZE, in isal_comp_pmd_qp_setup() 267 sizeof(struct inflate_state), RTE_CACHE_LINE_SIZE, in isal_comp_pmd_qp_setup()
|
| /f-stack/dpdk/examples/performance-thread/common/ |
| H A D | lthread_pool.h | 80 RTE_CACHE_LINE_SIZE, in _qnode_pool_create() 87 RTE_CACHE_LINE_SIZE, in _qnode_pool_create() 221 RTE_CACHE_LINE_SIZE, in _qnode_alloc()
|
| H A D | lthread_objcache.h | 47 RTE_CACHE_LINE_SIZE, in _lthread_objcache_create() 104 RTE_CACHE_LINE_SIZE, in _lthread_objcache_alloc()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_kni.c | 429 RTE_CACHE_LINE_SIZE); in ff_kni_init() 442 RTE_CACHE_LINE_SIZE); in ff_kni_init() 450 RTE_CACHE_LINE_SIZE); in ff_kni_init() 458 RTE_CACHE_LINE_SIZE); in ff_kni_init() 485 RTE_CACHE_LINE_SIZE); in ff_kni_alloc()
|
| /f-stack/dpdk/drivers/raw/octeontx2_ep/ |
| H A D | otx2_ep_enqdeq.c | 94 RTE_CACHE_LINE_SIZE); in sdp_init_instr_queue() 116 RTE_CACHE_LINE_SIZE, in sdp_init_instr_queue() 164 RTE_CACHE_LINE_SIZE); in sdp_setup_iqs() 291 RTE_CACHE_LINE_SIZE); in sdp_alloc_info_buffer() 328 RTE_CACHE_LINE_SIZE); in sdp_init_droq() 353 RTE_CACHE_LINE_SIZE, rte_socket_id()); in sdp_init_droq() 385 sizeof(*droq), RTE_CACHE_LINE_SIZE); in sdp_setup_oqs()
|
| /f-stack/dpdk/lib/librte_graph/ |
| H A D | graph_populate.c | 34 sz = RTE_ALIGN(sz, RTE_CACHE_LINE_SIZE); in graph_fp_mem_calc_size() 38 sz = RTE_ALIGN(sz, RTE_CACHE_LINE_SIZE); in graph_fp_mem_calc_size() 99 off = RTE_ALIGN(off, RTE_CACHE_LINE_SIZE); in graph_nodes_populate()
|
| /f-stack/dpdk/drivers/event/octeontx2/ |
| H A D | otx2_evdev_adptr.c | 458 + RTE_CACHE_LINE_SIZE + in sso_add_tx_queue_data() 462 RTE_CACHE_LINE_SIZE, in sso_add_tx_queue_data() 469 ((uint8_t *)dws + RTE_CACHE_LINE_SIZE); in sso_add_tx_queue_data() 482 RTE_CACHE_LINE_SIZE + in sso_add_tx_queue_data() 486 RTE_CACHE_LINE_SIZE, in sso_add_tx_queue_data() 493 ((uint8_t *)ws + RTE_CACHE_LINE_SIZE); in sso_add_tx_queue_data()
|
| /f-stack/dpdk/lib/librte_stack/ |
| H A D | rte_stack_std.c | 23 sz += 2 * RTE_CACHE_LINE_SIZE; in rte_stack_std_get_memsize()
|
| H A D | rte_stack_lf.c | 28 sz += 2 * RTE_CACHE_LINE_SIZE; in rte_stack_lf_get_memsize()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sad.c | 93 RTE_CACHE_LINE_SIZE, rte_socket_id()); in ipsec_sad_lcore_cache_init() 98 RTE_CACHE_LINE_SIZE, rte_socket_id()); in ipsec_sad_lcore_cache_init()
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_svf.c | 22 entry = rte_zmalloc("nicvf", sizeof(*entry), RTE_CACHE_LINE_SIZE); in nicvf_svf_push()
|