| /dpdk/examples/pipeline/examples/ |
| H A D | fib_nexthop_group_table.txt | 5 group 0 member 0 weight 1 8 group 1 member 1 weight 1 11 group 2 member 2 weight 1 14 group 3 member 3 weight 1 17 group 4 member 4 weight 1 18 group 4 member 5 weight 1 21 group 5 member 5 weight 1 22 group 5 member 6 weight 1 25 group 6 member 6 weight 1 26 group 6 member 7 weight 1 [all …]
|
| H A D | selector.txt | 1 group 0 member 0 weight 1 2 group 0 member 1 weight 1 3 group 0 member 2 weight 2 4 group 0 member 3 weight 4
|
| /dpdk/examples/qos_sched/ |
| H A D | profile_ov.cfg | 66 tc 0 wred weight = 9 9 9 71 tc 1 wred weight = 9 9 9 76 tc 2 wred weight = 9 9 9 81 tc 3 wred weight = 9 9 9 86 tc 4 wred weight = 9 9 9 91 tc 5 wred weight = 9 9 9 96 tc 6 wred weight = 9 9 9 101 tc 7 wred weight = 9 9 9 106 tc 8 wred weight = 9 9 9 111 tc 9 wred weight = 9 9 9 [all …]
|
| H A D | profile.cfg | 83 ;tc 0 wred weight = 9 9 9 88 ;tc 1 wred weight = 9 9 9 93 ;tc 2 wred weight = 9 9 9 98 ;tc 3 wred weight = 9 9 9 103 ;tc 4 wred weight = 9 9 9 108 ;tc 5 wred weight = 9 9 9 113 ;tc 6 wred weight = 9 9 9 118 ;tc 7 wred weight = 9 9 9 123 ;tc 8 wred weight = 9 9 9 128 ;tc 9 wred weight = 9 9 9 [all …]
|
| /dpdk/drivers/event/cnxk/ |
| H A D | cnxk_eventdev.c | 304 uint8_t priority, weight, affinity; in cnxk_sso_queue_setup() local 307 dev->mlt_prio[queue_id].weight = RTE_EVENT_QUEUE_WEIGHT_LOWEST; in cnxk_sso_queue_setup() 313 weight = CNXK_QOS_NORMALIZE( in cnxk_sso_queue_setup() 314 dev->mlt_prio[queue_id].weight, CNXK_SSO_WEIGHT_MIN, in cnxk_sso_queue_setup() 321 priority, weight, affinity); in cnxk_sso_queue_setup() 323 return roc_sso_hwgrp_set_priority(&dev->sso, queue_id, weight, affinity, in cnxk_sso_queue_setup() 341 *attr_value = dev->mlt_prio[queue_id].weight; in cnxk_sso_queue_attribute_get() 355 uint8_t priority, weight, affinity; in cnxk_sso_queue_attribute_set() local 365 dev->mlt_prio[queue_id].weight = attr_value; in cnxk_sso_queue_attribute_set() 385 weight = CNXK_QOS_NORMALIZE( in cnxk_sso_queue_attribute_set() [all …]
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_tm.c | 498 uint32_t priority, uint32_t weight, uint32_t level_id, in mrvl_node_check_params() argument 511 if (weight > MRVL_WEIGHT_MAX) in mrvl_node_check_params() 604 uint32_t parent_node_id, uint32_t priority, uint32_t weight, in mrvl_node_add() argument 623 ret = mrvl_node_check_params(dev, node_id, priority, weight, level_id, in mrvl_node_add() 680 node->weight = weight; in mrvl_node_add() 899 if (node->weight) { in mrvl_hierarchy_commit() 901 p->weight = node->weight; in mrvl_hierarchy_commit() 904 p->weight = 0; in mrvl_hierarchy_commit() 931 p->weight = 0; in mrvl_hierarchy_commit()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_tm.c | 1429 uint32_t weight, in node_add_check_port() argument 1455 if (weight != 1) in node_add_check_port() 1503 uint32_t weight, in node_add_check_subport() argument 1527 if (weight != 1) in node_add_check_subport() 1652 uint32_t weight, in node_add_check_tc() argument 1668 if (weight != 1) in node_add_check_tc() 1870 if (weight == 0 || weight >= UINT8_MAX) in node_add_check() 1995 n->weight = weight; in pmd_tm_node_add() 2857 np->weight = weight; in update_pipe_weight() 2903 nq->weight = weight; in update_queue_weight() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_tm.c | 264 if (!node->weight) in nix_tm_node_add() 265 node->weight = 1; in nix_tm_node_add() 1007 node->priority, node->weight, in nix_tm_node_delete() 1332 node->weight = NIX_TM_DFLT_RR_WT; in nix_tm_prepare_default_tree() 1359 node->weight = NIX_TM_DFLT_RR_WT; in nix_tm_prepare_default_tree() 1400 node->weight = NIX_TM_DFLT_RR_WT; in roc_nix_tm_prepare_rate_limited_tree() 1426 node->weight = NIX_TM_DFLT_RR_WT; in roc_nix_tm_prepare_rate_limited_tree() 1451 node->weight = NIX_TM_DFLT_RR_WT; in roc_nix_tm_prepare_rate_limited_tree() 1491 node->weight = NIX_TM_DFLT_RR_WT; in roc_nix_tm_pfc_prepare_tree() 1513 node->weight = NIX_TM_DFLT_RR_WT; in roc_nix_tm_pfc_prepare_tree() [all …]
|
| H A D | roc_nix_priv.h | 71 uint32_t weight; member 300 nix_tm_weight_to_rr_quantum(uint64_t weight) in nix_tm_weight_to_rr_quantum() argument 306 return weight; in nix_tm_weight_to_rr_quantum() 308 weight &= (uint64_t)max; in nix_tm_weight_to_rr_quantum() 309 return (weight * max) / ROC_NIX_CN9K_TM_RR_WEIGHT_MAX; in nix_tm_weight_to_rr_quantum()
|
| H A D | roc_nix_tm_ops.c | 287 node->weight = roc_node->weight; in roc_nix_tm_node_add() 831 uint32_t weight) in roc_nix_tm_node_parent_update() argument 860 if (node->weight == weight) in roc_nix_tm_node_parent_update() 863 node->weight = weight; in roc_nix_tm_node_parent_update()
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_tm.c | 141 nodes->weight = 0; in ipn3ke_hw_tm_init() 158 nodes->weight = 0; in ipn3ke_hw_tm_init() 175 nodes->weight = 0; in ipn3ke_hw_tm_init() 1195 weight, in ipn3ke_tm_node_add() 1304 n->weight = weight; in ipn3ke_tm_node_add() 1626 n->weight, in ipn3ke_hw_tm_node_wr() 1657 n->weight, in ipn3ke_hw_tm_node_wr() 1709 n->weight, in ipn3ke_hw_tm_node_wr() 1882 n->weight = 0; in ipn3ke_tm_hierarchy_commit_clear() 1896 n->weight = 0; in ipn3ke_tm_hierarchy_commit_clear() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_tm.c | 21 uint32_t weight, uint32_t level_id, 463 uint32_t priority, uint32_t weight, in ixgbe_node_param_check() argument 479 if (weight != 1) { in ixgbe_node_param_check() 560 uint32_t weight, uint32_t level_id, in ixgbe_node_add() argument 586 ret = ixgbe_node_param_check(dev, node_id, priority, weight, in ixgbe_node_add() 635 tm_node->weight = weight; in ixgbe_node_add() 717 tm_node->weight = weight; in ixgbe_node_add()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_tm.c | 22 uint32_t weight, uint32_t level_id, 452 uint32_t priority, uint32_t weight, in txgbe_node_param_check() argument 468 if (weight != 1) { in txgbe_node_param_check() 549 uint32_t weight, uint32_t level_id, in txgbe_node_add() argument 574 ret = txgbe_node_param_check(dev, node_id, priority, weight, in txgbe_node_add() 623 tm_node->weight = weight; in txgbe_node_add() 705 tm_node->weight = weight; in txgbe_node_add()
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_tm.c | 360 __rte_unused uint32_t priority, uint32_t weight, in dpaa2_node_check_params() argument 369 if (weight > DPAA2_WEIGHT_MAX) in dpaa2_node_check_params() 433 uint32_t parent_node_id, uint32_t priority, uint32_t weight, in dpaa2_node_add() argument 447 ret = dpaa2_node_check_params(dev, node_id, priority, weight, level_id, in dpaa2_node_add() 518 node->weight = weight; in dpaa2_node_add() 819 temp_leaf_node->weight * 100; in dpaa2_hierarchy_commit() 824 temp_leaf_node->weight * 100; in dpaa2_hierarchy_commit() 840 leaf_node->weight * 100; in dpaa2_hierarchy_commit() 846 leaf_node->weight * 100; in dpaa2_hierarchy_commit()
|
| H A D | dpaa2_tm.h | 39 uint32_t weight; member
|
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_osdep_bitmap.h | 340 int weight = 0; in dlb2_bitmap_count() local 351 weight++; in dlb2_bitmap_count() 353 return weight; in dlb2_bitmap_count()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_tm.c | 22 uint32_t weight, uint32_t level_id, 355 uint32_t priority, uint32_t weight, in i40e_node_param_check() argument 373 if (weight != 1) { in i40e_node_param_check() 452 uint32_t weight, uint32_t level_id, in i40e_node_add() argument 476 ret = i40e_node_param_check(dev, node_id, priority, weight, in i40e_node_add() 525 tm_node->weight = weight; in i40e_node_add() 599 tm_node->weight = weight; in i40e_node_add()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_tm.c | 218 uint32_t weight, in rte_tm_node_add() argument 225 node_id, parent_node_id, priority, weight, level_id, in rte_tm_node_add() 274 uint32_t weight, in rte_tm_node_parent_update() argument 279 node_id, parent_node_id, priority, weight, error); in rte_tm_node_parent_update()
|
| H A D | rte_tm_driver.h | 102 uint32_t weight, 132 uint32_t weight,
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_init_fw_funcs.c | 58 #define QM_WFQ_INC_VAL(weight) ((weight) * 0x9000) argument 1012 #define NIG_ETS_UP_BOUND(weight, mtu) \ argument 1013 (2 * ((weight) > (mtu) ? (weight) : (mtu))) 1076 if (tc_req->weight < min_weight) in ecore_init_nig_ets() 1077 min_weight = tc_req->weight; in ecore_init_nig_ets() 1100 byte_weight = (NIG_ETS_MIN_WFQ_BYTES * tc_req->weight) / in ecore_init_nig_ets() 1234 #define PRS_ETS_UP_BOUND(weight, mtu) \ argument 1235 (2 * ((weight) > (mtu) ? (weight) : (mtu))) 1263 if (tc_req->weight < min_weight) in ecore_init_prs_ets() 1264 min_weight = tc_req->weight; in ecore_init_prs_ets() [all …]
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_sched.c | 14 uint32_t weight, uint32_t level_id, 141 uint32_t priority, uint32_t weight, in ice_dcf_node_param_check() argument 158 if (weight != 1) { in ice_dcf_node_param_check() 232 uint32_t weight, uint32_t level_id, in ice_dcf_node_add() argument 256 ret = ice_dcf_node_param_check(hw, node_id, priority, weight, in ice_dcf_node_add() 371 tm_node->weight = weight; in ice_dcf_node_add()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 224 struct hns3_qs_weight_cmd *weight; in hns3_dcb_qs_weight_cfg() local 229 weight = (struct hns3_qs_weight_cmd *)desc.data; in hns3_dcb_qs_weight_cfg() 231 weight->qs_id = rte_cpu_to_le_16(qs_id); in hns3_dcb_qs_weight_cfg() 232 weight->dwrr = dwrr; in hns3_dcb_qs_weight_cfg() 269 struct hns3_priority_weight_cmd *weight; in hns3_dcb_pri_weight_cfg() local 276 weight->pri_id = pri_id; in hns3_dcb_pri_weight_cfg() 277 weight->dwrr = dwrr; in hns3_dcb_pri_weight_cfg() 285 struct hns3_pg_weight_cmd *weight; in hns3_dcb_pg_weight_cfg() local 290 weight = (struct hns3_pg_weight_cmd *)desc.data; in hns3_dcb_pg_weight_cfg() 292 weight->pg_id = pg_id; in hns3_dcb_pg_weight_cfg() [all …]
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_tm.c | 1585 uint32_t weight; member 1623 weight, RTE_UINT32); 1700 res->priority, res->weight, res->level_id, in cmd_add_port_tm_nonleaf_node_parsed() 1744 uint32_t weight; member 1785 weight, RTE_UINT32); 1911 uint32_t weight; member 1949 weight, RTE_UINT32); 2146 uint32_t weight; member 2180 weight, RTE_UINT32); 2191 uint32_t weight = res->weight; in cmd_set_port_tm_node_parent_parsed() local [all …]
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_tm.c | 20 uint32_t weight, uint32_t level_id, 133 uint32_t priority, uint32_t weight, in iavf_node_param_check() argument 150 if (weight != 1) { in iavf_node_param_check() 273 uint32_t weight, uint32_t level_id, in iavf_tm_node_add() argument 296 ret = iavf_node_param_check(vf, node_id, priority, weight, in iavf_tm_node_add() 791 cap->nonleaf.sched_wfq_weight_max = tc_cap.weight; in iavf_node_capabilities_get()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_tm.c | 338 uint32_t weight, uint32_t lvl, in cnxk_nix_tm_node_add() argument 381 node->nix_node.weight = weight; in cnxk_nix_tm_node_add() 541 uint32_t weight, struct rte_tm_error *error) in cnxk_nix_tm_node_parent_update() argument 548 priority, weight); in cnxk_nix_tm_node_parent_update()
|