Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 12 of 12) sorted by relevance

/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_bitmap.h46 uint32_t alloc_size; in dlb2_bitmap_alloc() local
61 alloc_size = rte_bitmap_get_memory_footprint(nbits); in dlb2_bitmap_alloc()
62 mem = rte_malloc("DLB2_PF_BITMAP", alloc_size, RTE_CACHE_LINE_SIZE); in dlb2_bitmap_alloc()
68 bm->map = rte_bitmap_init(len, mem, alloc_size); in dlb2_bitmap_alloc()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_utils.c398 uint32_t alloc_size; in mlx5_hlist_create() local
414 alloc_size = sizeof(struct mlx5_hlist) + in mlx5_hlist_create()
417 alloc_size += sizeof(struct mlx5_list_cache) * act_size; in mlx5_hlist_create()
419 h = mlx5_malloc(MLX5_MEM_ZERO, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_hlist_create()
/dpdk/drivers/compress/mlx5/
H A Dmlx5_compress.c194 uint32_t alloc_size = sizeof(*qp); in mlx5_compress_qp_setup() local
198 alloc_size = RTE_ALIGN(alloc_size, RTE_CACHE_LINE_SIZE); in mlx5_compress_qp_setup()
199 alloc_size += sizeof(struct rte_comp_op *) * (1u << log_ops_n); in mlx5_compress_qp_setup()
200 qp = rte_zmalloc_socket(__func__, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_compress_qp_setup()
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto.c599 uint32_t alloc_size = sizeof(*qp); in mlx5_crypto_queue_pair_setup() local
607 alloc_size = RTE_ALIGN(alloc_size, RTE_CACHE_LINE_SIZE); in mlx5_crypto_queue_pair_setup()
608 alloc_size += (sizeof(struct rte_crypto_op *) + in mlx5_crypto_queue_pair_setup()
611 qp = rte_zmalloc_socket(__func__, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_crypto_queue_pair_setup()
/dpdk/drivers/net/avp/
H A Drte_avp_common.h328 uint32_t alloc_size; /**< Size of each alloc queue */ member
H A Davp_ethdev.c898 host_info->alloc_phys + (i * host_info->alloc_size)); in avp_dev_create()
/dpdk/drivers/common/cnxk/
H A Droc_npa.c268 int rc, aura_id, pool_id, stack_size, alloc_size; in npa_aura_pool_pair_alloc() local
312 alloc_size = stack_size * lf->stack_pg_bytes; in npa_aura_pool_pair_alloc()
314 mz = npa_stack_dma_alloc(lf, name, pool_id, alloc_size); in npa_aura_pool_pair_alloc()
/dpdk/lib/acl/
H A Dacl_bld.c103 size_t alloc_size = n * s; in acl_build_alloc() local
110 alloc_size && context->blocks[m].mem_ptr != NULL) { in acl_build_alloc()
113 memset(p, 0, alloc_size); in acl_build_alloc()
121 p = tb_alloc(&context->pool, alloc_size); in acl_build_alloc()
/dpdk/lib/eal/include/
H A Drte_common.h162 __attribute__((alloc_size(__VA_ARGS__)))
/dpdk/drivers/event/opdl/
H A Dopdl_ring.c903 size_t alloc_size = RTE_CACHE_LINE_ROUNDUP(sizeof(*t) + in opdl_ring_create() local
936 mz = rte_memzone_reserve(mz_name, alloc_size, socket, mz_flags); in opdl_ring_create()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_mcdi.c3290 size_t alloc_size; in efx_mcdi_get_nic_addr_regions() local
3320 alloc_size = nregions * sizeof(endrip->endri_regions[0]); in efx_mcdi_get_nic_addr_regions()
3321 if (alloc_size / sizeof (endrip->endri_regions[0]) != nregions) { in efx_mcdi_get_nic_addr_regions()
3327 alloc_size, in efx_mcdi_get_nic_addr_regions()
/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c1718 size_t alloc_size = sizeof(*tmpl) + desc_n * sizeof(struct rte_mbuf *); in mlx5_rxq_new() local
1725 alloc_size += desc * sizeof(struct mlx5_mprq_buf *); in mlx5_rxq_new()
1727 tmpl = mlx5_malloc(MLX5_MEM_RTE | MLX5_MEM_ZERO, alloc_size, 0, socket); in mlx5_rxq_new()