Home
last modified time | relevance | path

Searched refs:hw_lvl (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_tm.c300 uint32_t hw_lvl = tm_node->hw_lvl; in prepare_tm_sched_reg() local
320 switch (hw_lvl) { in prepare_tm_sched_reg()
484 uint32_t hw_lvl = tm_node->hw_lvl; in prepare_tm_sw_xoff() local
494 switch (hw_lvl) { in prepare_tm_sw_xoff()
541 hw_lvl = tm_node->hw_lvl; in populate_tm_reg()
572 nix_hwlvl2str(hw_lvl), schq, nix_hwlvl2str(hw_lvl + 1), in populate_tm_reg()
693 uint32_t hw_lvl; in nix_tm_txsch_reg_config() local
696 for (hw_lvl = 0; hw_lvl <= dev->otx2_tm_root_lvl; hw_lvl++) { in nix_tm_txsch_reg_config()
698 if (tm_node->hw_lvl == hw_lvl && in nix_tm_txsch_reg_config()
809 tm_node->hw_lvl = hw_lvl; in nix_tm_node_add_to_list()
[all …]
H A Dotx2_ethdev_debug.c544 switch (hw_lvl) { in prepare_nix_tm_reg_dump()
717 int hw_lvl, j, k, rc; in otx2_nix_tm_dump() local
724 for (hw_lvl = 0; hw_lvl <= NIX_TXSCH_LVL_CNT; hw_lvl++) { in otx2_nix_tm_dump()
726 if (tm_node->hw_lvl != hw_lvl) in otx2_nix_tm_dump()
730 if (hw_lvl == NIX_TXSCH_LVL_CNT) { in otx2_nix_tm_dump()
734 lvlstr = nix_hwlvl2str(tm_node->hw_lvl); in otx2_nix_tm_dump()
741 nix_hwlvl2str(parent->hw_lvl); in otx2_nix_tm_dump()
742 } else if (tm_node->hw_lvl == NIX_TXSCH_LVL_TL1) { in otx2_nix_tm_dump()
748 nix_hwlvl2str(tm_node->hw_lvl + 1); in otx2_nix_tm_dump()
758 if (tm_node->hw_lvl == dev->otx2_tm_root_lvl) in otx2_nix_tm_dump()
[all …]
H A Dotx2_tm.h40 uint16_t hw_lvl; member
156 nix_hwlvl2str(uint32_t hw_lvl) in nix_hwlvl2str() argument
158 switch (hw_lvl) { in nix_hwlvl2str()