Searched refs:hw_lvl (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_tm.c | 43 uint32_t hw_lvl; in nix_tm_node_reg_conf() local 50 hw_lvl = node->hw_lvl; in nix_tm_node_reg_conf() 104 uint32_t hw_lvl; in nix_tm_txsch_reg_config() local 112 for (hw_lvl = 0; hw_lvl <= nix->tm_root_lvl; hw_lvl++) { in nix_tm_txsch_reg_config() 114 if (node->hw_lvl != hw_lvl) in nix_tm_txsch_reg_config() 917 hw_lvl = node->hw_lvl; in nix_tm_free_node_resource() 1106 for (hw_lvl = NIX_TXSCH_LVL_TL1; hw_lvl > 0; hw_lvl--) { in nix_tm_assign_resources() 1109 if (parent->hw_lvl != hw_lvl) in nix_tm_assign_resources() 1250 for (hw_lvl = 0; hw_lvl < NIX_TXSCH_LVL_CNT; hw_lvl++) { in nix_tm_alloc_txschq() 1687 for (hw_lvl = 0; hw_lvl < NIX_TXSCH_LVL_CNT; hw_lvl++) { in nix_tm_conf_init() [all …]
|
| H A D | roc_nix_tm_utils.c | 523 hw_lvl = node->hw_lvl; in nix_tm_topology_reg_prep() 553 switch (hw_lvl) { in nix_tm_topology_reg_prep() 652 uint32_t hw_lvl = node->hw_lvl; in nix_tm_sched_reg_prep() local 672 switch (hw_lvl) { in nix_tm_sched_reg_prep() 839 uint32_t hw_lvl = node->hw_lvl; in nix_tm_sw_xoff_prep() local 849 switch (hw_lvl) { in nix_tm_sw_xoff_prep() 902 bmp = contig ? nix->schq_contig_bmp[hw_lvl] : nix->schq_bmp[hw_lvl]; in nix_tm_resource_avail() 930 for (hw_lvl = NIX_TXSCH_LVL_TL1; hw_lvl > 0; hw_lvl--) { in nix_tm_resource_estimate() 932 if (hw_lvl != parent->hw_lvl) in nix_tm_resource_estimate() 962 for (hw_lvl = 0; hw_lvl < NIX_TXSCH_LVL_CNT; hw_lvl++) { in nix_tm_resource_estimate() [all …]
|
| H A D | roc_nix_tm_ops.c | 691 req->lvl = node->hw_lvl; in roc_nix_tm_node_suspend_resume() 708 uint8_t hw_lvl; in roc_nix_tm_prealloc_res() local 720 req->schq_contig[hw_lvl] = contig - nix->contig_rsvd[hw_lvl]; in roc_nix_tm_prealloc_res() 734 req->schq[hw_lvl] = discontig - nix->discontig_rsvd[hw_lvl]; in roc_nix_tm_prealloc_res() 805 req->lvl = node->hw_lvl; in roc_nix_tm_node_shaper_update() 815 req->lvl = node->hw_lvl; in roc_nix_tm_node_shaper_update() 1039 uint8_t hw_lvl; in roc_nix_tm_fini() local 1059 for (hw_lvl = 0; hw_lvl < NIX_TXSCH_LVL_CNT; hw_lvl++) { in roc_nix_tm_fini() 1078 uint8_t hw_lvl; in roc_nix_tm_rsrc_count() local 1102 uint8_t hw_lvl, i; in roc_nix_tm_rsrc_max() local [all …]
|
| H A D | roc_nix_debug.c | 870 switch (hw_lvl) { in nix_tm_reg_dump_prep() 1047 if (node->hw_lvl != hw_lvl) in nix_tm_dump_lvl() 1052 if (hw_lvl == NIX_TXSCH_LVL_CNT) { in nix_tm_dump_lvl() 1079 if (node->hw_lvl == nix->tm_root_lvl) in nix_tm_dump_lvl() 1090 req->lvl = node->hw_lvl; in nix_tm_dump_lvl() 1135 uint8_t hw_lvl, i; in roc_nix_tm_dump() local 1144 for (hw_lvl = 0; hw_lvl <= NIX_TXSCH_LVL_CNT; hw_lvl++) in roc_nix_tm_dump() 1150 hw_lvl = NIX_TXSCH_LVL_SMQ; in roc_nix_tm_dump() 1151 for (; hw_lvl < NIX_TXSCH_LVL_CNT; hw_lvl++) { in roc_nix_tm_dump() 1153 nix_tm_hwlvl2str(hw_lvl), in roc_nix_tm_dump() [all …]
|
| H A D | roc_nix_tm_mark.c | 49 nix_tm_hwlvl2str(tm_node->hw_lvl), schq, tm_node->lvl, in prepare_tm_shaper_red_algo() 56 switch (tm_node->hw_lvl) { in prepare_tm_shaper_red_algo() 97 if (tm_node->hw_lvl == NIX_TXSCH_LVL_TL1) in nix_tm_update_red_algo() 116 req->lvl = tm_node->hw_lvl; in nix_tm_update_red_algo()
|
| H A D | roc_nix_priv.h | 80 uint16_t hw_lvl; member 333 nix_tm_hwlvl2str(uint32_t hw_lvl) in nix_tm_hwlvl2str() argument 335 switch (hw_lvl) { in nix_tm_hwlvl2str() 387 int nix_tm_release_resources(struct nix *nix, uint8_t hw_lvl, bool contig, 413 uint16_t nix_tm_resource_avail(struct nix *nix, uint8_t hw_lvl, bool contig);
|