Lines Matching defs:layer

77  * layers it has searched through; stopping at the max supported layer.
93 /* The node has no children or is at the max layer */
173 * @layer: Scheduler layer of the node
180 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
217 if (hw->max_children[layer]) {
219 ice_calloc(hw, hw->max_children[layer],
229 node->tx_sched_layer = layer;
295 * ice_sched_get_first_node - get the first node of the given layer
298 * @layer: layer number
300 * This function retrieves the first node of the given layer from the subtree
304 struct ice_sched_node *parent, u8 layer)
306 return pi->sib_head[parent->tc_num][layer];
977 * @layer: layer number to add nodes
983 * This function add nodes to HW as well as to SW DB for a given layer
987 struct ice_sched_node *parent, u8 layer, u16 num_nodes,
1036 status = ice_sched_add_node(pi, layer, &buf->generic[i], prealloc_nodes[i]);
1038 status = ice_sched_add_node(pi, layer, &buf->generic[i], NULL);
1058 prev = ice_sched_get_first_node(pi, tc_node, layer);
1066 if (!pi->sib_head[tc_node->tc_num][layer])
1067 pi->sib_head[tc_node->tc_num][layer] = new_node;
1078 * ice_sched_add_nodes_to_hw_layer - Add nodes to hw layer
1082 * @layer: layer number to add nodes
1087 * Add nodes into specific hw layer.
1092 struct ice_sched_node *parent, u8 layer,
1103 if (!parent || layer < pi->hw->sw_entry_point_layer)
1106 /* max children per node per layer */
1117 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes,
1122 * ice_sched_add_nodes_to_layer - Add nodes to a given layer
1126 * @layer: layer number to add nodes
1131 * This function add nodes to a given layer.
1136 struct ice_sched_node *parent, u8 layer,
1150 layer, new_num_nodes,
1191 * ice_sched_get_qgrp_layer - get the current queue group layer number
1194 * This function returns the current queue group layer number
1203 * ice_sched_get_vsi_layer - get the current VSI layer number
1206 * This function returns the current VSI layer number
1210 /* Num Layers VSI layer
1215 /* calculate the VSI layer based on number of layers. */
1225 * ice_sched_get_agg_layer - get the current aggregator layer number
1228 * This function returns the current aggregator layer number
1232 /* Num Layers aggregator layer
1236 /* calculate the aggregator layer based on number of layers. */
1352 * layer is two less than the number of elements.
1462 /* max sibling group size of current layer refers to the max children
1463 * of the below layer node.
1464 * layer 1 node max children will be layer 2 max sibling group size
1465 * layer 2 node max children will be layer 3 max sibling group size
1467 * qgroup layer 7. Leaf node has no children.
1635 /* If the queue group and vsi layer are same then queues
1762 /* calculate num nodes from queue group to VSI layer */
1777 * @num_nodes: pointer to the num nodes that needs to be added per layer
1811 * layer nodes
1912 * layer nodes
2344 /* Is it VSI parent layer ? */
2528 * layer nodes
2746 /* need one node in Agg layer */
2763 /* all the nodes are full, reserve one for this layer */
2782 * layer nodes
4071 * @layer_num: specifies in which layer to create profile
4223 * ice_sched_get_rl_prof_layer - selects rate limit profile creation layer
4226 * @layer_index: layer index
4228 * This function returns requested profile creation layer.
4248 /* if current layer doesn't support SRL profile creation
4249 * then try a layer up or down.
4269 * @srl_layer: shared rate limit layer
4291 * @layer_num: layer number where profiles are saved
4295 * This function removes rate limit profile from layer 'layer_num' of type
4334 * @layer_num: layer number where RL profiles are saved
4390 * @layer_num: layer number
4542 * @sel_layer: selected SRL layer
4544 * This function checks if the SRL can be applied to a selceted layer node on
4554 * selected layer's node has single child.
4628 /* SRL bandwidth layer selection */
4630 u8 sel_layer; /* selected layer */
5049 * This function validates SRL node of the VSI node if available SRL layer is
5050 * different than the VSI node layer on all TC(s).This function needs to be
5076 /* SRL bandwidth layer selection */
5240 * This function validates SRL node of the AGG node if available SRL layer is
5241 * different than the AGG node layer on all TC(s).This function needs to be
5273 /* SRL bandwidth layer selection */