| /dpdk/app/test/ |
| H A D | test_cmdline_num.c | 18 uint64_t result; member 23 int64_t result; member 326 (void*)&result, sizeof(result)); in test_parse_num_invalid_param() 388 num_invalid_strs[i], (void*)&result, sizeof(result)); in test_parse_num_invalid_data() 430 (void*)&result, sizeof(result)); in test_parse_num_valid() 458 (void*)&result, sizeof(result)); in test_parse_num_valid() 472 result = (int8_t) result; in test_parse_num_valid() 475 result = (int16_t) result; in test_parse_num_valid() 478 result = (int32_t) result; in test_parse_num_valid() 508 (void*)&result, sizeof(result)); in test_parse_num_valid() [all …]
|
| H A D | test_cmdline_portlist.c | 97 cmdline_portlist_t result; in test_parse_portlist_invalid_param() local 102 memset(&result, 0, sizeof(cmdline_portlist_t)); in test_parse_portlist_invalid_param() 113 sizeof(result)); in test_parse_portlist_invalid_param() 147 cmdline_portlist_t result; in test_parse_portlist_invalid_data() local 152 memset(&result, 0, sizeof(cmdline_portlist_t)); in test_parse_portlist_invalid_data() 155 (void*)&result, sizeof(result)); in test_parse_portlist_invalid_data() 172 cmdline_portlist_t result; in test_parse_portlist_valid() local 177 memset(&result, 0, sizeof(cmdline_portlist_t)); in test_parse_portlist_valid() 180 (void*)&result, sizeof(result)); in test_parse_portlist_valid() 199 (void*)&result, sizeof(result)); in test_parse_portlist_valid() [all …]
|
| H A D | test_cmdline_ipaddr.c | 367 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_valid() 377 sizeof(result)); in test_parse_ipaddr_valid() 417 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_valid() 427 sizeof(result)); in test_parse_ipaddr_valid() 459 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_valid() 469 sizeof(result)); in test_parse_ipaddr_valid() 502 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_valid() 544 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_valid() 585 memset(&result, 0, sizeof(result)); in test_parse_ipaddr_invalid_data() 641 NULL, (void*)&result, sizeof(result)) != -1) { in test_parse_ipaddr_invalid_param() [all …]
|
| H A D | test_cmdline_etheraddr.c | 91 struct rte_ether_addr result; in test_parse_etheraddr_invalid_param() local 103 sizeof(result)); in test_parse_etheraddr_invalid_param() 142 struct rte_ether_addr result; in test_parse_etheraddr_invalid_data() local 147 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_invalid_data() 150 (void*)&result, sizeof(result)); in test_parse_etheraddr_invalid_data() 167 struct rte_ether_addr result; in test_parse_etheraddr_valid() local 172 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_valid() 175 (void*)&result, sizeof(result)); in test_parse_etheraddr_valid() 191 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_valid() 194 (void*)&result, sizeof(result)); in test_parse_etheraddr_valid() [all …]
|
| H A D | test_crc.c | 70 uint32_t result; in test_crc_calc() local 76 result = crc_calc(crc_vec, CRC_VEC_LEN, type); in test_crc_calc() 77 if (result != crc32_vec_res) in test_crc_calc() 86 result = crc_calc(test_data, CRC32_VEC_LEN1, type); in test_crc_calc() 87 if (result != crc32_vec1_res) { in test_crc_calc() 96 result = crc_calc(test_data, CRC32_VEC_LEN2, type); in test_crc_calc() 97 if (result != crc32_vec2_res) { in test_crc_calc() 104 result = crc_calc(crc_vec, CRC_VEC_LEN, type); in test_crc_calc() 105 if (result != crc16_vec_res) { in test_crc_calc() 111 if (result != crc16_vec1_res) { in test_crc_calc() [all …]
|
| H A D | test_cpuflags.c | 17 result = rte_cpu_get_flag_enabled(x); \ 18 printf("%s\n", cpu_flag_result(result)); \ 19 if (result == -ENOENT) \ 26 cpu_flag_result(int result) in cpu_flag_result() argument 28 switch (result) { in cpu_flag_result() 51 int result; in test_cpuflags() local 207 result = rte_cpu_get_flag_enabled(RTE_CPUFLAG_NUMFLAGS); in test_cpuflags() 208 printf("%s\n", cpu_flag_result(result)); in test_cpuflags() 209 if (result != -ENOENT) in test_cpuflags()
|
| H A D | test_red.c | 465 result = FAIL; in func_test1() 534 return result; in func_test1() 583 result = FAIL; in func_test2() 593 result = FAIL; in func_test2() 602 result = FAIL; in func_test2() 645 return result; in func_test2() 758 return result; in func_test3() 900 return result; in func_test4() 1040 return result; in func_test5() 1171 return result; in func_test6() [all …]
|
| H A D | test_reciprocal_division.c | 22 int result = 0; in test_reciprocal() local 53 result = 1; in test_reciprocal() 75 result = 1; in test_reciprocal() 99 result = 1; in test_reciprocal() 123 result = 1; in test_reciprocal() 136 result = 1; in test_reciprocal() 158 result = 1; in test_reciprocal() 164 return result; in test_reciprocal()
|
| H A D | test_pie.c | 380 result = FAIL; in func_test1() 400 result = FAIL; in func_test1() 441 return result; in func_test1() 540 return result; in func_test2() 603 result = FAIL; in func_test3() 623 result = FAIL; in func_test3() 664 return result; in func_test3() 811 result = FAIL; in perf_test() 843 return result; in perf_test() 888 result = FAIL; in perf_test2() [all …]
|
| H A D | test_member_perf.c | 254 member_set_t result; in timed_lookups() local 260 &result); in timed_lookups() 269 if (result != data[type][j]) in timed_lookups() 286 member_set_t result[BURST_SIZE] = {0}; in timed_lookups_bulk() local 302 result); in timed_lookups_bulk() 309 if (type == HT && result[k] == in timed_lookups_bulk() 356 if (result[0] != data[type][j]) in timed_lookups_multimatch() 391 (member_set_t *)result); in timed_lookups_multimatch_bulk() 473 member_set_t result; in timed_miss_lookup() local 478 &result); in timed_miss_lookup() [all …]
|
| H A D | test_cmdline_string.c | 21 const char * result; /* expected string */ member 62 const char * result; /* expected result */ member 123 int result; in test_parse_string_invalid_param() local 157 (void*)&result, sizeof(result)) != -1) { in test_parse_string_invalid_param() 317 if (strcmp(buf, string_parse_strs[i].result) != 0) { in test_parse_string_valid() 350 if (strncmp(buf, string_elt_strs[i].result, in test_parse_string_valid()
|
| H A D | test_reciprocal_division_perf.c | 22 int result = 0; in test_reciprocal_division_perf() local 65 result = 1; in test_reciprocal_division_perf() 107 result = 1; in test_reciprocal_division_perf() 148 result = 1; in test_reciprocal_division_perf() 189 result = 1; in test_reciprocal_division_perf() 205 return result; in test_reciprocal_division_perf()
|
| H A D | test_efd.c | 219 struct rte_efd_table *handle = NULL, *result = NULL; in test_efd_find_existing() local 230 result = rte_efd_find_existing("efd_find_existing"); in test_efd_find_existing() 231 TEST_ASSERT_EQUAL(result, handle, "could not find existing efd table"); in test_efd_find_existing() 234 result = rte_efd_find_existing("efd_find_non_existing"); in test_efd_find_existing() 235 TEST_ASSERT_NULL(result, "found table that shouldn't exist"); in test_efd_find_existing() 255 efd_value_t result[5] = {0}; in test_five_keys() local 282 (void *) &key_array, result); in test_five_keys() 285 TEST_ASSERT_EQUAL(result[i], data[i], in test_five_keys() 287 data[i], result[i]); in test_five_keys()
|
| /dpdk/lib/node/ |
| H A D | ip4_lookup_neon.h | 23 rte_xmm_t result; in ip4_lookup_node_process_vec() local 115 priv01.u16[0] = result.u16[0]; in ip4_lookup_node_process_vec() 116 priv01.u16[4] = result.u16[2]; in ip4_lookup_node_process_vec() 117 priv23.u16[0] = result.u16[4]; in ip4_lookup_node_process_vec() 118 priv23.u16[4] = result.u16[6]; in ip4_lookup_node_process_vec() 127 (result.u16[1] == result.u16[3]) && in ip4_lookup_node_process_vec() 128 (result.u16[3] == result.u16[5]) && in ip4_lookup_node_process_vec() 129 (result.u16[5] == result.u16[7])); in ip4_lookup_node_process_vec() 140 if (next_index == result.u16[1]) { in ip4_lookup_node_process_vec() 150 if (next_index == result.u16[3]) { in ip4_lookup_node_process_vec() [all …]
|
| /dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_io.h | 91 uint64_t result; in octeontx_reg_lmtst() local 99 for (result = 0; result < word_count; result += 2) { in octeontx_reg_lmtst() 100 lmtline[result + 0] = cmdbuf[result + 0]; in octeontx_reg_lmtst() 101 lmtline[result + 1] = cmdbuf[result + 1]; in octeontx_reg_lmtst() 108 : "=r" (result) : "r" (ioreg_va) : "memory"); in octeontx_reg_lmtst() 109 } while (!result); in octeontx_reg_lmtst()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio_mp_sync.c | 47 r->result = SOCKET_ERR; in vfio_mp_primary() 50 r->result = SOCKET_NO_FD; in vfio_mp_primary() 53 r->result = SOCKET_OK; in vfio_mp_primary() 62 r->result = SOCKET_ERR; in vfio_mp_primary() 64 r->result = SOCKET_OK; in vfio_mp_primary() 73 r->result = SOCKET_ERR; in vfio_mp_primary() 75 r->result = SOCKET_OK; in vfio_mp_primary() 89 r->result = SOCKET_ERR; in vfio_mp_primary() 92 r->result = SOCKET_OK; in vfio_mp_primary()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_stats.h | 45 union sfc_pkts_bytes result; in sfc_pkts_bytes_add() local 48 result.pkts = st->pkts + pkts; in sfc_pkts_bytes_add() 49 result.bytes = st->bytes + bytes; in sfc_pkts_bytes_add() 55 __atomic_store_n(&st->pkts_bytes.int128, result.pkts_bytes.int128, in sfc_pkts_bytes_add() 67 sfc_pkts_bytes_get(const union sfc_pkts_bytes *st, union sfc_pkts_bytes *result) in sfc_pkts_bytes_get() argument 70 result->pkts_bytes.int128 = __atomic_load_n(&st->pkts_bytes.int128, in sfc_pkts_bytes_get() 73 *result = *st; in sfc_pkts_bytes_get()
|
| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | dpaa_alloc.c | 13 int bman_alloc_bpid_range(u32 *result, u32 count, u32 align, int partial) in bman_alloc_bpid_range() argument 15 return process_alloc(dpaa_id_bpid, result, count, align, partial); in bman_alloc_bpid_range() 28 int qman_alloc_fqid_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_fqid_range() argument 30 return process_alloc(dpaa_id_fqid, result, count, align, partial); in qman_alloc_fqid_range() 43 int qman_alloc_pool_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_pool_range() argument 45 return process_alloc(dpaa_id_qpool, result, count, align, partial); in qman_alloc_pool_range() 58 int qman_alloc_cgrid_range(u32 *result, u32 count, u32 align, int partial) in qman_alloc_cgrid_range() argument 60 return process_alloc(dpaa_id_cgrid, result, count, align, partial); in qman_alloc_cgrid_range()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_io.h | 96 uint64_t result; in roc_atomic64_add_nosync() local 100 : [r] "=r"(result), "+m"(*ptr) in roc_atomic64_add_nosync() 103 return result; in roc_atomic64_add_nosync() 109 uint64_t result; in roc_atomic64_add_sync() local 116 return result; in roc_atomic64_add_sync() 122 uint64_t result; in roc_lmt_submit_ldeor() local 125 : [rf] "=r"(result) in roc_lmt_submit_ldeor() 127 return result; in roc_lmt_submit_ldeor() 133 uint64_t result; in roc_lmt_submit_ldeorl() local 136 : [rf] "=r"(result) in roc_lmt_submit_ldeorl() [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | hotplug_mp.c | 62 int result, in send_response_to_secondary() argument 74 resp->result = result; in send_response_to_secondary() 112 ret = tmp_req.result; in __handle_secondary_request() 145 ret = tmp_req.result; in __handle_secondary_request() 295 resp->result = ret; in __handle_primary_request() 322 resp->result = -ENOMEM; in handle_primary_request() 339 resp->result = -ENOMEM; in handle_primary_request() 354 resp->result = ret; in handle_primary_request() 386 req->result = resp->result; in eal_dev_hotplug_request_to_primary() 421 req->result = 0; in eal_dev_hotplug_request_to_secondary() [all …]
|
| H A D | malloc_mp.c | 404 enum malloc_req_result result; in handle_sync_response() local 419 result = REQ_RESULT_SUCCESS; in handle_sync_response() 422 result = REQ_RESULT_FAIL; in handle_sync_response() 430 result = REQ_RESULT_FAIL; in handle_sync_response() 435 result = REQ_RESULT_FAIL; in handle_sync_response() 439 result = REQ_RESULT_FAIL; in handle_sync_response() 452 resp->result = result; in handle_sync_response() 476 resp->result = result; in handle_sync_response() 489 result == REQ_RESULT_FAIL) { in handle_sync_response() 610 entry->user_req.result = m->result; in handle_response() [all …]
|
| /dpdk/drivers/common/octeontx/ |
| H A D | octeontx_mbox.c | 259 int result = -EINVAL; in octeontx_start_domain() local 265 if (result != 0) { in octeontx_start_domain() 267 result, hdr.res_code); in octeontx_start_domain() 268 result = -EINVAL; in octeontx_start_domain() 271 return result; in octeontx_start_domain() 280 int result = 0; in octeontx_check_mbox_version() local 289 if (result != sizeof(kernel_intf_ver)) { in octeontx_check_mbox_version() 291 result, hdr.res_code); in octeontx_check_mbox_version() 292 result = -EINVAL; in octeontx_check_mbox_version() 301 result = -EINVAL; in octeontx_check_mbox_version() [all …]
|
| /dpdk/drivers/common/sfc_efx/ |
| H A D | sfc_efx.c | 68 efsys_bar_t result; in sfc_efx_find_mem_bar() local 71 memset(&result, 0, sizeof(result)); in sfc_efx_find_mem_bar() 78 result.esb_rid = bar_index; in sfc_efx_find_mem_bar() 79 result.esb_dev = dev; in sfc_efx_find_mem_bar() 80 result.esb_base = dev->mem_resource[bar_index].addr; in sfc_efx_find_mem_bar() 82 *barp = result; in sfc_efx_find_mem_bar()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_mp_os.c | 47 res->result = -rte_errno; in mlx5_mp_os_handle_port_agnostic() 96 res->result = 0; in mlx5_mp_os_primary_handle() 101 res->result = mlx5_queue_state_modify_primary in mlx5_mp_os_primary_handle() 107 res->result = mlx5_rx_queue_stop_primary in mlx5_mp_os_primary_handle() 113 res->result = mlx5_rx_queue_start_primary in mlx5_mp_os_primary_handle() 119 res->result = mlx5_tx_queue_stop_primary in mlx5_mp_os_primary_handle() 125 res->result = mlx5_tx_queue_start_primary in mlx5_mp_os_primary_handle() 190 res->result = 0; in mlx5_mp_os_secondary_handle() 199 res->result = 0; in mlx5_mp_os_secondary_handle() 261 if (res->result) { in mp_req_on_rxtx() [all …]
|
| /dpdk/devtools/ |
| H A D | check-doc-vs-code.sh | 15 result=0 19 result=$(($result + 1)) 74 exit $result 84 exit $result
|