Lines Matching refs:layer

79  * layers it has searched through; stopping at the max supported layer.
92 /* The node has no children or is at the max layer */
172 * @layer: Scheduler layer of the node
178 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
210 if (hw->max_children[layer]) {
213 ice_calloc(hw, hw->max_children[layer], sizeof(*node));
222 node->tx_sched_layer = layer;
288 * ice_sched_get_first_node - get the first node of the given layer
291 * @layer: layer number
293 * This function retrieves the first node of the given layer from the subtree
297 struct ice_sched_node *parent, u8 layer)
299 return pi->sib_head[parent->tc_num][layer];
901 * @layer: layer number to add nodes
906 * This function add nodes to HW as well as to SW DB for a given layer
910 struct ice_sched_node *parent, u8 layer, u16 num_nodes,
957 status = ice_sched_add_node(pi, layer, &buf->generic[i]);
976 prev = ice_sched_get_first_node(pi, tc_node, layer);
984 if (!pi->sib_head[tc_node->tc_num][layer])
985 pi->sib_head[tc_node->tc_num][layer] = new_node;
996 * ice_sched_add_nodes_to_layer - Add nodes to a given layer
1000 * @layer: layer number to add nodes
1005 * This function add nodes to a given layer.
1010 struct ice_sched_node *parent, u8 layer,
1026 if (!parent || layer < hw->sw_entry_point_layer)
1029 /* max children per node per layer */
1045 parent, layer,
1068 * 1024 / 8 = 128 layer 8 nodes
1072 layer, new_num_nodes,
1079 status = ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes,
1085 * ice_sched_get_qgrp_layer - get the current queue group layer number
1088 * This function returns the current queue group layer number
1097 * ice_sched_get_vsi_layer - get the current VSI layer number
1100 * This function returns the current VSI layer number
1104 /* Num Layers VSI layer
1109 /* calculate the VSI layer based on number of layers. */
1111 u8 layer = hw->num_tx_sched_layers - ICE_VSI_LAYER_OFFSET;
1113 if (layer > hw->sw_entry_point_layer)
1114 return layer;
1120 * ice_sched_get_agg_layer - get the current aggregator layer number
1123 * This function returns the current aggregator layer number
1127 /* Num Layers aggregator layer
1131 /* calculate the aggregator layer based on number of layers. */
1133 u8 layer = hw->num_tx_sched_layers - ICE_AGG_LAYER_OFFSET;
1135 if (layer > hw->sw_entry_point_layer)
1136 return layer;
1251 * layer is two less than the number of elements.
1360 /* max sibling group size of current layer refers to the max children
1361 * of the below layer node.
1362 * layer 1 node max children will be layer 2 max sibling group size
1363 * layer 2 node max children will be layer 3 max sibling group size
1365 * qgroup layer 7. Leaf node has no children.
1657 /* calculate num nodes from queue group to VSI layer */
1672 * @num_nodes: pointer to the num nodes that needs to be added per layer
1705 * layer nodes
1805 * layer nodes
2209 /* Is it VSI parent layer ? */
2393 * layer nodes
2611 /* need one node in Agg layer */
2628 /* all the nodes are full, reserve one for this layer */
2647 * layer nodes
3914 * @layer_num: specifies in which layer to create profile
4068 * ice_sched_get_rl_prof_layer - selects rate limit profile creation layer
4071 * @layer_index: layer index
4073 * This function returns requested profile creation layer.
4093 /* if current layer doesn't support SRL profile creation
4094 * then try a layer up or down.
4114 * @srl_layer: shared rate limit layer
4136 * @layer_num: layer number where profiles are saved
4140 * This function removes rate limit profile from layer 'layer_num' of type
4179 * @layer_num: layer number where RL profiles are saved
4235 * @layer_num: layer number
4335 * @sel_layer: selected SRL layer
4337 * This function checks if the SRL can be applied to a selceted layer node on
4347 * selected layer's node has single child.
4421 /* SRL bandwidth layer selection */
4423 u8 sel_layer; /* selected layer */
4824 * This function validates SRL node of the VSI node if available SRL layer is
4825 * different than the VSI node layer on all TC(s).This function needs to be
4851 /* SRL bandwidth layer selection */
5015 * This function validates SRL node of the AGG node if available SRL layer is
5016 * different than the AGG node layer on all TC(s).This function needs to be
5048 /* SRL bandwidth layer selection */