Lines Matching defs:layer

51  * layers it has searched through; stopping at the max supported layer.
64 /* The node has no children or is at the max layer */
144 * @layer: Scheduler layer of the node
151 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
188 if (hw->max_children[layer]) {
191 hw->max_children[layer],
201 node->tx_sched_layer = layer;
259 * ice_sched_get_first_node - get the first node of the given layer
262 * @layer: layer number
264 * This function retrieves the first node of the given layer from the subtree
268 struct ice_sched_node *parent, u8 layer)
270 return pi->sib_head[parent->tc_num][layer];
876 * @layer: layer number to add nodes
882 * This function add nodes to HW as well as to SW DB for a given layer
886 struct ice_sched_node *parent, u8 layer, u16 num_nodes,
935 status = ice_sched_add_node(pi, layer, &buf->generic[i], prealloc_nodes[i]);
937 status = ice_sched_add_node(pi, layer, &buf->generic[i], NULL);
973 prev = ice_sched_get_first_node(pi, tc_node, layer);
981 if (!pi->sib_head[tc_node->tc_num][layer])
982 pi->sib_head[tc_node->tc_num][layer] = new_node;
993 * ice_sched_add_nodes_to_hw_layer - Add nodes to HW layer
997 * @layer: layer number to add nodes
1002 * Add nodes into specific HW layer.
1007 struct ice_sched_node *parent, u8 layer,
1018 if (!parent || layer < pi->hw->sw_entry_point_layer)
1021 /* max children per node per layer */
1032 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes,
1037 * ice_sched_add_nodes_to_layer - Add nodes to a given layer
1041 * @layer: layer number to add nodes
1046 * This function add nodes to a given layer.
1051 struct ice_sched_node *parent, u8 layer,
1065 layer, new_num_nodes,
1106 * ice_sched_get_qgrp_layer - get the current queue group layer number
1109 * This function returns the current queue group layer number
1118 * ice_sched_get_vsi_layer - get the current VSI layer number
1121 * This function returns the current VSI layer number
1125 /* Num Layers VSI layer
1130 /* calculate the VSI layer based on number of layers. */
1140 * ice_sched_get_agg_layer - get the current aggregator layer number
1143 * This function returns the current aggregator layer number
1147 /* Num Layers aggregator layer
1151 /* calculate the aggregator layer based on number of layers. */
1267 * layer is two less than the number of elements.
1349 /* max sibling group size of current layer refers to the max children
1350 * of the below layer node.
1351 * layer 1 node max children will be layer 2 max sibling group size
1352 * layer 2 node max children will be layer 3 max sibling group size
1354 * qgroup layer 7. Leaf node has no children.
1524 /* If the queue group and VSI layer are same then queues
1624 /* calculate num nodes from queue group to VSI layer */
1639 * @num_nodes: pointer to the num nodes that needs to be added per layer
1673 * layer nodes
1773 * layer nodes
2154 /* Is it VSI parent layer ? */
2330 * layer nodes
2548 /* need one node in Agg layer */
2565 /* all the nodes are full, reserve one for this layer */
2584 * layer nodes
3186 * @layer_num: specifies in which layer to create profile
3367 * ice_sched_get_rl_prof_layer - selects rate limit profile creation layer
3370 * @layer_index: layer index
3372 * This function returns requested profile creation layer.
3392 /* if current layer doesn't support SRL profile creation
3393 * then try a layer up or down.
3413 * @srl_layer: shared rate limit layer
3435 * @layer_num: layer number where profiles are saved
3439 * This function removes rate limit profile from layer 'layer_num' of type
3478 * @layer_num: layer number where RL profiles are saved
3532 * @layer_num: layer number where rate limit profiles are saved
3579 * @layer_num: layer number
3743 * @sel_layer: selected SRL layer
3745 * This function checks if the SRL can be applied to a selected layer node on
3755 * selected layer's node has single child.
3829 /* SRL bandwidth layer selection */
3831 u8 sel_layer; /* selected layer */