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