Home
last modified time | relevance | path

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

/dpdk/drivers/common/cnxk/
H A Droc_nix_tm_ops.c102 if (profile->peak.rate && in nix_tm_adjust_shaper_pps_rate()
107 if (profile->peak.rate && min_rate > profile->peak.rate) in nix_tm_adjust_shaper_pps_rate()
108 min_rate = profile->peak.rate; in nix_tm_adjust_shaper_pps_rate()
115 profile->peak.rate = profile->peak.rate * 8; in nix_tm_adjust_shaper_pps_rate()
126 profile->peak.rate += (adjust * profile->peak.rate); in nix_tm_adjust_shaper_pps_rate()
131 profile->peak.size *= adjust; in nix_tm_adjust_shaper_pps_rate()
155 peak_rate = profile->peak.rate; in nix_tm_shaper_profile_add()
156 peak_sz = profile->peak.size; in nix_tm_shaper_profile_add()
200 id, profile->peak.rate, profile->peak.size, in nix_tm_shaper_profile_add()
230 profile->peak.size = roc_profile->peak_sz; in roc_nix_tm_shaper_profile_add()
[all …]
H A Droc_nix_tm_utils.c331 if (profile->peak.rate) in nix_tm_shaper_conf_get()
333 profile->peak.rate, &pir->exponent, &pir->mantissa, in nix_tm_shaper_conf_get()
343 if (profile->peak.size) in nix_tm_shaper_conf_get()
344 pir->burst = nix_tm_shaper_burst_conv(profile->peak.size, in nix_tm_shaper_conf_get()
885 if (profile->peak.rate && profile->peak.rate < rate_min) in nix_tm_shaper_profile_rate_min()
886 rate_min = profile->peak.rate; in nix_tm_shaper_profile_rate_min()
H A Droc_nix_priv.h108 struct nix_tm_tb peak; member
/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c474 if (profile->peak.size) { in ice_dcf_shaper_profile_param_check()
588 u32 committed, peak; in ice_dcf_validate_tc_bw() local
597 peak = cfg->shaper.peak; in ice_dcf_validate_tc_bw()
599 rest_peak = total_peak - peak; in ice_dcf_validate_tc_bw()
601 if (lowest_cir_mark && peak == 0) { in ice_dcf_validate_tc_bw()
622 if (peak && committed > peak) { in ice_dcf_validate_tc_bw()
628 if (peak > port_bw) { in ice_dcf_validate_tc_bw()
630 cfg->tc_num, peak, port_bw); in ice_dcf_validate_tc_bw()
813 vf_bw->cfg[num_elem].shaper.peak = in ice_dcf_hierarchy_commit()
823 tc_bw->cfg[tm_node->tc].shaper.peak += in ice_dcf_hierarchy_commit()
[all …]
/dpdk/drivers/net/mvpp2/
H A Dmrvl_tm.c409 if (params->peak.rate < MRVL_RATE_MIN || in mrvl_shaper_profile_add()
410 params->peak.rate > priv->rate_max) in mrvl_shaper_profile_add()
415 if (params->peak.size < MRVL_BURST_MIN || in mrvl_shaper_profile_add()
416 params->peak.size > MRVL_BURST_MAX) in mrvl_shaper_profile_add()
880 node->profile->params.peak.rate * 8 / 1000; in mrvl_hierarchy_commit()
882 node->profile->params.peak.size / 1000; in mrvl_hierarchy_commit()
911 node->profile->params.peak.rate * 8 / 1000; in mrvl_hierarchy_commit()
914 node->profile->params.peak.size / 1000; in mrvl_hierarchy_commit()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c977 if (profile->peak.rate == 0 || in shaper_profile_check()
978 profile->peak.rate >= UINT32_MAX) in shaper_profile_check()
986 if (profile->peak.size == 0 || in shaper_profile_check()
987 profile->peak.size >= UINT32_MAX) in shaper_profile_check()
2132 nt->shaper_profile->params.peak.rate; in pipe_profile_build()
2435 sp->tc_rate[i] = ssp->params.peak.rate; in subport_profile_build()
3022 profile1.tb_rate = sp->params.peak.rate; in update_subport_rate()
3023 profile1.tb_size = sp->params.peak.size; in update_subport_rate()
3071 profile1.tb_rate = sp->params.peak.rate; in update_pipe_rate()
3072 profile1.tb_size = sp->params.peak.size; in update_pipe_rate()
[all …]
H A Drte_eth_softnic_cli.c240 if (softnic_parser_read_uint64(&sp.peak.rate, tokens[6]) != 0) { in cmd_tmgr_shaper_profile()
250 if (softnic_parser_read_uint64(&sp.peak.size, tokens[8]) != 0) { in cmd_tmgr_shaper_profile()
/dpdk/drivers/net/i40e/
H A Di40e_tm.c236 if (profile->peak.size) { in i40e_shaper_profile_param_check()
899 bw = pf->tm_conf.root->shaper_profile->profile.peak.rate; in i40e_hierarchy_commit()
906 tm_node->shaper_profile->profile.peak.rate) { in i40e_hierarchy_commit()
951 bw = tm_node->shaper_profile->profile.peak.rate; in i40e_hierarchy_commit()
965 bw = tm_node->shaper_profile->profile.peak.rate; in i40e_hierarchy_commit()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c245 if (profile->peak.size) { in ixgbe_shaper_profile_param_check()
1007 tm_conf->root->shaper_profile->profile.peak.rate) { in ixgbe_hierarchy_commit()
1016 tm_node->shaper_profile->profile.peak.rate) { in ixgbe_hierarchy_commit()
1026 bw = tm_node->shaper_profile->profile.peak.rate; in ixgbe_hierarchy_commit()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c237 if (profile->peak.size) { in txgbe_shaper_profile_param_check()
977 tm_conf->root->shaper_profile->profile.peak.rate) { in txgbe_hierarchy_commit()
986 tm_node->shaper_profile->profile.peak.rate) { in txgbe_hierarchy_commit()
996 bw = tm_node->shaper_profile->profile.peak.rate; in txgbe_hierarchy_commit()
/dpdk/drivers/net/iavf/
H A Diavf_tm.c500 if (profile->peak.size) { in iavf_shaper_profile_param_check()
785 (uint64_t)tc_cap.shaper.peak * 1000 / IAVF_BITS_PER_BYTE; in iavf_node_capabilities_get()
866 q_bw->cfg[node_committed].shaper.peak = in iavf_hierarchy_commit()
867 tm_node->shaper_profile->profile.peak.rate / in iavf_hierarchy_commit()
/dpdk/drivers/net/hns3/
H A Dhns3_tm.c186 if (profile->peak.rate > in hns3_tm_shaper_profile_param_check()
193 if (profile->peak.rate < hns3_tm_rate_convert_firmware2tm(1)) { in hns3_tm_shaper_profile_param_check()
199 if (profile->peak.size) { in hns3_tm_shaper_profile_param_check()
912 rate = shaper_profile->profile.peak.rate; in hns3_tm_config_port_rate()
940 rate = shaper_profile->profile.peak.rate; in hns3_tm_config_tc_rate()
H A Dhns3_ethdev_dump.c650 shaper_profile->profile.peak.rate); in get_tm_conf_shaper_info()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_tm.c291 if (params->peak.rate > DPAA2_SHAPER_MAX_RATE) in dpaa2_shaper_profile_add()
296 if (params->peak.size > DPAA2_BURST_MAX) in dpaa2_shaper_profile_add()
731 node->profile->params.peak.size; in dpaa2_hierarchy_commit()
733 node->profile->params.peak.rate / (1024 * 1024); in dpaa2_hierarchy_commit()
/dpdk/doc/guides/prog_guide/
H A Dtraffic_management.rst94 effectively disables this bucket. The peak bucket is used to limit the rate
96 committed and the peak token buckets. The rate of the peak bucket has to be
H A Dmetrics_lib.rst175 average and peak bit-rates for each active port (i.e. network device).
/dpdk/drivers/net/cnxk/
H A Dcnxk_tm.c290 profile->profile.peak_rate = params->peak.rate; in cnxk_nix_tm_shaper_profile_add()
292 profile->profile.peak_sz = params->peak.size; in cnxk_nix_tm_shaper_profile_add()
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c733 rate = profile->peak.rate; in ipn3ke_tm_shaper_parame_trans()
775 if (profile->peak.rate == 0 || in ipn3ke_tm_shaper_profile_add()
776 profile->peak.rate > IPN3KE_TM_SHAPER_PEAK_RATE_MAX) in ipn3ke_tm_shaper_profile_add()
784 if (profile->peak.size != 0) in ipn3ke_tm_shaper_profile_add()
/dpdk/lib/ethdev/
H A Drte_tm.h1049 struct rte_tm_token_bucket peak; member
/dpdk/drivers/common/iavf/
H A Dvirtchnl.h1322 u32 peak; member
/dpdk/app/test-pmd/
H A Dcmdline_tm.c909 sp.peak.rate = res->peak_tb_rate; in cmd_add_port_tm_node_shaper_profile_parsed()
910 sp.peak.size = res->peak_tb_size; in cmd_add_port_tm_node_shaper_profile_parsed()