Home
last modified time | relevance | path

Searched refs:shaper (Results 1 – 13 of 13) sorted by relevance

/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c593 total_peak += tc_bw->cfg[i].shaper.peak; in ice_dcf_validate_tc_bw()
597 peak = cfg->shaper.peak; in ice_dcf_validate_tc_bw()
598 committed = cfg->shaper.committed; in ice_dcf_validate_tc_bw()
728 hw->qos_bw_cfg[vf_id]->cfg[tc].shaper.peak = 0; in ice_dcf_clear_bw()
813 vf_bw->cfg[num_elem].shaper.peak = in ice_dcf_hierarchy_commit()
815 vf_bw->cfg[num_elem].shaper.committed = in ice_dcf_hierarchy_commit()
823 tc_bw->cfg[tm_node->tc].shaper.peak += in ice_dcf_hierarchy_commit()
824 vf_bw->cfg[num_elem].shaper.peak; in ice_dcf_hierarchy_commit()
825 tc_bw->cfg[tm_node->tc].shaper.committed += in ice_dcf_hierarchy_commit()
826 vf_bw->cfg[num_elem].shaper.committed; in ice_dcf_hierarchy_commit()
[all …]
/dpdk/doc/guides/prog_guide/
H A Dtraffic_management.rst49 nodes at the level, type of the shaper(dual rate, single rate) supported at
55 support is available for private shaper, dual rate shaper, maximum and minimum
56 shaper rate, etc. is exposed by node level capability API.
82 Each hierarchy node has zero or one private shaper (only one node using it)
83 and/or zero, one or several shared shapers (multiple nodes use the same shaper
84 instance). A private shaper is used to perform traffic shaping for a single
85 node, while a shared shaper is used to perform traffic shaping for a group of
89 of shaper profiles. Any shaper profile (single rate or dual rate shaper) can be
90 used by one or several shaper instances (either private or shared).
92 Single rate shapers use a single token bucket. Therefore, single rate shaper is
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm_utils.c9 nix_tm_shaper2regval(struct nix_tm_shaper_data *shaper) in nix_tm_shaper2regval() argument
14 regval = (shaper->burst_exponent << 37); in nix_tm_shaper2regval()
15 regval |= (shaper->burst_mantissa << 29); in nix_tm_shaper2regval()
16 regval |= (shaper->div_exp << 13); in nix_tm_shaper2regval()
17 regval |= (shaper->exponent << 9); in nix_tm_shaper2regval()
18 regval |= (shaper->mantissa << 1); in nix_tm_shaper2regval()
22 regval = (shaper->burst_exponent << 44); in nix_tm_shaper2regval()
23 regval |= (shaper->burst_mantissa << 29); in nix_tm_shaper2regval()
24 regval |= (shaper->div_exp << 13); in nix_tm_shaper2regval()
25 regval |= (shaper->exponent << 9); in nix_tm_shaper2regval()
[all …]
H A Droc_nix_priv.h106 TAILQ_ENTRY(nix_tm_shaper_profile) shaper;
H A Droc_nix_tm_ops.c195 TAILQ_INSERT_TAIL(&nix->shaper_profile_list, profile, shaper); in nix_tm_shaper_profile_add()
271 TAILQ_REMOVE(&nix->shaper_profile_list, profile, shaper); in roc_nix_tm_shaper_profile_delete()
H A Droc_nix_tm.c24 PLT_TAILQ_FOREACH_SAFE(shaper_profile, list, shaper, tmp) { in nix_tm_clear_shaper_profiles()
28 TAILQ_REMOVE(&nix->shaper_profile_list, shaper_profile, shaper); in nix_tm_clear_shaper_profiles()
/dpdk/doc/guides/nics/
H A Dmvpp2.rst646 - for egress rate limiter: private shaper
664 - Traffic manager shared shaper update
687 3. Add shaper profile:
691 testpmd> add port tm node shaper profile 0 0 900000 70000 0
696 0 - Id of a new shaper profile.
715 0 - Id of the shaper profile.
734 -1 - Id of a shaper. -1 indicates that shaper is not attached.
754 -1 - Id of a shaper. -1 indicates that shaper is not attached.
774 -1 - Id of a shaper. -1 indicates that shaper is not attached.
H A Ddpaa2.rst576 - for egress rate limiter: private shaper
592 - 1 private shaper at root node (port level) is supported.
617 3. Add shaper profile:
619 One port level shaper and strict priority on all 4 queues of port 0:
623 add port tm node shaper profile 0 1 104857600 64 100 0 0
633 One port level shaper and WFQ on all 4 queues of port 0:
637 add port tm node shaper profile 0 1 104857600 64 100 0 0
H A Dtxgbe.rst178 For example, add shaper profile
182 testpmd> add port tm node shaper profile 0 0 0 0 25000000 0 0
/dpdk/app/test-pmd/
H A Dcmdline_tm.c821 cmdline_fixed_string_t shaper; member
851 shaper, "shaper");
950 cmdline_fixed_string_t shaper; member
973 shaper, "shaper");
1032 cmdline_fixed_string_t shaper; member
1058 shaper, "shaper");
1134 cmdline_fixed_string_t shaper; member
1158 shaper, "shaper");
1485 cmdline_fixed_string_t shaper; member
1509 shaper, "shaper");
/dpdk/drivers/net/iavf/
H A Diavf_tm.c783 (uint64_t)tc_cap.shaper.committed * 1000 / IAVF_BITS_PER_BYTE; in iavf_node_capabilities_get()
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()
869 q_bw->cfg[node_committed].shaper.committed = in iavf_hierarchy_commit()
/dpdk/drivers/common/iavf/
H A Dvirtchnl.h1407 struct virtchnl_shaper_bw shaper; member
1854 struct virtchnl_shaper_bw shaper; member
1901 struct virtchnl_shaper_bw shaper; member
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst2958 Add port traffic management private shaper profile
2985 Delete the port traffic management private shaper::
2993 Add port traffic management shared shaper
2996 Create the port traffic management shared shaper::
3006 Set port traffic management shared shaper
3009 Update the port traffic management shared shaper::
3019 Delete port traffic management shared shaper
3022 Delete the port traffic management shared shaper::
3103 * ``shared_shaper_id``: Shared shaper id.
3130 * ``shared_shaper_id``: Shared shaper id.
[all …]