Home
last modified time | relevance | path

Searched refs:shaper_profile_id (Results 1 – 25 of 29) sorted by relevance

12

/dpdk/drivers/net/hns3/
H A Dhns3_tm.c160 if (shaper_profile_id == shaper_profile->shaper_profile_id) in hns3_tm_shaper_profile_search()
222 uint32_t shaper_profile_id, in hns3_tm_shaper_profile_add() argument
257 shaper_profile->shaper_profile_id = shaper_profile_id; in hns3_tm_shaper_profile_add()
269 uint32_t shaper_profile_id, in hns3_tm_shaper_profile_del() argument
339 params->shaper_profile_id); in hns3_tm_nonleaf_node_param_check()
493 params->shaper_profile_id); in hns3_tm_port_node_add()
542 params->shaper_profile_id); in hns3_tm_tc_node_add()
1172 if (shaper_profile_id == tm_node->params.shaper_profile_id) in hns3_tm_node_shaper_update()
1191 tm_node->params.shaper_profile_id = shaper_profile_id; in hns3_tm_node_shaper_update()
1201 uint32_t shaper_profile_id, in hns3_tm_node_shaper_update_wrap() argument
[all …]
H A Dhns3_tm.h40 uint32_t shaper_profile_id; member
H A Dhns3_ethdev_dump.c648 shaper_profile->shaper_profile_id, in get_tm_conf_shaper_info()
665 (int)conf->root->shaper_profile->shaper_profile_id : -1); in get_tm_conf_port_node_info()
698 (int)tm_node->shaper_profile->shaper_profile_id : -1); in get_tm_conf_tc_node_info()
/dpdk/lib/ethdev/
H A Drte_tm.c173 uint32_t shaper_profile_id, in rte_tm_shaper_profile_add() argument
179 shaper_profile_id, profile, error); in rte_tm_shaper_profile_add()
184 uint32_t shaper_profile_id, in rte_tm_shaper_profile_delete() argument
189 shaper_profile_id, error); in rte_tm_shaper_profile_delete()
195 uint32_t shaper_profile_id, in rte_tm_shared_shaper_add_update() argument
200 shared_shaper_id, shaper_profile_id, error); in rte_tm_shared_shaper_add_update()
285 uint32_t shaper_profile_id, in rte_tm_node_shaper_update() argument
290 node_id, shaper_profile_id, error); in rte_tm_node_shaper_update()
H A Drte_tm_driver.h77 uint32_t shaper_profile_id,
83 uint32_t shaper_profile_id,
89 uint32_t shaper_profile_id,
138 uint32_t shaper_profile_id,
H A Drte_tm.h1102 uint32_t shaper_profile_id; member
1468 uint32_t shaper_profile_id,
1492 uint32_t shaper_profile_id,
1523 uint32_t shaper_profile_id,
1812 uint32_t shaper_profile_id,
/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c13 uint32_t shaper_profile_id,
17 uint32_t shaper_profile_id,
212 uint32_t shaper_profile_id) in ixgbe_shaper_profile_search() argument
221 if (shaper_profile_id == shaper_profile->shaper_profile_id) in ixgbe_shaper_profile_search()
262 uint32_t shaper_profile_id, in ixgbe_shaper_profile_add() argument
278 shaper_profile = ixgbe_shaper_profile_search(dev, shaper_profile_id); in ixgbe_shaper_profile_add()
291 shaper_profile->shaper_profile_id = shaper_profile_id; in ixgbe_shaper_profile_add()
302 uint32_t shaper_profile_id, in ixgbe_shaper_profile_del() argument
312 shaper_profile = ixgbe_shaper_profile_search(dev, shaper_profile_id); in ixgbe_shaper_profile_del()
599 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in ixgbe_node_add()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c14 uint32_t shaper_profile_id,
18 uint32_t shaper_profile_id,
205 uint32_t shaper_profile_id) in txgbe_shaper_profile_search() argument
213 if (shaper_profile_id == shaper_profile->shaper_profile_id) in txgbe_shaper_profile_search()
254 uint32_t shaper_profile_id, in txgbe_shaper_profile_add() argument
269 shaper_profile = txgbe_shaper_profile_search(dev, shaper_profile_id); in txgbe_shaper_profile_add()
282 shaper_profile->shaper_profile_id = shaper_profile_id; in txgbe_shaper_profile_add()
293 uint32_t shaper_profile_id, in txgbe_shaper_profile_del() argument
302 shaper_profile = txgbe_shaper_profile_search(dev, shaper_profile_id); in txgbe_shaper_profile_del()
587 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in txgbe_node_add()
[all …]
H A Dtxgbe_ethdev.h284 uint32_t shaper_profile_id; member
/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c20 uint32_t shaper_profile_id,
24 uint32_t shaper_profile_id,
123 uint32_t shaper_profile_id) in ice_dcf_shaper_profile_search() argument
132 if (shaper_profile_id == shaper_profile->shaper_profile_id) in ice_dcf_shaper_profile_search()
274 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in ice_dcf_node_add()
276 params->shaper_profile_id); in ice_dcf_node_add()
491 uint32_t shaper_profile_id, in ice_dcf_shaper_profile_add() argument
507 shaper_profile = ice_dcf_shaper_profile_search(dev, shaper_profile_id); in ice_dcf_shaper_profile_add()
520 shaper_profile->shaper_profile_id = shaper_profile_id; in ice_dcf_shaper_profile_add()
531 uint32_t shaper_profile_id, in ice_dcf_shaper_profile_del() argument
[all …]
H A Dice_dcf.h42 uint32_t shaper_profile_id; member
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c231 if (shaper_profile_id == sp->shaper_profile_id) in tm_shaper_profile_search()
945 uint32_t shaper_profile_id, in shaper_profile_check() argument
1023 uint32_t shaper_profile_id, in pmd_tm_shaper_profile_add() argument
1047 sp->shaper_profile_id = shaper_profile_id; in pmd_tm_shaper_profile_add()
1146 ss->shaper_profile_id); in update_subport_tc_rate()
1167 ss->shaper_profile_id = sp_new->shaper_profile_id; in update_subport_tc_rate()
1225 ss->shaper_profile_id = shaper_profile_id; in pmd_tm_shared_shaper_add_update()
2433 ss->shaper_profile_id) : in subport_profile_build()
3042 ns->params.shaper_profile_id = sp->shaper_profile_id; in update_subport_rate()
3091 np->params.shaper_profile_id = sp->shaper_profile_id; in update_pipe_rate()
[all …]
H A Drte_eth_softnic_cli.c599 .shaper_profile_id = params->shaper_profile_id.port, in tmgr_hierarchy_default()
613 .shaper_profile_id = params->shaper_profile_id.pipe, in tmgr_hierarchy_default()
631 .shaper_profile_id = params->shaper_profile_id.tc[0], in tmgr_hierarchy_default()
641 .shaper_profile_id = params->shaper_profile_id.tc[1], in tmgr_hierarchy_default()
651 .shaper_profile_id = params->shaper_profile_id.tc[2], in tmgr_hierarchy_default()
661 .shaper_profile_id = params->shaper_profile_id.tc[3], in tmgr_hierarchy_default()
671 .shaper_profile_id = params->shaper_profile_id.tc[4], in tmgr_hierarchy_default()
681 .shaper_profile_id = params->shaper_profile_id.tc[5], in tmgr_hierarchy_default()
691 .shaper_profile_id = params->shaper_profile_id.tc[6], in tmgr_hierarchy_default()
701 .shaper_profile_id = params->shaper_profile_id.tc[7], in tmgr_hierarchy_default()
[all …]
H A Drte_eth_softnic_internals.h209 uint32_t shaper_profile_id; member
221 uint32_t shaper_profile_id; member
/dpdk/drivers/net/iavf/
H A Diavf_tm.c12 uint32_t shaper_profile_id,
16 uint32_t shaper_profile_id,
255 uint32_t shaper_profile_id) in iavf_shaper_profile_search() argument
263 if (shaper_profile_id == shaper_profile->shaper_profile_id) in iavf_shaper_profile_search()
309 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in iavf_tm_node_add()
311 params->shaper_profile_id); in iavf_tm_node_add()
517 uint32_t shaper_profile_id, in iavf_shaper_profile_add() argument
532 shaper_profile = iavf_shaper_profile_search(dev, shaper_profile_id); in iavf_shaper_profile_add()
545 shaper_profile->shaper_profile_id = shaper_profile_id; in iavf_shaper_profile_add()
556 uint32_t shaper_profile_id, in iavf_shaper_profile_del() argument
[all …]
H A Diavf.h181 uint32_t shaper_profile_id; member
/dpdk/drivers/net/i40e/
H A Di40e_tm.c14 uint32_t shaper_profile_id,
18 uint32_t shaper_profile_id,
204 uint32_t shaper_profile_id) in i40e_shaper_profile_search() argument
212 if (shaper_profile_id == shaper_profile->shaper_profile_id) in i40e_shaper_profile_search()
253 uint32_t shaper_profile_id, in i40e_shaper_profile_add() argument
268 shaper_profile = i40e_shaper_profile_search(dev, shaper_profile_id); in i40e_shaper_profile_add()
281 shaper_profile->shaper_profile_id = shaper_profile_id; in i40e_shaper_profile_add()
292 uint32_t shaper_profile_id, in i40e_shaper_profile_del() argument
301 shaper_profile = i40e_shaper_profile_search(dev, shaper_profile_id); in i40e_shaper_profile_del()
489 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in i40e_node_add()
[all …]
/dpdk/app/test-pmd/
H A Dcmdline_tm.c1035 uint32_t shaper_profile_id; member
1079 uint32_t shaper_profile_id = res->shaper_profile_id; in cmd_add_port_tm_node_shared_shaper_parsed() local
1102 shaper_profile_id, &error); in cmd_add_port_tm_node_shared_shaper_parsed()
1489 uint32_t shaper_profile_id; member
1534 uint32_t shaper_profile_id = res->shaper_profile_id; in cmd_set_port_tm_node_shaper_profile_parsed() local
1587 int32_t shaper_profile_id; member
1685 np.shaper_profile_id = res->shaper_profile_id; in cmd_add_port_tm_nonleaf_node_parsed()
1746 int32_t shaper_profile_id; member
1849 np.shaper_profile_id = res->shaper_profile_id; in cmd_add_port_tm_nonleaf_node_pmode_parsed()
1913 int32_t shaper_profile_id; member
[all …]
/dpdk/drivers/net/mvpp2/
H A Dmrvl_tm.c361 mrvl_shaper_profile_from_id(struct mrvl_priv *priv, uint32_t shaper_profile_id) in mrvl_shaper_profile_from_id() argument
366 if (profile->id == shaper_profile_id) in mrvl_shaper_profile_from_id()
382 mrvl_shaper_profile_add(struct rte_eth_dev *dev, uint32_t shaper_profile_id, in mrvl_shaper_profile_add() argument
421 if (shaper_profile_id == RTE_TM_SHAPER_PROFILE_ID_NONE) in mrvl_shaper_profile_add()
426 profile = mrvl_shaper_profile_from_id(priv, shaper_profile_id); in mrvl_shaper_profile_add()
439 profile->id = shaper_profile_id; in mrvl_shaper_profile_add()
456 mrvl_shaper_profile_delete(struct rte_eth_dev *dev, uint32_t shaper_profile_id, in mrvl_shaper_profile_delete() argument
467 profile = mrvl_shaper_profile_from_id(priv, shaper_profile_id); in mrvl_shaper_profile_delete()
628 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in mrvl_node_add()
630 params->shaper_profile_id); in mrvl_node_add()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_tm.c258 uint32_t shaper_profile_id) in dpaa2_shaper_profile_from_id() argument
263 if (profile->id == shaper_profile_id) in dpaa2_shaper_profile_from_id()
270 dpaa2_shaper_profile_add(struct rte_eth_dev *dev, uint32_t shaper_profile_id, in dpaa2_shaper_profile_add() argument
301 if (shaper_profile_id == RTE_TM_SHAPER_PROFILE_ID_NONE) in dpaa2_shaper_profile_add()
313 profile = dpaa2_shaper_profile_from_id(priv, shaper_profile_id); in dpaa2_shaper_profile_add()
326 profile->id = shaper_profile_id; in dpaa2_shaper_profile_add()
335 dpaa2_shaper_profile_delete(struct rte_eth_dev *dev, uint32_t shaper_profile_id, in dpaa2_shaper_profile_delete() argument
341 profile = dpaa2_shaper_profile_from_id(priv, shaper_profile_id); in dpaa2_shaper_profile_delete()
401 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) in dpaa2_node_check_params()
452 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE) { in dpaa2_node_add()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm.c203 profile_id = node->shaper_profile_id; in nix_tm_node_add()
989 profile_id = node->shaper_profile_id; in nix_tm_node_delete()
1009 node->shaper_profile_id, tree, node); in nix_tm_node_delete()
1333 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in nix_tm_prepare_default_tree()
1360 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in nix_tm_prepare_default_tree()
1401 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in roc_nix_tm_prepare_rate_limited_tree()
1427 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in roc_nix_tm_prepare_rate_limited_tree()
1492 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in roc_nix_tm_pfc_prepare_tree()
1514 node->shaper_profile_id = ROC_NIX_TM_SHAPER_PROFILE_NONE; in roc_nix_tm_pfc_prepare_tree()
1538 node->shaper_profile_id = in roc_nix_tm_pfc_prepare_tree()
[all …]
H A Droc_nix_tm_ops.c290 node->shaper_profile_id = roc_node->shaper_profile_id; in roc_nix_tm_node_add()
779 if ((profile_id == node->shaper_profile_id) && !force_update) { in roc_nix_tm_node_shaper_update()
781 } else if (profile_id != node->shaper_profile_id) { in roc_nix_tm_node_shaper_update()
786 node->shaper_profile_id); in roc_nix_tm_node_shaper_update()
794 node->shaper_profile_id = profile_id; in roc_nix_tm_node_shaper_update()
H A Droc_nix_priv.h75 uint32_t shaper_profile_id; member
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c221 uint32_t shaper_profile_id, struct rte_tm_error *error) in ipn3ke_hw_tm_shaper_profile_search() argument
228 if (shaper_profile_id == RTE_TM_SHAPER_PROFILE_ID_NONE) { in ipn3ke_hw_tm_shaper_profile_search()
238 level_of_node_id = shaper_profile_id / IPN3KE_TM_NODE_LEVEL_MOD; in ipn3ke_hw_tm_shaper_profile_search()
239 node_index = shaper_profile_id % IPN3KE_TM_NODE_LEVEL_MOD; in ipn3ke_hw_tm_shaper_profile_search()
750 uint32_t shaper_profile_id, struct rte_tm_shaper_params *profile, in ipn3ke_tm_shaper_profile_add() argument
758 sp = ipn3ke_hw_tm_shaper_profile_search(hw, shaper_profile_id, error); in ipn3ke_tm_shaper_profile_add()
828 uint32_t shaper_profile_id, struct rte_tm_error *error) in ipn3ke_tm_shaper_profile_delete() argument
835 sp = ipn3ke_hw_tm_shaper_profile_search(hw, shaper_profile_id, error); in ipn3ke_tm_shaper_profile_delete()
1211 if (params->shaper_profile_id != RTE_TM_SHAPER_PROFILE_ID_NONE && in ipn3ke_tm_node_add()
1212 params->shaper_profile_id != node_id) in ipn3ke_tm_node_add()
/dpdk/drivers/net/cnxk/
H A Dcnxk_tm.c383 node->nix_node.shaper_profile_id = params->shaper_profile_id; in cnxk_nix_tm_node_add()
385 profile = roc_nix_tm_shaper_profile_get(nix, params->shaper_profile_id); in cnxk_nix_tm_node_add()

12