Home
last modified time | relevance | path

Searched refs:profile_id (Results 1 – 21 of 21) sorted by relevance

/dpdk/app/test-pmd/
H A Dcmdline_mtr.c304 uint32_t profile_id; member
362 uint32_t profile_id = res->profile_id; in cmd_add_port_meter_profile_srtcm_parsed() local
412 uint32_t profile_id; member
475 uint32_t profile_id = res->profile_id; in cmd_add_port_meter_profile_trtcm_parsed() local
527 uint32_t profile_id; member
595 uint32_t profile_id = res->profile_id; in cmd_add_port_meter_profile_trtcm_rfc4115_parsed() local
646 uint32_t profile_id; member
679 uint32_t profile_id = res->profile_id; in cmd_del_port_meter_profile_parsed() local
716 uint32_t profile_id; member
1095 uint32_t profile_id; member
[all …]
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_mtr.c66 nix_mtr_profile_find(struct cnxk_eth_dev *dev, uint32_t profile_id) in nix_mtr_profile_find() argument
72 if (profile_id == fmp->id) in nix_mtr_profile_find()
91 nix_mtr_profile_validate(struct cnxk_eth_dev *dev, uint32_t profile_id, in nix_mtr_profile_validate() argument
104 if (profile_id == UINT32_MAX) in nix_mtr_profile_validate()
223 cnxk_nix_mtr_profile_add(struct rte_eth_dev *eth_dev, uint32_t profile_id, in cnxk_nix_mtr_profile_add() argument
233 ret = nix_mtr_profile_validate(dev, profile_id, profile, error); in cnxk_nix_mtr_profile_add()
237 fmp = nix_mtr_profile_find(dev, profile_id); in cnxk_nix_mtr_profile_add()
251 fmp->id = profile_id; in cnxk_nix_mtr_profile_add()
266 if (profile_id == UINT32_MAX) in cnxk_nix_mtr_profile_delete()
271 fmp = nix_mtr_profile_find(dev, profile_id); in cnxk_nix_mtr_profile_delete()
[all …]
H A Dcnxk_tm.c319 uint32_t profile_id, in cnxk_nix_tm_shaper_profile_delete() argument
326 rc = roc_nix_tm_shaper_profile_delete(nix, profile_id); in cnxk_nix_tm_shaper_profile_delete()
514 uint32_t profile_id, struct rte_tm_error *error) in cnxk_nix_tm_node_shaper_update() argument
522 rc = roc_nix_tm_node_shaper_update(nix, node_id, profile_id, false); in cnxk_nix_tm_node_shaper_update()
532 profile = roc_nix_tm_shaper_profile_get(nix, profile_id); in cnxk_nix_tm_node_shaper_update()
/dpdk/examples/service_cores/
H A Dmain.c113 apply_profile(int profile_id) in apply_profile() argument
118 struct profile *p = &profiles[profile_id]; in apply_profile()
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm.c195 uint32_t priority, profile_id; in nix_tm_node_add() local
203 profile_id = node->shaper_profile_id; in nix_tm_node_add()
210 priority, node->weight, parent_id, profile_id, tree); in nix_tm_node_add()
244 profile = nix_tm_shaper_profile_search(nix, profile_id); in nix_tm_node_add()
247 if (!profile && profile_id != ROC_NIX_TM_SHAPER_PROFILE_NONE) in nix_tm_node_add()
972 uint32_t profile_id; in nix_tm_node_delete() local
989 profile_id = node->shaper_profile_id; in nix_tm_node_delete()
990 profile = nix_tm_shaper_profile_search(nix, profile_id); in nix_tm_node_delete()
1608 uint32_t profile_id; in nix_tm_free_resources() local
1647 profile_id = node->shaper_profile_id; in nix_tm_free_resources()
[all …]
H A Droc_nix_tm_ops.c754 uint32_t profile_id, bool force_update) in roc_nix_tm_node_shaper_update() argument
769 if (profile_id != ROC_NIX_TM_SHAPER_PROFILE_NONE) { in roc_nix_tm_node_shaper_update()
770 profile = nix_tm_shaper_profile_search(nix, profile_id); in roc_nix_tm_node_shaper_update()
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()
794 node->shaper_profile_id = profile_id; in roc_nix_tm_node_shaper_update()
H A Droc_nix.h603 uint32_t profile_id,
623 roc_nix_tm_shaper_profile_get(struct roc_nix *roc_nix, uint32_t profile_id);
H A Droc_nix_tm_utils.c1047 roc_nix_tm_shaper_profile_get(struct roc_nix *roc_nix, uint32_t profile_id) in roc_nix_tm_shaper_profile_get() argument
1052 profile = nix_tm_shaper_profile_search(nix, profile_id); in roc_nix_tm_shaper_profile_get()
/dpdk/drivers/net/mvpp2/
H A Dmrvl_mtr.c57 if (profile->profile_id == meter_profile_id) in mrvl_mtr_profile_from_id()
109 prof->profile_id = meter_profile_id; in mrvl_meter_profile_add()
516 mrvl_meter_profile_delete(dev, profile->profile_id, NULL); in mrvl_mtr_deinit()
H A Dmrvl_ethdev.h101 uint32_t profile_id; member
/dpdk/drivers/net/ice/base/
H A Dice_acl.c283 desc.params.profile.profile_id = prof_id; in ice_acl_prof_aq_send()
455 desc.params.profile.profile_id = prof_id; in ice_prog_acl_prof_ranges()
478 desc.params.profile.profile_id = prof_id; in ice_query_acl_prof_ranges()
H A Dice_switch.h517 ice_aq_map_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap,
521 ice_aq_get_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap,
H A Dice_switch.c3449 ice_aq_map_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap, in ice_aq_map_recipe_to_profile() argument
3458 cmd->profile_id = CPU_TO_LE16(profile_id); in ice_aq_map_recipe_to_profile()
3477 ice_aq_get_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap, in ice_aq_get_recipe_to_profile() argument
3487 cmd->profile_id = CPU_TO_LE16(profile_id); in ice_aq_get_recipe_to_profile()
7909 fvl->profile_id = j; in ice_add_adv_recipe()
7918 ice_debug(hw, ICE_DBG_SW, "profile: %d\n", fvit->profile_id); in ice_add_adv_recipe()
7919 ice_set_bit((u16)fvit->profile_id, profiles); in ice_add_adv_recipe()
7942 status = ice_aq_get_recipe_to_profile(hw, fvit->profile_id, in ice_add_adv_recipe()
7953 status = ice_aq_map_recipe_to_profile(hw, fvit->profile_id, in ice_add_adv_recipe()
7962 ice_cp_bitmap(profile_to_recipe[fvit->profile_id], r_bitmap, in ice_add_adv_recipe()
[all …]
H A Dice_adminq_cmd.h785 __le16 profile_id; member
1184 __le16 profile_id; member
2448 u8 profile_id; /* Programmed/Updated profile ID */ member
H A Dice_flex_type.h617 u32 profile_id; member
H A Dice_sched.c4164 u16 profile_id) in ice_sched_rm_rl_profile() argument
4176 LE16_TO_CPU(rl_prof_elem->profile.profile_id) == in ice_sched_rm_rl_profile()
4177 profile_id) { in ice_sched_rm_rl_profile()
4272 rl_prof_id = LE16_TO_CPU(rl_prof_info->profile.profile_id); in ice_sched_set_node_bw()
H A Dice_type.h931 #define ICE_TXSCHED_GET_RL_PROF_ID(p) LE16_TO_CPU((p)->info.profile_id)
H A Dice_flex_pipe.c1914 fvl->profile_id = offset; in ice_get_sw_fv_list()
/dpdk/lib/pipeline/
H A Drte_table_action.c119 uint32_t profile_id) in mtr_trtcm_data_meter_profile_id_set() argument
122 data->stats[RTE_COLOR_GREEN] |= (profile_id % 32) << 3; in mtr_trtcm_data_meter_profile_id_set()
179 uint32_t profile_id; member
186 uint32_t profile_id) in meter_profile_data_find() argument
193 if (mp_data->valid && (mp_data->profile_id == profile_id)) in meter_profile_data_find()
2682 mp_data->profile_id = meter_profile_id; in rte_table_action_meter_profile_add()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c105 int profile_id = t->pipe_to_profile[pos]; in softnic_tmgr_port_create() local
107 if (profile_id < 0) in softnic_tmgr_port_create()
113 profile_id); in softnic_tmgr_port_create()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst2748 testpmd> add port meter profile srtcm_rfc2697 (port_id) (profile_id) \
2753 * ``profile_id``: ID for the meter profile.
2764 testpmd> add port meter profile trtcm_rfc2698 (port_id) (profile_id) \
2769 * ``profile_id``: ID for the meter profile.
2781 testpmd> add port meter profile trtcm_rfc4115 (port_id) (profile_id) \
2786 * ``profile_id``: ID for the meter profile.
2798 testpmd> del port meter profile (port_id) (profile_id)
2829 testpmd> create port meter (port_id) (mtr_id) (profile_id) \
2837 * ``profile_id``: ID for the meter profile.
2878 testpmd> set port meter profile (port_id) (mtr_id) (profile_id)