Lines Matching full:aggregator
786 * ice_sched_clear_agg - clears the aggregator related information
789 * This function removes aggregator list and free up aggregator related memory
1138 * ice_sched_get_agg_layer - get the current aggregator layer number
1141 * This function returns the current aggregator layer number
1145 /* Num Layers aggregator layer in ice_sched_get_agg_layer()
1149 /* calculate the aggregator layer based on number of layers. */ in ice_sched_get_agg_layer()
1573 * ice_sched_get_agg_node - Get an aggregator node based on aggregator ID
1576 * @agg_id: aggregator ID
1578 * This function retrieves an aggregator node for a given aggregator ID from
1970 * ice_sched_rm_agg_vsi_info - remove aggregator related VSI info entry
1974 * This function removes single aggregator VSI info entry from
1975 * aggregator list.
2073 /* clean up aggregator related VSI info if any */ in ice_sched_rm_vsi_cfg()
2115 * ice_get_agg_info - get the aggregator ID
2117 * @agg_id: aggregator ID
2119 * This function validates aggregator ID. The function returns info if
2120 * aggregator ID is present in list otherwise it returns null.
2135 * ice_sched_get_free_vsi_parent - Find a free parent node in aggregator subtree
2140 * This function walks through the aggregator subtree to find a free parent
2265 * ice_sched_move_vsi_to_agg - move VSI to aggregator node
2268 * @agg_id: aggregator ID
2271 * This function moves a VSI to an aggregator node or its subtree.
2297 /* Is this VSI already part of given aggregator? */ in ice_sched_move_vsi_to_agg()
2304 /* set intermediate node count to 1 between aggregator and VSI layers */ in ice_sched_move_vsi_to_agg()
2308 /* Check if the aggregator subtree has any free node to add the VSI */ in ice_sched_move_vsi_to_agg()
2346 * ice_move_all_vsi_to_dflt_agg - move all VSI(s) to default aggregator
2348 * @agg_info: aggregator info
2352 * This function move all the VSI(s) to the default aggregator and delete
2353 * aggregator VSI info based on passed in boolean parameter rm_vsi_info. The
2369 /* Move VSI to default aggregator */ in ice_move_all_vsi_to_dflt_agg()
2389 * ice_sched_is_agg_inuse - check whether the aggregator is in use or not
2393 * This function checks whether the aggregator is attached with any VSI or not.
2412 * ice_sched_rm_agg_cfg - remove the aggregator node
2414 * @agg_id: aggregator ID
2417 * This function removes the aggregator node and intermediate nodes if any
2434 /* Can't remove the aggregator node if it has children */ in ice_sched_rm_agg_cfg()
2438 /* need to remove the whole subtree if aggregator node is the in ice_sched_rm_agg_cfg()
2458 * ice_rm_agg_cfg_tc - remove aggregator configuration for TC
2460 * @agg_info: aggregator ID
2464 * This function removes aggregator reference to VSI of given TC. It removes
2465 * the aggregator configuration completely for requested TC. The caller needs
2482 /* Delete aggregator node(s) */ in ice_rm_agg_cfg_tc()
2493 * ice_save_agg_tc_bitmap - save aggregator TC bitmap
2495 * @agg_id: aggregator ID
2498 * Save aggregator TC bitmap. This function needs to be called with scheduler
2516 * ice_sched_add_agg_cfg - create an aggregator node
2518 * @agg_id: aggregator ID
2521 * This function creates an aggregator node and intermediate nodes if required
2550 * new aggregator. If they are full, then SW needs to allocate a new in ice_sched_add_agg_cfg()
2568 /* add the aggregator node */ in ice_sched_add_agg_cfg()
2587 /* register aggregator ID with the aggregator node */ in ice_sched_add_agg_cfg()
2599 * ice_sched_cfg_agg - configure aggregator node
2601 * @agg_id: aggregator ID
2602 * @agg_type: aggregator type queue, VSI, or aggregator group
2605 * It registers a unique aggregator node into scheduler services. It
2607 * The aggregator type determines if this is a queue group, VSI group
2608 * or aggregator group. It then creates the aggregator node(s) for requested
2609 * TC(s) or removes an existing aggregator node including its configuration
2610 * if indicated via tc_bitmap. Call ice_rm_agg_cfg to release aggregator
2611 * resources and remove aggregator ID.
2625 /* Create new entry for new aggregator ID */ in ice_sched_cfg_agg()
2635 /* Initialize the aggregator VSI list head */ in ice_sched_cfg_agg()
2638 /* Add new entry in aggregator list */ in ice_sched_cfg_agg()
2641 /* Create aggregator node(s) for requested TC(s) */ in ice_sched_cfg_agg()
2644 /* Delete aggregator cfg TC if it exists previously */ in ice_sched_cfg_agg()
2651 /* Check if aggregator node for TC already exists */ in ice_sched_cfg_agg()
2655 /* Create new aggregator node for TC */ in ice_sched_cfg_agg()
2660 /* Save aggregator node's TC information */ in ice_sched_cfg_agg()
2668 * ice_cfg_agg - config aggregator node
2670 * @agg_id: aggregator ID
2671 * @agg_type: aggregator type queue, VSI, or aggregator group
2674 * This function configures aggregator node(s).
2692 * ice_get_agg_vsi_info - get the aggregator ID
2693 * @agg_info: aggregator info
2696 * The function returns aggregator VSI info based on VSI handle. This function
2712 * ice_get_vsi_agg_info - get the aggregator info of VSI
2716 * The function returns aggregator info of VSI represented via vsi_handle. The
2717 * VSI has in this case a different aggregator than the default one. This
2736 * ice_save_agg_vsi_tc_bitmap - save aggregator VSI TC bitmap
2738 * @agg_id: aggregator ID
2742 * Save VSI to aggregator TC bitmap. This function needs to call with scheduler
2765 * ice_sched_assoc_vsi_to_agg - associate/move VSI to new/default aggregator
2767 * @agg_id: aggregator ID
2771 * This function moves VSI to a new or default aggregator node. If VSI is
2772 * already associated to the aggregator node then no operation is performed on
2790 /* If the VSI is already part of another aggregator then update in ice_sched_assoc_vsi_to_agg()
2809 /* Create new entry for VSI under aggregator list */ in ice_sched_assoc_vsi_to_agg()
2815 /* add VSI ID into the aggregator list */ in ice_sched_assoc_vsi_to_agg()
2819 /* Move VSI node to new aggregator node for requested TC(s) */ in ice_sched_assoc_vsi_to_agg()
2824 /* Move VSI to new aggregator */ in ice_sched_assoc_vsi_to_agg()
2940 * ice_move_vsi_to_agg - moves VSI to new or default aggregator
2942 * @agg_id: aggregator ID
2946 * Move or associate VSI to a new or default aggregator node.
3896 * @agg_type: type of aggregator
3899 * This function returns node identified by ID of type aggregator, and
3944 * @agg_type: aggregator type (VSI or AGG type node)
3949 * This function sets BW limit of VSI or Aggregator scheduling node
4191 * ice_sched_replay_agg - recreate aggregator node(s)
4194 * This function recreate aggregator type nodes which are not replayed earlier.
4195 * It also replay aggregator BW information. These aggregator nodes are not
4205 /* replay aggregator (re-create aggregator node) */ in ice_sched_replay_agg()
4234 * This function initialize aggregator(s) TC bitmap to zero. A required
4255 * ice_sched_replay_vsi_agg - replay aggregator & VSI to aggregator node(s)
4259 * This function replays aggregator node, VSI to aggregator type nodes, and
4282 /* Replay aggregator node associated to vsi_handle */ in ice_sched_replay_vsi_agg()
4291 /* Move this VSI (vsi_handle) to above aggregator */ in ice_sched_replay_vsi_agg()
4297 * ice_replay_vsi_agg - replay VSI to aggregator node
4301 * This function replays association of VSI to aggregator type nodes, and