| /dpdk/drivers/net/hns3/ |
| H A D | hns3_tm.c | 67 rte_free(tm_node); in hns3_tm_conf_uninit() 75 rte_free(tm_node); in hns3_tm_conf_uninit() 316 return tm_node; in hns3_tm_node_search() 323 return tm_node; in hns3_tm_node_search() 486 if (tm_node == NULL) in hns3_tm_port_node_add() 489 tm_node->id = node_id; in hns3_tm_port_node_add() 535 if (tm_node == NULL) in hns3_tm_tc_node_add() 586 if (tm_node == NULL) in hns3_tm_queue_node_add() 662 rte_free(tm_node); in hns3_tm_node_do_delete() 677 rte_free(tm_node); in hns3_tm_node_do_delete() [all …]
|
| H A D | hns3_ethdev_dump.c | 673 struct hns3_tm_node *tm_node; in get_tm_conf_tc_node_info() local 684 tc_node[tidx] = tm_node; in get_tm_conf_tc_node_info() 688 tm_node = tc_node[tidx]; in get_tm_conf_tc_node_info() 689 if (tm_node == NULL) in get_tm_conf_tc_node_info() 694 tm_node->id, hns3_tm_calc_node_tc_no(conf, tm_node->id), in get_tm_conf_tc_node_info() 695 tm_node->reference_count, in get_tm_conf_tc_node_info() 696 tm_node->parent ? (int)tm_node->parent->id : -1, in get_tm_conf_tc_node_info() 697 tm_node->shaper_profile ? in get_tm_conf_tc_node_info() 739 struct hns3_tm_node *tm_node; in get_tm_conf_queue_node_info() local 754 queue_node[tm_node->id] = tm_node; in get_tm_conf_queue_node_info() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_tm.c | 93 rte_free(tm_node); in ixgbe_tm_conf_uninit() 98 rte_free(tm_node); in ixgbe_tm_conf_uninit() 349 return tm_node; in ixgbe_tm_node_search() 356 return tm_node; in ixgbe_tm_node_search() 631 if (!tm_node) in ixgbe_node_add() 637 tm_node->no = 0; in ixgbe_node_add() 713 if (!tm_node) in ixgbe_node_add() 770 if (!tm_node) { in ixgbe_node_delete() 804 rte_free(tm_node); in ixgbe_node_delete() 827 if (!tm_node) { in ixgbe_node_type_get() [all …]
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_tm.c | 92 rte_free(tm_node); in txgbe_tm_conf_uninit() 97 rte_free(tm_node); in txgbe_tm_conf_uninit() 338 return tm_node; in txgbe_tm_node_search() 345 return tm_node; in txgbe_tm_node_search() 619 if (!tm_node) in txgbe_node_add() 625 tm_node->no = 0; in txgbe_node_add() 701 if (!tm_node) in txgbe_node_add() 757 if (!tm_node) { in txgbe_node_delete() 791 rte_free(tm_node); in txgbe_node_delete() 814 if (!tm_node) { in txgbe_node_type_get() [all …]
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_sched.c | 67 rte_free(tm_node); in ice_dcf_tm_conf_uninit() 72 rte_free(tm_node); in ice_dcf_tm_conf_uninit() 107 return tm_node; in ice_dcf_tm_node_search() 114 return tm_node; in ice_dcf_tm_node_search() 305 if (!tm_node) in ice_dcf_node_add() 367 if (!tm_node) in ice_dcf_node_add() 424 if (!tm_node) { in ice_dcf_node_delete() 442 rte_free(tm_node); in ice_dcf_node_delete() 458 rte_free(tm_node); in ice_dcf_node_delete() 659 tm_node->tc); in ice_dcf_commit_check() [all …]
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_tm.c | 92 rte_free(tm_node); in i40e_tm_conf_uninit() 97 rte_free(tm_node); in i40e_tm_conf_uninit() 339 return tm_node; in i40e_tm_node_search() 346 return tm_node; in i40e_tm_node_search() 521 if (!tm_node) in i40e_node_add() 595 if (!tm_node) in i40e_node_add() 649 if (!tm_node) { in i40e_node_delete() 667 rte_free(tm_node); in i40e_node_delete() 683 rte_free(tm_node); in i40e_node_delete() 706 if (!tm_node) { in i40e_node_type_get() [all …]
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_tm.c | 78 rte_free(tm_node); in iavf_tm_conf_uninit() 83 rte_free(tm_node); in iavf_tm_conf_uninit() 117 return tm_node; in iavf_tm_node_search() 124 return tm_node; in iavf_tm_node_search() 239 if (!tm_node) { in iavf_node_type_get() 340 if (!tm_node) in iavf_tm_node_add() 400 if (!tm_node) in iavf_tm_node_add() 454 if (!tm_node) { in iavf_tm_node_delete() 470 rte_free(tm_node); in iavf_tm_node_delete() 484 rte_free(tm_node); in iavf_tm_node_delete() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_tm_mark.c | 45 uint32_t schq = tm_node->hw_id; in prepare_tm_shaper_red_algo() 49 nix_tm_hwlvl2str(tm_node->hw_lvl), schq, tm_node->lvl, in prepare_tm_shaper_red_algo() 50 tm_node->id, tm_node->red_algo, tm_node); in prepare_tm_shaper_red_algo() 56 switch (tm_node->hw_lvl) { in prepare_tm_shaper_red_algo() 87 struct nix_tm_node *tm_node; in nix_tm_update_red_algo() local 92 TAILQ_FOREACH(tm_node, list, node) { in nix_tm_update_red_algo() 94 if (nix_tm_is_leaf(nix, tm_node->lvl)) in nix_tm_update_red_algo() 97 if (tm_node->hw_lvl == NIX_TXSCH_LVL_TL1) in nix_tm_update_red_algo() 107 tm_node->red_algo = NIX_REDALG_SEND; in nix_tm_update_red_algo() 109 tm_node->red_algo = NIX_REDALG_STD; in nix_tm_update_red_algo() [all …]
|
| H A D | roc_nix_tm_utils.c | 1235 struct nix_tm_node *tm_node = (struct nix_tm_node *)node; in roc_nix_tm_shaper_default_red_algo() local 1240 tm_node->red_algo = NIX_REDALG_STD; in roc_nix_tm_shaper_default_red_algo() 1247 tm_node->red_algo = NIX_REDALG_DISCARD; in roc_nix_tm_shaper_default_red_algo()
|
| H A D | roc_nix_tm.c | 178 struct nix_tm_node *tm_node; in nix_tm_root_node_get() local 180 TAILQ_FOREACH(tm_node, list, node) { in nix_tm_root_node_get() 181 if (tm_node->hw_lvl == nix->tm_root_lvl) in nix_tm_root_node_get()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_tm.c | 173 struct tm_node *tm_node; in tm_hierarchy_free() local 176 if (tm_node == NULL) in tm_hierarchy_free() 180 free(tm_node); in tm_hierarchy_free() 270 struct tm_node *n; in tm_node_search() 284 struct tm_node *n; in tm_root_node_present() 298 struct tm_node *ns; in tm_node_subport_id() 320 struct tm_node *np; in tm_node_pipe_id() 349 struct tm_node *nq; in tm_node_queue_id() 897 struct tm_node *tm_node; in pmd_tm_node_capabilities_get() local 1097 struct tm_node *n; in tm_shared_shaper_get_tc() [all …]
|
| H A D | rte_eth_softnic_internals.h | 237 struct tm_node { struct 238 TAILQ_ENTRY(tm_node) node; 244 struct tm_node *parent_node; argument 252 TAILQ_HEAD(tm_node_list, tm_node); argument
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_tm.c | 206 struct cnxk_nix_tm_node *tm_node; in cnxk_nix_tm_node_capa_get() local 213 tm_node = (struct cnxk_nix_tm_node *)roc_nix_tm_node_get(nix, node_id); in cnxk_nix_tm_node_capa_get() 214 if (!tm_node) { in cnxk_nix_tm_node_capa_get() 220 lvl = tm_node->nix_node.lvl; in cnxk_nix_tm_node_capa_get()
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_tm.c | 619 struct ipn3ke_tm_node *tm_node; in ipn3ke_tm_node_capabilities_get() local 633 tm_node = ipn3ke_hw_tm_node_search(hw, tm_id, node_id, state_mask); in ipn3ke_tm_node_capabilities_get() 634 if (tm_node == NULL) in ipn3ke_tm_node_capabilities_get() 641 if (tm_node->tm_id != representor->port_id) in ipn3ke_tm_node_capabilities_get() 651 switch (tm_node->level) { in ipn3ke_tm_node_capabilities_get()
|