| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_tm.c | 524 if (params->leaf.cman) { in ixgbe_node_param_check() 529 if (params->leaf.wred.wred_profile_id != in ixgbe_node_param_check() 536 if (params->leaf.wred.shared_wred_context_id) { in ixgbe_node_param_check() 907 cap->leaf.shaper_private_supported = true; in ixgbe_level_capabilities_get() 909 cap->leaf.shaper_private_rate_min = 0; in ixgbe_level_capabilities_get() 914 cap->leaf.shaper_shared_n_max = 0; in ixgbe_level_capabilities_get() 917 cap->leaf.cman_head_drop_supported = false; in ixgbe_level_capabilities_get() 919 cap->leaf.cman_wred_context_shared_n_max = 0; in ixgbe_level_capabilities_get() 920 cap->leaf.stats_mask = 0; in ixgbe_level_capabilities_get() 964 cap->leaf.cman_head_drop_supported = false; in ixgbe_node_capabilities_get() [all …]
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_tm.c | 416 if (params->leaf.cman) { in i40e_node_param_check() 421 if (params->leaf.wred.wred_profile_id != in i40e_node_param_check() 428 if (params->leaf.wred.shared_wred_context_id) { in i40e_node_param_check() 434 if (params->leaf.wred.n_shared_wred_contexts) { in i40e_node_param_check() 786 cap->leaf.shaper_private_supported = true; in i40e_level_capabilities_get() 788 cap->leaf.shaper_private_rate_min = 0; in i40e_level_capabilities_get() 793 cap->leaf.shaper_shared_n_max = 0; in i40e_level_capabilities_get() 796 cap->leaf.cman_head_drop_supported = false; in i40e_level_capabilities_get() 798 cap->leaf.cman_wred_context_shared_n_max = 0; in i40e_level_capabilities_get() 799 cap->leaf.stats_mask = 0; in i40e_level_capabilities_get() [all …]
|
| /dpdk/lib/eal/x86/ |
| H A D | rte_cpuflags.c | 18 uint32_t leaf; /**< cpuid leaf */ member 26 #define FEAT_DEF(name, leaf, subleaf, reg, bit) \ argument 27 [RTE_CPUFLAG_##name] = {leaf, subleaf, reg, bit, #name }, 159 if (!feat->leaf) in rte_cpu_get_flag_enabled() 163 maxleaf = __get_cpuid_max(feat->leaf & 0x80000000, NULL); in rte_cpu_get_flag_enabled() 165 if (maxleaf < feat->leaf) in rte_cpu_get_flag_enabled() 168 __cpuid_count(feat->leaf, feat->subleaf, in rte_cpu_get_flag_enabled()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_tm.c | 513 if (params->leaf.cman) { in txgbe_node_param_check() 518 if (params->leaf.wred.wred_profile_id != in txgbe_node_param_check() 525 if (params->leaf.wred.shared_wred_context_id) { in txgbe_node_param_check() 888 cap->leaf.shaper_private_supported = true; in txgbe_level_capabilities_get() 890 cap->leaf.shaper_private_rate_min = 0; in txgbe_level_capabilities_get() 893 cap->leaf.shaper_shared_n_max = 0; in txgbe_level_capabilities_get() 894 cap->leaf.cman_head_drop_supported = false; in txgbe_level_capabilities_get() 896 cap->leaf.cman_wred_context_shared_n_max = 0; in txgbe_level_capabilities_get() 897 cap->leaf.stats_mask = 0; in txgbe_level_capabilities_get() 937 cap->leaf.cman_head_drop_supported = false; in txgbe_node_capabilities_get() [all …]
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_tm.c | 193 if (params->leaf.cman) { in iavf_node_param_check() 198 if (params->leaf.wred.wred_profile_id != in iavf_node_param_check() 205 if (params->leaf.wred.shared_wred_context_id) { in iavf_node_param_check() 211 if (params->leaf.wred.n_shared_wred_contexts) { in iavf_node_param_check() 719 cap->leaf.shaper_private_supported = false; in iavf_level_capabilities_get() 721 cap->leaf.shaper_private_rate_min = 0; in iavf_level_capabilities_get() 723 cap->leaf.shaper_private_rate_max = in iavf_level_capabilities_get() 727 cap->leaf.shaper_shared_n_max = 0; in iavf_level_capabilities_get() 730 cap->leaf.cman_head_drop_supported = false; in iavf_level_capabilities_get() 732 cap->leaf.cman_wred_context_shared_n_max = 0; in iavf_level_capabilities_get() [all …]
|
| /dpdk/app/proc-info/ |
| H A D | main.c | 915 cap->leaf.cman_wred_packet_mode_supported, in display_nodecap_info() 916 cap->leaf.cman_wred_byte_mode_supported, in display_nodecap_info() 917 cap->leaf.cman_head_drop_supported, in display_nodecap_info() 919 cap->leaf.cman_wred_context_shared_n_max); in display_nodecap_info() 948 cap->leaf.shaper_private_supported, in display_levelcap_info() 951 cap->leaf.shaper_shared_n_max); in display_levelcap_info() 958 cap->leaf.cman_wred_packet_mode_supported, in display_levelcap_info() 959 cap->leaf.cman_wred_byte_mode_supported, in display_levelcap_info() 960 cap->leaf.cman_head_drop_supported, in display_levelcap_info() 1152 stats.leaf.n_pkts_queued, in show_tm() [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | traffic_management.rst | 23 * Congestion management for hierarchy leaf nodes: algorithms of tail drop, head 48 such as maximum number of nodes at the level, maximum number of leaf/non-leaf 50 the level if node is non-leaf type etc., are exposed as a result of 108 They are made available for every leaf node in the hierarchy, subject to 122 Each hierarchy leaf node with WRED enabled as its congestion management mode 124 one or several shared WRED contexts (multiple leaf nodes use the same WRED 126 a single leaf node, while a shared WRED context is used to perform congestion 127 management for a group of leaf nodes. 164 The TM hierarchical tree consists of leaf nodes and non-leaf nodes. Each leaf 167 number of scheduling queues of the current Ethernet port. The non-leaf nodes [all …]
|
| H A D | qos_framework.rst | 67 …| | | traffic class and queue) with thousands (typically 64K) leaf nodes … 1378 This corresponds to the time required by every leaf node in a hierarchy with 64K leaf nodes
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_tm.c | 391 if (params->leaf.wred.shared_wred_context_id) { in hns3_tm_leaf_node_param_check() 398 if (params->leaf.wred.n_shared_wred_contexts) { in hns3_tm_leaf_node_param_check() 792 cap->leaf.shaper_private_supported = false; in hns3_tm_leaf_level_capabilities_get() 794 cap->leaf.shaper_private_rate_min = 0; in hns3_tm_leaf_level_capabilities_get() 795 cap->leaf.shaper_private_rate_max = 0; in hns3_tm_leaf_level_capabilities_get() 796 cap->leaf.shaper_shared_n_max = 0; in hns3_tm_leaf_level_capabilities_get() 797 cap->leaf.cman_head_drop_supported = false; in hns3_tm_leaf_level_capabilities_get() 799 cap->leaf.cman_wred_context_shared_n_max = 0; in hns3_tm_leaf_level_capabilities_get() 800 cap->leaf.stats_mask = 0; in hns3_tm_leaf_level_capabilities_get() 865 cap->leaf.cman_head_drop_supported = false; in hns3_tm_leaf_node_capabilities_get() [all …]
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_tm.c | 451 lcap.leaf.shaper_private_supported); in cmd_show_port_tm_level_cap_parsed() 455 lcap.leaf.shaper_private_rate_min); in cmd_show_port_tm_level_cap_parsed() 457 lcap.leaf.shaper_private_rate_max); in cmd_show_port_tm_level_cap_parsed() 463 lcap.leaf.shaper_shared_n_max); in cmd_show_port_tm_level_cap_parsed() 469 lcap.leaf.cman_head_drop_supported); in cmd_show_port_tm_level_cap_parsed() 475 lcap.leaf.stats_mask); in cmd_show_port_tm_level_cap_parsed() 593 ncap.leaf.cman_head_drop_supported); in cmd_show_port_tm_node_cap_parsed() 714 stats.leaf.n_pkts_queued); in cmd_show_port_tm_node_stats_parsed() 717 stats.leaf.n_bytes_queued); in cmd_show_port_tm_node_stats_parsed() 1905 cmdline_fixed_string_t leaf; member [all …]
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_tm.c | 578 cap->leaf.shaper_private_supported = 0; in ipn3ke_tm_level_capabilities_get() 580 cap->leaf.shaper_private_rate_min = 0; in ipn3ke_tm_level_capabilities_get() 581 cap->leaf.shaper_private_rate_max = 0; in ipn3ke_tm_level_capabilities_get() 584 cap->leaf.shaper_shared_n_max = 0; in ipn3ke_tm_level_capabilities_get() 588 cap->leaf.cman_head_drop_supported = 0; in ipn3ke_tm_level_capabilities_get() 590 cap->leaf.cman_wred_byte_mode_supported = 0; in ipn3ke_tm_level_capabilities_get() 594 cap->leaf.stats_mask = STATS_MASK_QUEUE; in ipn3ke_tm_level_capabilities_get() 709 cap->leaf.cman_head_drop_supported = 0; in ipn3ke_tm_node_capabilities_get() 711 cap->leaf.cman_wred_byte_mode_supported = 0; in ipn3ke_tm_node_capabilities_get() 1307 params->leaf.cman == RTE_TM_CMAN_TAIL_DROP) in ipn3ke_tm_node_add() [all …]
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_tm.c | 284 cap->leaf.shaper_private_supported = 1; in mrvl_level_capabilities_get() 285 cap->leaf.shaper_private_rate_min = MRVL_RATE_MIN; in mrvl_level_capabilities_get() 286 cap->leaf.shaper_private_rate_max = priv->rate_max; in mrvl_level_capabilities_get() 287 cap->leaf.shaper_private_packet_mode_supported = 0; in mrvl_level_capabilities_get() 288 cap->leaf.shaper_private_byte_mode_supported = 1; in mrvl_level_capabilities_get() 289 cap->leaf.stats_mask = RTE_TM_STATS_N_PKTS; in mrvl_level_capabilities_get() 559 if (params->leaf.cman) in mrvl_node_check_params() 565 if (params->leaf.wred.wred_profile_id) in mrvl_node_check_params() 570 if (params->leaf.wred.shared_wred_context_id) in mrvl_node_check_params() 575 if (params->leaf.wred.n_shared_wred_contexts) in mrvl_node_check_params()
|
| /dpdk/doc/guides/nics/ |
| H A D | mvpp2.rst | 637 Node which has a parent is called a leaf whereas node without 638 parent is called a non-leaf (root). 650 then some number of leaf nodes. Number of leaf nodes cannot exceed number 701 4. Add non-leaf node for port 0: 720 5. Add leaf node for tx queue 0: 724 testpmd> add port tm leaf node 0 0 3 0 30 1 -1 0 0 1 0 733 1 - Id of a level. Since this is a leaf node 1 is passed. 740 6. Add leaf node for tx queue 1: 744 testpmd> add port tm leaf node 0 1 3 0 60 1 -1 0 0 1 0 760 7. Add leaf node for tx queue 2: [all …]
|
| H A D | dpaa2.rst | 570 Node which has a parent is called a leaf whereas node without 571 parent is called a non-leaf (root). 579 then some number of leaf nodes. Number of leaf nodes cannot exceed number 625 add port tm leaf node 0 0 8 0 1 1 -1 0 0 0 0 626 add port tm leaf node 0 1 8 1 1 1 -1 0 0 0 0 627 add port tm leaf node 0 2 8 2 1 1 -1 0 0 0 0 628 add port tm leaf node 0 3 8 3 1 1 -1 0 0 0 0 639 add port tm leaf node 0 0 8 0 200 1 -1 0 0 0 0 640 add port tm leaf node 0 1 8 0 300 1 -1 0 0 0 0 641 add port tm leaf node 0 2 8 0 400 1 -1 0 0 0 0 [all …]
|
| /dpdk/lib/ethdev/ |
| H A D | rte_tm.h | 161 } leaf; member 793 } leaf; member 935 } leaf; member 1158 } leaf; member
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_tm.c | 677 {.leaf = { 878 {.leaf = { 1765 if (params->leaf.cman == RTE_TM_CMAN_HEAD_DROP) in node_add_check_queue() 1773 if (params->leaf.cman == RTE_TM_CMAN_WRED) { in node_add_check_queue() 2007 params->leaf.cman == RTE_TM_CMAN_WRED) in pmd_tm_node_add() 2009 params->leaf.wred.wred_profile_id); in pmd_tm_node_add() 3322 ns->stats.leaf.n_pkts_dropped[RTE_COLOR_GREEN] += in read_subport_stats() 3390 np->stats.leaf.n_pkts_queued = qlen; in read_pipe_stats() 3449 nt->stats.leaf.n_pkts_queued = qlen; in read_tc_stats() 3472 nt->stats.leaf.n_pkts_queued = qlen; in read_tc_stats() [all …]
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_sched.c | 201 if (params->leaf.cman) { in ice_dcf_node_param_check() 206 if (params->leaf.wred.wred_profile_id != in ice_dcf_node_param_check() 213 if (params->leaf.wred.shared_wred_context_id) { in ice_dcf_node_param_check() 219 if (params->leaf.wred.n_shared_wred_contexts) { in ice_dcf_node_param_check()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_tm.c | 132 cap->leaf.stats_mask = in cnxk_nix_tm_level_capa_get() 592 stats->leaf.n_pkts_dropped[RTE_COLOR_RED] = in cnxk_nix_tm_node_stats_read() 594 stats->leaf.n_bytes_dropped[RTE_COLOR_RED] = in cnxk_nix_tm_node_stats_read()
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_tm.c | 172 cap->leaf.shaper_private_supported = 0; in dpaa2_level_capabilities_get() 173 cap->leaf.stats_mask = RTE_TM_STATS_N_PKTS | in dpaa2_level_capabilities_get() 409 if (params->leaf.cman != RTE_TM_CMAN_TAIL_DROP) in dpaa2_node_check_params()
|
| /dpdk/lib/hash/ |
| H A D | rte_cuckoo_hash.c | 797 struct queue_node *leaf, uint32_t leaf_slot, in rte_hash_cuckoo_move_insert_mw() argument 803 struct queue_node *prev_node, *curr_node = leaf; in rte_hash_cuckoo_move_insert_mw() 804 struct rte_hash_bucket *prev_bkt, *curr_bkt = leaf->bkt; in rte_hash_cuckoo_move_insert_mw()
|
| /dpdk/doc/guides/howto/ |
| H A D | debug_troubleshoot.rst | 395 ``rte_tn_get_number_of_leaf_node`` and flow table to ping down the leaf
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 3132 Add port traffic management hierarchy leaf node 3135 Add leaf node to port traffic management hierarchy:: 3137 testpmd> add port tm leaf node (port_id) (node_id) (parent_node_id) \
|