Lines Matching full:nodes
69 /* Check if TEID matches to any of the children nodes */ in ice_sched_find_node_by_teid()
224 * ice_sched_remove_elems - remove nodes from HW
227 * @num_nodes: number of nodes
230 * This function remove nodes from HW
311 * The parent array is updated below and that shifts the nodes in ice_free_sched_node()
317 /* Leaf, TC and root nodes can't be deleted by SW */ in ice_free_sched_node()
356 /* leaf nodes have no children */ in ice_free_sched_node()
476 * ice_sched_suspend_resume_elems - suspend or resume HW nodes
478 * @num_nodes: number of nodes
482 * This function suspends or resumes HW nodes
586 * ice_sched_clear_tx_topo - clears the scheduler tree nodes
589 * This function removes all the nodes from HW as well as from SW DB.
645 * ice_sched_add_elems - add nodes to HW and SW DB
649 * @layer: layer number to add nodes
650 * @num_nodes: number of nodes
651 * @num_nodes_added: pointer to num nodes added
652 * @first_node_teid: if new nodes are added then return the TEID of first node
654 * This function add nodes to HW as well as to SW DB for a given layer
703 /* add nodes to the SW DB */ in ice_sched_add_elems()
708 "add nodes in SW DB failed status =%d\n", in ice_sched_add_elems()
746 * ice_sched_add_nodes_to_layer - Add nodes to a given layer
750 * @layer: layer number to add nodes
751 * @num_nodes: number of nodes to be added
753 * @num_nodes_added: pointer to number of nodes added
755 * This function add nodes to a given layer.
782 /* current number of children + required nodes exceed max children ? */ in ice_sched_add_nodes_to_layer()
818 * 1024 / 8 = 128 layer 8 nodes in ice_sched_add_nodes_to_layer()
819 * 128 /8 = 16 (add 8 nodes per iteration) in ice_sched_add_nodes_to_layer()
898 * ice_sched_rm_dflt_nodes - free the default nodes in the tree
901 * This function frees all the nodes except root and TC that were created by
910 /* remove the default nodes except TC and root nodes */ in ice_sched_rm_dflt_nodes()
1010 /* Remove the default nodes. */ in ice_sched_init_port()
1191 * ice_sched_calc_vsi_child_nodes - calculate number of VSI child nodes
1194 * @num_nodes: num nodes array
1196 * This function calculates the number of VSI child nodes based on the
1208 /* calculate num nodes from queue group to VSI layer */ in ice_sched_calc_vsi_child_nodes()
1219 * ice_sched_add_vsi_child_nodes - add VSI child nodes to tree
1223 * @num_nodes: pointer to the num nodes that needs to be added per layer
1226 * This function adds the VSI child nodes to tree. It gets called for
1256 * layer nodes in ice_sched_add_vsi_child_nodes()
1275 * ice_sched_calc_vsi_support_nodes - calculate number of VSI support nodes
1278 * @num_nodes: pointer to num nodes array
1280 * This function calculates the number of supported nodes needed to add this
1281 * VSI into Tx tree including the VSI, parent and intermediate nodes in below
1294 /* Add intermediate nodes if TC has no children and in ice_sched_calc_vsi_support_nodes()
1300 /* If intermediate nodes are reached max children in ice_sched_calc_vsi_support_nodes()
1313 * So no need to calculate supported nodes for below in ice_sched_calc_vsi_support_nodes()
1318 /* all the nodes are full, allocate a new one */ in ice_sched_calc_vsi_support_nodes()
1324 * ice_sched_add_vsi_support_nodes - add VSI supported nodes into Tx tree
1328 * @num_nodes: pointer to num nodes array
1330 * This function adds the VSI supported nodes into Tx tree including the
1331 * VSI, its parent and intermediate nodes in below layers
1356 * layer nodes in ice_sched_add_vsi_support_nodes()
1393 /* calculate number of supported nodes needed for this VSI */ in ice_sched_add_vsi_to_topo()
1396 /* add VSI supported nodes to TC subtree */ in ice_sched_add_vsi_to_topo()
1402 * ice_sched_update_vsi_child_nodes - update VSI child nodes
1409 * This function updates the VSI child nodes based on the number of queues
1447 * leave some extra nodes in the tree if number of queues < previous in ice_sched_update_vsi_child_nodes()
1448 * number but that wouldn't harm anything. Removing those extra nodes in ice_sched_update_vsi_child_nodes()
1449 * may complicate the code if those nodes are part of SRL or in ice_sched_update_vsi_child_nodes()
1470 * This function adds/updates VSI nodes based on the number of queues. If TC is
1519 * recreate the child nodes all the time in these cases. in ice_sched_cfg_vsi()
1524 /* update the VSI child nodes */ in ice_sched_cfg_vsi()
1590 * ice_sched_rm_vsi_cfg - remove the VSI and its children nodes
1595 * This function removes the VSI and its LAN or RDMA children nodes from the
1627 "VSI has leaf nodes in TC %d\n", i); in ice_sched_rm_vsi_cfg()
1662 * ice_rm_vsi_lan_cfg - remove VSI and its LAN children nodes
1666 * This function clears the VSI and its LAN children nodes from scheduler tree