Home
last modified time | relevance | path

Searched refs:plt_zmalloc (Results 1 – 23 of 23) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_bphy_irq.c71 irq_chip = plt_zmalloc(sizeof(*irq_chip), 0); in roc_bphy_intr_init()
81 plt_zmalloc(irq_chip->max_irq * sizeof(*irq_chip->irq_vecs), 0); in roc_bphy_intr_init()
87 irq_chip->mz_name = plt_zmalloc(strlen(ROC_BPHY_MEMZONE_NAME) + 1, 0); in roc_bphy_intr_init()
177 curr_stack = plt_zmalloc(sizeof(struct roc_bphy_irq_stack), 0); in roc_bphy_irq_stack_get()
182 plt_zmalloc(IRQ_ISR_STACK_SIZE * 2, ARM_STACK_ALIGNMENT); in roc_bphy_irq_stack_get()
H A Droc_nix_inl_dev.c404 inl_dev->inb_sa_base = plt_zmalloc(inb_sa_sz * max_sa, in nix_inl_nix_setup()
427 rqs = plt_zmalloc(sizeof(struct roc_nix_rq) * PLT_MAX_ETHPORTS, 0); in nix_inl_nix_setup()
761 mem = plt_zmalloc(bmap_sz, PLT_CACHE_LINE_SIZE); in nix_inl_outb_poll_thread_setup()
778 inl_dev->sa_soft_exp_ring = plt_zmalloc( in nix_inl_outb_poll_thread_setup()
H A Droc_sso.c448 xaq->fc = plt_zmalloc(ROC_ALIGN, ROC_ALIGN); in sso_hwgrp_init_xaq_aura()
461 xaq->mem = plt_zmalloc(xaq_buf_size * xaq->nb_xaq, xaq_buf_size); in sso_hwgrp_init_xaq_aura()
788 plt_zmalloc(sizeof(struct plt_bitmap *) * roc_sso->max_hws, 0); in roc_sso_dev_init()
795 sso->link_map_mem = plt_zmalloc(link_map_sz * roc_sso->max_hws, 0); in roc_sso_dev_init()
H A Droc_npc.c181 mem = plt_zmalloc(4 * bmap_sz * npc->flow_max_priority, 0); in roc_npc_init()
189 npc->flow_list = plt_zmalloc(sz, 0); in roc_npc_init()
197 npc->prio_flow_list = plt_zmalloc(sz, 0); in roc_npc_init()
213 nix_mem = plt_zmalloc(bmap_sz, 0); in roc_npc_init()
1224 flow = plt_zmalloc(sizeof(*flow), 0); in roc_npc_flow_create()
H A Droc_nix_inl.c44 nix->inb_sa_base = plt_zmalloc(inb_sa_sz * max_sa, in nix_inl_inb_sa_tbl_setup()
397 lf_base = plt_zmalloc(nb_lf * sizeof(struct roc_cpt_lf), 0); in roc_nix_inl_outb_init()
443 sa_base = plt_zmalloc(sa_sz * roc_nix->ipsec_out_max_sa, in roc_nix_inl_outb_init()
481 PLT_U64_CAST(plt_zmalloc(ring_sz, 0)); in roc_nix_inl_outb_init()
H A Dcnxk_telemetry_nix.c53 node = plt_zmalloc(sizeof(struct nix_tel_node), 0); in nix_tel_node_add()
59 plt_zmalloc(nix->nb_rx_queues * sizeof(struct roc_nix_rq *), 0); in nix_tel_node_add()
61 plt_zmalloc(nix->nb_rx_queues * sizeof(struct roc_nix_cq *), 0); in nix_tel_node_add()
63 plt_zmalloc(nix->nb_tx_queues * sizeof(struct roc_nix_sq *), 0); in nix_tel_node_add()
H A Droc_nix_irq.c344 plt_zmalloc(nix->configured_qints * sizeof(struct nix_qint), 0); in roc_nix_register_queue_irqs()
421 plt_zmalloc(nix->configured_cints * sizeof(struct nix_qint), 0); in roc_nix_register_cq_irqs()
H A Droc_npa.c658 lf->npa_bmp_mem = plt_zmalloc(bmp_sz, ROC_ALIGN); in npa_dev_init()
676 lf->npa_qint_mem = plt_zmalloc(sizeof(struct npa_qint) * nr_pools, 0); in npa_dev_init()
683 lf->aura_lim = plt_zmalloc(sizeof(struct npa_aura_lim) * nr_pools, 0); in npa_dev_init()
H A Droc_cpt.c575 iq_mem = plt_zmalloc(cpt_lf_iq_mem_calc(lf->nb_desc), ROC_ALIGN); in cpt_lf_init()
930 hw_res = plt_zmalloc(sizeof(*hw_res), ROC_CPT_RES_ALIGN); in roc_cpt_ctx_write()
936 dptr = plt_zmalloc(sa_len, 8); in roc_cpt_ctx_write()
H A Droc_platform.h160 #define plt_zmalloc(sz, align) rte_zmalloc("cnxk", sz, align) macro
H A Droc_nix_queue.c487 cq->desc_base = plt_zmalloc(desc_sz, NIX_CQ_ALIGN); in roc_nix_cq_init()
672 sq->sqe_mem = plt_zmalloc(blk_sz * NIX_MAX_SQB, blk_sz); in sqb_pool_populate()
964 sq->fc = plt_zmalloc(ROC_ALIGN, ROC_ALIGN); in roc_nix_sq_init()
H A Droc_nix_inl_dev_irq.c337 qints_mem = plt_zmalloc(sizeof(struct nix_inl_qint) * qints, 0); in nix_inl_nix_register_irqs()
H A Droc_mbox.c133 mbox->dev = plt_zmalloc(ndevs * sizeof(struct mbox_dev), ROC_ALIGN); in mbox_init()
H A Droc_se.c344 se_ctx->auth_key = plt_zmalloc(key_len, 8); in roc_se_auth_key_set()
H A Droc_nix.c199 nix->sqs = plt_zmalloc(sizeof(struct roc_nix_sq *) * nb_txq, 0); in roc_nix_lf_alloc()
H A Droc_nix_tm_utils.c1079 node = plt_zmalloc(sizeof(struct nix_tm_node), 0); in nix_tm_node_alloc()
1101 profile = plt_zmalloc(sizeof(struct nix_tm_shaper_profile), 0); in nix_tm_shaper_profile_alloc()
H A Droc_npc_utils.c667 new_entry = plt_zmalloc(sizeof(*new_entry), 0); in npc_get_free_mcam_entry()
H A Droc_npc_mcam.c201 mem = plt_zmalloc(bmap_sz, 0); in npc_is_kex_enabled()
H A Droc_dev.c1172 dev->ops = plt_zmalloc(sizeof(struct dev_ops), 0); in dev_init()
H A Droc_nix_tm.c1680 bmp_mem = plt_zmalloc(bmp_sz * NIX_TXSCH_LVL_CNT * 2, 0); in nix_tm_conf_init()
/dpdk/drivers/crypto/cnxk/
H A Dcn10k_ipsec.c55 sa_dptr = plt_zmalloc(sizeof(struct roc_ot_ipsec_outb_sa), 8); in cn10k_ipsec_outb_sa_create()
181 sa_dptr = plt_zmalloc(sizeof(struct roc_ot_ipsec_inb_sa), 8); in cn10k_ipsec_inb_sa_create()
357 sa_dptr = plt_zmalloc(sizeof(struct roc_ot_ipsec_outb_sa), 8); in cn10k_sec_session_destroy()
366 sa_dptr = plt_zmalloc(sizeof(struct roc_ot_ipsec_inb_sa), 8); in cn10k_sec_session_destroy()
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev.c88 plt_zmalloc(ROC_NIX_INL_OT_IPSEC_INB_HW_SZ, 0); in nix_security_setup()
124 plt_zmalloc(ROC_NIX_INL_OT_IPSEC_OUTB_HW_SZ, 0); in nix_security_setup()
134 mem = plt_zmalloc(bmap_sz, PLT_CACHE_LINE_SIZE); in nix_security_setup()
159 dev->outb.fc_sw_mem = plt_zmalloc(dev->outb.nb_crypto_qs * in nix_security_setup()
451 txq_sp = plt_zmalloc(txq_sz, PLT_CACHE_LINE_SIZE); in cnxk_nix_tx_queue_setup()
593 rxq_sp = plt_zmalloc(rxq_sz, PLT_CACHE_LINE_SIZE); in cnxk_nix_rx_queue_setup()
1143 qs = plt_zmalloc(sizeof(struct roc_nix_rq) * nb_rxq, 0); in cnxk_nix_configure()
1150 qs = plt_zmalloc(sizeof(struct roc_nix_cq) * nb_rxq, 0); in cnxk_nix_configure()
1160 qs = plt_zmalloc(sizeof(struct roc_nix_sq) * nb_txq, 0); in cnxk_nix_configure()
1639 sec_ctx = plt_zmalloc(sizeof(struct rte_security_ctx), 0); in cnxk_eth_dev_init()
H A Dcnxk_ethdev_mtr.c244 fmp = plt_zmalloc(sizeof(struct cnxk_mtr_profile_node), ROC_ALIGN); in cnxk_nix_mtr_profile_add()
418 fmp = plt_zmalloc(sizeof(struct cnxk_mtr_policy_node), ROC_ALIGN); in cnxk_nix_mtr_policy_add()
504 mtr = plt_zmalloc(sizeof(struct cnxk_meter_node), ROC_ALIGN); in cnxk_nix_mtr_create()
526 plt_zmalloc(ROC_NIX_BPF_PRE_COLOR_MAX, ROC_ALIGN); in cnxk_nix_mtr_create()
942 mtr->rq_id = plt_zmalloc(queue_num * sizeof(uint32_t), ROC_ALIGN); in nix_mtr_rq_update()