Lines Matching refs:start_node
56 ice_sched_find_node_by_teid(struct ice_sched_node *start_node, u32 teid) in ice_sched_find_node_by_teid() argument
61 if (ICE_TXSCHED_GET_NODE_TEID(start_node) == teid) in ice_sched_find_node_by_teid()
62 return start_node; in ice_sched_find_node_by_teid()
65 if (!start_node->num_children || in ice_sched_find_node_by_teid()
66 start_node->tx_sched_layer >= ICE_AQC_TOPO_MAX_LEVEL_NUM || in ice_sched_find_node_by_teid()
67 start_node->info.data.elem_type == ICE_AQC_ELEM_TYPE_LEAF) in ice_sched_find_node_by_teid()
71 for (i = 0; i < start_node->num_children; i++) in ice_sched_find_node_by_teid()
72 if (ICE_TXSCHED_GET_NODE_TEID(start_node->children[i]) == teid) in ice_sched_find_node_by_teid()
73 return start_node->children[i]; in ice_sched_find_node_by_teid()
76 for (i = 0; i < start_node->num_children; i++) { in ice_sched_find_node_by_teid()
79 tmp = ice_sched_find_node_by_teid(start_node->children[i], in ice_sched_find_node_by_teid()