Home
last modified time | relevance | path

Searched refs:rte_malloc (Results 1 – 25 of 144) sorted by relevance

123456

/dpdk/app/test-crypto-perf/
H A Dcperf_test_vectors.c648 t_vec = (struct cperf_test_vector *)rte_malloc(NULL, in cperf_test_vector_get_dummy()
683 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
704 t_vec->digest.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
741 t_vec->cipher_iv.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
768 t_vec->digest.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
786 t_vec->auth_iv.data = rte_malloc(NULL, options->auth_iv_sz, in cperf_test_vector_get_dummy()
804 t_vec->aad.data = rte_malloc(NULL, in cperf_test_vector_get_dummy()
822 t_vec->digest.data = rte_malloc(NULL, options->digest_sz, in cperf_test_vector_get_dummy()
837 t_vec->aead_iv.data = rte_malloc(NULL, options->aead_iv_sz, in cperf_test_vector_get_dummy()
H A Dcperf_test_pmd_cyclecount.c105 ctx = rte_malloc(NULL, sizeof(struct cperf_pmd_cyclecount_ctx), 0); in cperf_pmd_cyclecount_test_constructor()
130 ctx->ops = rte_malloc("ops", alloc_sz, 0); in cperf_pmd_cyclecount_test_constructor()
134 ctx->ops_processed = rte_malloc("ops_processed", alloc_sz, 0); in cperf_pmd_cyclecount_test_constructor()
/dpdk/app/test/
H A Dtest_malloc.c95 p2 = rte_malloc("dummy", 1000, align2); in test_align_overlap_per_lcore()
102 p3 = rte_malloc("dummy", 1000, align3); in test_align_overlap_per_lcore()
169 p3 = rte_malloc("dummy", 1000, align3); in test_reordered_free_per_lcore()
704 struct mem_list *entry = rte_malloc(NULL, in test_random_alloc_free()
744 char *data_ptr = rte_malloc(NULL, request_size, RTE_CACHE_LINE_SIZE); in test_rte_malloc_validate()
816 char *p1 = rte_malloc(NULL,1024, 0); in test_zero_aligned_alloc()
838 char *bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
851 bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
867 bad_ptr = rte_malloc(type, size, align); in test_malloc_bad_params()
H A Dtest_memcpy_perf.c77 large_buf_read = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
81 large_buf_write = rte_malloc("memcpy", LARGE_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
85 small_buf_read = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
89 small_buf_write = rte_malloc("memcpy", SMALL_BUFFER_SIZE + ALIGNMENT_UNIT, ALIGNMENT_UNIT); in init_buffers()
H A Dtest_compressdev.c260 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in testsuite_setup()
267 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in testsuite_setup()
469 single_src_buf = rte_malloc(NULL, in compress_zlib()
496 single_dst_buf = rte_malloc(NULL, in compress_zlib()
606 single_src_buf = rte_malloc(NULL, in decompress_zlib()
612 single_dst_buf = rte_malloc(NULL, in decompress_zlib()
890 *all_decomp_data = rte_malloc(NULL, data_size, in test_setup_com_bufs()
2182 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in test_compressdev_deflate_stateless_fixed()
2246 rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); in test_compressdev_deflate_stateless_dynamic()
2436 compress_xforms[i] = rte_malloc(NULL, in test_compressdev_deflate_stateless_multi_xform()
[all …]
H A Dtest_malloc_perf.c40 ptr = rte_malloc(NULL, GB, 0); in test_memset_perf()
160 if (test_alloc_perf("rte_malloc", rte_malloc, rte_free, memset, in test_malloc_perf()
H A Dtest_hash_readwrite_lf_perf.c277 keys = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
288 keys_no_ks = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
300 keys_ks = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
317 keys_absent = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
329 tbl_rwc_test_param.keys_shift_path = rte_malloc(NULL, sizeof(uint32_t) * in generate_keys()
342 keys_non_shift_path = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, in generate_keys()
352 keys_ext_bkt = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
362 keys_ks_extbkt = rte_malloc(NULL, sizeof(uint32_t) * TOTAL_INSERT, 0); in generate_keys()
380 scanned_bkts = rte_malloc(NULL, sizeof(uint8_t) * num_buckets, 0); in generate_keys()
H A Dtest_reorder.c81 b = rte_malloc(NULL, size, 0); in test_reorder_init()
88 b = rte_malloc(NULL, size, 0); in test_reorder_init()
/dpdk/app/test-regex/
H A Dmain.c192 *buf = rte_malloc(NULL, sizeof(char) * (buf_len + 1), 4096); in read_file()
222 rte_malloc(NULL, sizeof(char) * (data_len + 1), 4096); in clone_buf()
423 qps = rte_malloc(NULL, sizeof(*qps) * nb_qps, 0); in run_regex()
438 qp->ops = ops = rte_malloc(NULL, sizeof(*ops) * nb_jobs, 0); in run_regex()
446 rte_malloc(NULL, sizeof(*jobs_ctx) * nb_jobs, 0); in run_regex()
473 ops[i] = rte_malloc(NULL, sizeof(*ops[0]) + in run_regex()
654 rte_malloc(NULL, sizeof(*qps_per_lcore) * nb_cores, 0); in distribute_qps_to_lcores()
749 rgxc = rte_malloc(NULL, sizeof(*rgxc) * nb_lcores, 0); in main()
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c468 request = rte_malloc("iavf-sad-add-request", request_len, 0); in iavf_ipsec_crypto_security_association_add()
476 response = rte_malloc("iavf-sad-add-response", response_len, 0); in iavf_ipsec_crypto_security_association_add()
749 request = rte_malloc("iavf-inbound-security-policy-add-request", in iavf_ipsec_crypto_inbound_security_policy_add()
829 request = rte_malloc("iavf-sa-update-request", request_len, 0); in iavf_ipsec_crypto_sa_update_esn()
924 request = rte_malloc("iavf-sp-del-request", request_len, 0); in iavf_ipsec_crypto_security_policy_delete()
932 response = rte_malloc("iavf-sp-del-response", response_len, 0); in iavf_ipsec_crypto_security_policy_delete()
981 request = rte_malloc("iavf-sa-del-request", request_len, 0); in iavf_ipsec_crypto_sa_del()
990 response = rte_malloc("iavf-sa-del-response", response_len, 0); in iavf_ipsec_crypto_sa_del()
1193 response = rte_malloc("iavf-device-capability-response", in iavf_ipsec_crypto_device_capabilities_get()
1501 adapter->security_ctx = rte_malloc("iavf_security_ctx", in iavf_security_ctx_create()
[all …]
/dpdk/drivers/mempool/dpaa2/
H A Ddpaa2_hw_mempool.c52 rte_dpaa2_bpid_info = (struct dpaa2_bp_info *)rte_malloc(NULL, in rte_hw_mbuf_create_pool()
91 bp_info = rte_malloc(NULL, in rte_hw_mbuf_create_pool()
101 bp_list = rte_malloc(NULL, sizeof(struct dpaa2_bp_list), in rte_hw_mbuf_create_pool()
272 rte_dpaa2_bpid_info = (struct dpaa2_bp_info *)rte_malloc(NULL, in rte_dpaa2_bpid_info_init()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_sparser.c166 addr = rte_malloc(NULL, sp_param.size, 64); in dpaa2_eth_load_wriop_soft_parser()
215 param_addr = rte_malloc(NULL, cfg.param_size, 64); in dpaa2_eth_enable_wriop_soft_parser()
/dpdk/drivers/bus/fslmc/portal/
H A Ddpaa2_hw_dpci.c46 dpci_node = rte_malloc(NULL, sizeof(struct dpaa2_dpci_dev), 0); in rte_dpaa2_create_dpci_device()
85 rxq->q_storage = rte_malloc("dq_storage", in rte_dpaa2_create_dpci_device()
H A Ddpaa2_hw_dpbp.c46 dpbp_node = rte_malloc(NULL, sizeof(struct dpaa2_dpbp_dev), 0); in dpaa2_create_dpbp_device()
/dpdk/drivers/crypto/qat/
H A Dqat_asym.c963 rte_malloc(NULL, xform->modex.modulus.length, 0); in session_set_modexp()
967 qat_session->xform.modex.exponent.data = rte_malloc(NULL, in session_set_modexp()
990 rte_malloc(NULL, xform->modinv.modulus.length, 0); in session_set_modinv()
1012 rte_malloc(NULL, xform->rsa.n.length, 0); in session_set_rsa()
1019 rte_malloc(NULL, xform->rsa.e.length, 0); in session_set_rsa()
1035 rte_malloc(NULL, xform->rsa.qt.p.length, 0); in session_set_rsa()
1044 rte_malloc(NULL, xform->rsa.qt.q.length, 0); in session_set_rsa()
1053 rte_malloc(NULL, xform->rsa.qt.dP.length, 0); in session_set_rsa()
1062 rte_malloc(NULL, xform->rsa.qt.dQ.length, 0); in session_set_rsa()
1071 rte_malloc(NULL, xform->rsa.qt.qInv.length, 0); in session_set_rsa()
[all …]
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_cryptodev_sec.c29 ctx = rte_malloc("cnxk_cpt_dev_sec_ctx", in cnxk_crypto_sec_ctx_create()
/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_bitmap.h53 bm = rte_malloc("DLB2_PF", in dlb2_bitmap_alloc()
62 mem = rte_malloc("DLB2_PF_BITMAP", alloc_size, RTE_CACHE_LINE_SIZE); in dlb2_bitmap_alloc()
/dpdk/drivers/regex/cn9k/
H A Dcn9k_regexdev_compiler.c63 ruleset.rules = rte_malloc("rxp_rule_entry", in ree_rule_db_compile()
156 rule_db = rte_malloc("ree_rule_db", rule_db_len, 0); in cn9k_ree_rule_db_compile_prog()
/dpdk/drivers/net/pcap/
H A Dpcap_osdep_freebsd.c44 buf = rte_malloc(NULL, len, 0); in osdep_iface_mac_get()
/dpdk/drivers/net/ark/
H A Dark_pktdir.c17 rte_malloc("ark_pkt_dir_inst", in ark_pktdir_init()
/dpdk/examples/qos_sched/
H A Dmain.c108 wt_confs[i]->m_table = rte_malloc("table_wt", sizeof(struct rte_mbuf *) in app_main_loop()
123 tx_confs[i]->m_table = rte_malloc("table_tx", sizeof(struct rte_mbuf *) in app_main_loop()
/dpdk/lib/eal/common/
H A Dmeson.build35 'rte_malloc.c',
/dpdk/drivers/event/dpaa2/
H A Ddpaa2_hw_dpcon.c43 dpcon_node = rte_malloc(NULL, sizeof(struct dpaa2_dpcon_dev), 0); in rte_dpaa2_create_dpcon_device()
/dpdk/drivers/common/cpt/
H A Dcpt_fpm_tables.c1102 fpm_table = rte_malloc(NULL, len, 0); in cpt_fpm_init()
/dpdk/lib/eal/include/
H A Drte_malloc.h57 rte_malloc(const char *type, size_t size, unsigned align)

123456