Searched refs:rand (Results 1 – 16 of 16) sorted by relevance
| /dpdk/app/test/ |
| H A D | test_hash_readwrite.c | 91 uint32_t rand = rte_rand() % (i + 1 - offset); in test_hash_readwrite_worker() local 94 tbl_rw_test_param.keys + rand) != ret[rand]) in test_hash_readwrite_worker() 99 tbl_rw_test_param.keys + rand) != ret[rand]) in test_hash_readwrite_worker() 102 ret[rand] = rte_hash_add_key(tbl_rw_test_param.h, in test_hash_readwrite_worker() 103 tbl_rw_test_param.keys + rand); in test_hash_readwrite_worker() 104 if (ret[rand] < 0) in test_hash_readwrite_worker() 108 tbl_rw_test_param.keys + rand) != ret[rand]) in test_hash_readwrite_worker()
|
| H A D | test_hash_functions.c | 193 key[i] = rand() & 0xff; in verify_jhash_32bits() 230 key[i] = rand(); in verify_jhash_words()
|
| H A D | test_ring.c | 593 int rand; in test_ring_burst_bulk_tests1() local 622 rand = RTE_MAX(rte_rand() % RING_SIZE, 1UL); in test_ring_burst_bulk_tests1() 624 __func__, i, rand); in test_ring_burst_bulk_tests1() 625 ret = test_ring_enq_impl(r, cur_src, esize[i], rand, in test_ring_burst_bulk_tests1() 629 ret = test_ring_deq_impl(r, cur_dst, esize[i], rand, in test_ring_burst_bulk_tests1() 631 TEST_RING_VERIFY(ret == rand, r, goto fail); in test_ring_burst_bulk_tests1()
|
| H A D | test_compressdev.c | 2855 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_stateless_dynamic_big() 3304 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_LB_1op() 3375 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_LB_2ops_first() 3446 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_LB_2ops_second() 3518 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_LB_3ops() 3591 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_LB_4ops() 3659 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_SGL_1op() 3730 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_SGL_2ops_first() 3801 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_SGL_2ops_second() 3873 test_buffer[j] = (uint8_t)(rand() % ((uint8_t)-1)) | 1; in test_compressdev_deflate_im_buffers_SGL_3ops() [all …]
|
| H A D | test_timer.c | 358 int r = rand() % NB_STRESS2_TIMERS; in timer_stress2_main_loop()
|
| H A D | test_cryptodev.c | 12214 j = rand() % MB_SESSION_NUMBER; in test_multi_session_random_usage()
|
| /dpdk/lib/net/ |
| H A D | rte_ether.c | 13 uint64_t rand = rte_rand(); in rte_eth_random_addr() local 14 uint8_t *p = (uint8_t *)&rand; in rte_eth_random_addr()
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | meson.build | 15 'rand.c',
|
| /dpdk/drivers/raw/ioat/ |
| H A D | ioat_rawdev_test.c | 57 src_data[j] = rand() & 0xFF; in do_multi_copies() 143 src_data[i] = rand() & 0xFF; in test_enqueue_copies() 199 src_data[i] = rand() & 0xFF; in test_enqueue_copies()
|
| /dpdk/lib/timer/ |
| H A D | rte_timer.c | 324 uint32_t rand = rte_rand() & (UINT32_MAX - 1); in timer_get_skiplist_level() local 325 uint32_t level = rand == 0 ? MAX_SKIPLIST_DEPTH : (rte_bsf32(rand)-1) / 2; in timer_get_skiplist_level()
|
| /dpdk/examples/fips_validation/ |
| H A D | fips_validation_gcm.c | 95 int random = rand(); in parse_gcm_pt_ct_str()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 226 uint64_t tsc_lifetime = (rand()&0x07) * rte_get_tsc_hz(); in l2fwd_main_loop()
|
| /dpdk/doc/guides/rawdevs/ |
| H A D | ioat.rst | 255 src_data[j] = rand() & 0xFF;
|
| /dpdk/app/test-bbdev/ |
| H A D | test_bbdev_perf.c | 1401 U1 = (double)rand() / RAND_MAX; in randn() 1402 U2 = (double)rand() / RAND_MAX; in randn()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_ethdev.c | 1045 buff[i] = rand(); in qede_prandom_bytes()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 869 testpmd> set txsplit (off|on|rand) 879 * ``rand`` same as 'on', but number of segments per each packet is a random value between 1 and tot…
|