Home
last modified time | relevance | path

Searched refs:shaper_profile (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c107 while ((shaper_profile = in ixgbe_tm_conf_uninit()
111 rte_free(shaper_profile); in ixgbe_tm_conf_uninit()
222 return shaper_profile; in ixgbe_shaper_profile_search()
280 if (shaper_profile) { in ixgbe_shaper_profile_add()
289 if (!shaper_profile) in ixgbe_shaper_profile_add()
314 if (!shaper_profile) { in ixgbe_shaper_profile_del()
602 if (!shaper_profile) { in ixgbe_node_add()
639 tm_node->shaper_profile = shaper_profile; in ixgbe_node_add()
645 if (shaper_profile) in ixgbe_node_add()
720 tm_node->shaper_profile = shaper_profile; in ixgbe_node_add()
[all …]
H A Dixgbe_ethdev.h434 struct ixgbe_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c106 while ((shaper_profile = in txgbe_tm_conf_uninit()
110 rte_free(shaper_profile); in txgbe_tm_conf_uninit()
214 return shaper_profile; in txgbe_shaper_profile_search()
271 if (shaper_profile) { in txgbe_shaper_profile_add()
280 if (!shaper_profile) in txgbe_shaper_profile_add()
304 if (!shaper_profile) { in txgbe_shaper_profile_del()
590 if (!shaper_profile) { in txgbe_node_add()
627 tm_node->shaper_profile = shaper_profile; in txgbe_node_add()
633 if (shaper_profile) in txgbe_node_add()
708 tm_node->shaper_profile = shaper_profile; in txgbe_node_add()
[all …]
H A Dtxgbe_ethdev.h308 struct txgbe_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/i40e/
H A Di40e_tm.c106 while ((shaper_profile = in i40e_tm_conf_uninit()
110 rte_free(shaper_profile); in i40e_tm_conf_uninit()
213 return shaper_profile; in i40e_shaper_profile_search()
270 if (shaper_profile) { in i40e_shaper_profile_add()
279 if (!shaper_profile) in i40e_shaper_profile_add()
303 if (!shaper_profile) { in i40e_shaper_profile_del()
492 if (!shaper_profile) { in i40e_node_add()
528 tm_node->shaper_profile = shaper_profile; in i40e_node_add()
534 if (shaper_profile) in i40e_node_add()
602 tm_node->shaper_profile = shaper_profile; in i40e_node_add()
[all …]
H A Di40e_ethdev.h1000 struct i40e_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/hns3/
H A Dhns3_tm.c86 while ((shaper_profile = in hns3_tm_conf_uninit()
89 shaper_profile, node); in hns3_tm_conf_uninit()
90 rte_free(shaper_profile); in hns3_tm_conf_uninit()
161 return shaper_profile; in hns3_tm_shaper_profile_search()
245 if (shaper_profile) { in hns3_tm_shaper_profile_add()
254 if (shaper_profile == NULL) in hns3_tm_shaper_profile_add()
261 shaper_profile, node); in hns3_tm_shaper_profile_add()
292 rte_free(shaper_profile); in hns3_tm_shaper_profile_del()
497 if (tm_node->shaper_profile) in hns3_tm_port_node_add()
911 if (shaper_profile) { in hns3_tm_config_port_rate()
[all …]
H A Dhns3_ethdev_dump.c639 struct hns3_tm_shaper_profile *shaper_profile; in get_tm_conf_shaper_info() local
645 TAILQ_FOREACH(shaper_profile, shaper_profile_list, node) { in get_tm_conf_shaper_info()
648 shaper_profile->shaper_profile_id, in get_tm_conf_shaper_info()
649 shaper_profile->reference_count, in get_tm_conf_shaper_info()
650 shaper_profile->profile.peak.rate); in get_tm_conf_shaper_info()
664 conf->root->shaper_profile ? in get_tm_conf_port_node_info()
665 (int)conf->root->shaper_profile->shaper_profile_id : -1); in get_tm_conf_port_node_info()
697 tm_node->shaper_profile ? in get_tm_conf_tc_node_info()
698 (int)tm_node->shaper_profile->shaper_profile_id : -1); in get_tm_conf_tc_node_info()
H A Dhns3_tm.h52 struct hns3_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c81 while ((shaper_profile = in ice_dcf_tm_conf_uninit()
84 shaper_profile, node); in ice_dcf_tm_conf_uninit()
85 rte_free(shaper_profile); in ice_dcf_tm_conf_uninit()
133 return shaper_profile; in ice_dcf_shaper_profile_search()
277 if (!shaper_profile) { in ice_dcf_node_add()
372 tm_node->shaper_profile = shaper_profile; in ice_dcf_node_add()
391 if (shaper_profile) in ice_dcf_node_add()
509 if (shaper_profile) { in ice_dcf_shaper_profile_add()
518 if (!shaper_profile) in ice_dcf_shaper_profile_add()
543 if (!shaper_profile) { in ice_dcf_shaper_profile_del()
[all …]
H A Dice_dcf.h58 struct ice_dcf_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/iavf/
H A Diavf_tm.c92 while ((shaper_profile = in iavf_tm_conf_uninit()
96 rte_free(shaper_profile); in iavf_tm_conf_uninit()
264 return shaper_profile; in iavf_shaper_profile_search()
312 if (!shaper_profile) { in iavf_tm_node_add()
405 tm_node->shaper_profile = shaper_profile; in iavf_tm_node_add()
422 if (shaper_profile) in iavf_tm_node_add()
534 if (shaper_profile) { in iavf_shaper_profile_add()
543 if (!shaper_profile) in iavf_shaper_profile_add()
549 shaper_profile, node); in iavf_shaper_profile_add()
567 if (!shaper_profile) { in iavf_shaper_profile_del()
[all …]
H A Diavf.h173 struct iavf_tm_shaper_profile *shaper_profile; member
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c143 nodes->shaper_profile.valid = 0; in ipn3ke_hw_tm_init()
160 nodes->shaper_profile.valid = 0; in ipn3ke_hw_tm_init()
177 nodes->shaper_profile.valid = 0; in ipn3ke_hw_tm_init()
1534 n->shaper_profile.valid == 0) { in ipn3ke_tm_hierarchy_commit_check()
1589 n->shaper_profile.valid == 0)) { in ipn3ke_tm_hierarchy_commit_check()
1632 if (n->shaper_profile.valid) in ipn3ke_hw_tm_node_wr()
1637 n->shaper_profile.m), in ipn3ke_hw_tm_node_wr()
1663 if (n->shaper_profile.valid) in ipn3ke_hw_tm_node_wr()
1668 n->shaper_profile.m), in ipn3ke_hw_tm_node_wr()
1715 if (n->shaper_profile.valid) in ipn3ke_hw_tm_node_wr()
[all …]
H A Dipn3ke_ethdev.h88 struct ipn3ke_tm_shaper_profile shaper_profile; member
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c212 if (shaper_profile == NULL) in tm_hierarchy_free()
216 shaper_profile, node); in tm_hierarchy_free()
217 free(shaper_profile); in tm_hierarchy_free()
2021 if (n->shaper_profile) in pmd_tm_node_add()
2022 n->shaper_profile->n_users++; in pmd_tm_node_add()
2088 if (n->shaper_profile) in pmd_tm_node_delete()
2089 n->shaper_profile->n_users--; in pmd_tm_node_delete()
2434 np->shaper_profile; in subport_profile_build()
3041 ns->shaper_profile = sp; in update_subport_rate()
3090 np->shaper_profile = sp; in update_pipe_rate()
[all …]
H A Drte_eth_softnic_internals.h245 struct tm_shaper_profile *shaper_profile; member
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm.c20 struct nix_tm_shaper_profile *shaper_profile, *tmp; in nix_tm_clear_shaper_profiles() local
24 PLT_TAILQ_FOREACH_SAFE(shaper_profile, list, shaper, tmp) { in nix_tm_clear_shaper_profiles()
25 if (shaper_profile->ref_cnt) in nix_tm_clear_shaper_profiles()
27 shaper_profile->id); in nix_tm_clear_shaper_profiles()
28 TAILQ_REMOVE(&nix->shaper_profile_list, shaper_profile, shaper); in nix_tm_clear_shaper_profiles()
29 nix_tm_shaper_profile_free(shaper_profile); in nix_tm_clear_shaper_profiles()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst2969 * ``shaper_profile id``: Shaper profile ID for the new profile.
2991 * ``shaper_profile id``: Shaper profile ID that needs to be deleted.
3004 * ``shaper_profile id``: Shaper profile ID for shared shaper.
3017 * ``shaper_profile id``: Shaper profile ID for shared shaper.
3040 * ``shaper_profile id``: Private shaper profile ID to be enabled on the