Home
last modified time | relevance | path

Searched refs:ALIGNMENT_UNIT (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_memcpy_perf.c55 #define ALIGNMENT_UNIT 64 macro
57 #define ALIGNMENT_UNIT 32 macro
59 #define ALIGNMENT_UNIT 16 macro
76 large_buf_read = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
80 large_buf_write = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
84 small_buf_read = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
88 small_buf_write = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
128 ~(ALIGNMENT_UNIT - 1)) + uoffset; in get_rand_offset()
299 ALIGNMENT_UNIT); in perf_test()
H A Dtest_memcpy.c37 #define ALIGNMENT_UNIT 32 macro
50 uint8_t dest[SMALL_BUFFER_SIZE + ALIGNMENT_UNIT]; in test_single_memcpy()
51 uint8_t src[SMALL_BUFFER_SIZE + ALIGNMENT_UNIT]; in test_single_memcpy()
55 for (i = 0; i < SMALL_BUFFER_SIZE + ALIGNMENT_UNIT; i++) { in test_single_memcpy()
108 for (off_src = 0; off_src < ALIGNMENT_UNIT; off_src++) { in func_test()
109 for (off_dst = 0; off_dst < ALIGNMENT_UNIT; off_dst++) { in func_test()