Lines Matching refs:tc_node
883 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems() argument
951 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()
971 prev = ice_sched_get_first_node(pi, tc_node, layer); in ice_sched_add_elems()
979 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
980 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1004 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_hw_layer() argument
1025 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1030 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes, in ice_sched_add_nodes_to_hw_layer()
1048 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_layer() argument
1062 status = ice_sched_add_nodes_to_hw_layer(pi, tc_node, parent, in ice_sched_add_nodes_to_layer()
1553 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_vsi_node() argument
1560 node = ice_sched_get_first_node(pi, tc_node, vsi_layer); in ice_sched_get_vsi_node()
1582 ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_agg_node() argument
1592 node = ice_sched_get_first_node(pi, tc_node, agg_layer); in ice_sched_get_agg_node()
1645 struct ice_sched_node *tc_node, u16 *num_nodes, in ice_sched_add_vsi_child_nodes() argument
1656 parent = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_add_vsi_child_nodes()
1663 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_vsi_child_nodes()
1674 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_child_nodes()
1701 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_calc_vsi_support_nodes() argument
1712 if (!tc_node->num_children || i == vsil) { in ice_sched_calc_vsi_support_nodes()
1718 node = ice_sched_get_first_node(pi, tc_node, (u8)i); in ice_sched_calc_vsi_support_nodes()
1749 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_add_vsi_support_nodes() argument
1751 struct ice_sched_node *parent = tc_node; in ice_sched_add_vsi_support_nodes()
1763 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, in ice_sched_add_vsi_support_nodes()
1774 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_support_nodes()
1801 struct ice_sched_node *tc_node; in ice_sched_add_vsi_to_topo() local
1803 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_vsi_to_topo()
1804 if (!tc_node) in ice_sched_add_vsi_to_topo()
1808 ice_sched_calc_vsi_support_nodes(pi, tc_node, num_nodes); in ice_sched_add_vsi_to_topo()
1811 return ice_sched_add_vsi_support_nodes(pi, vsi_handle, tc_node, in ice_sched_add_vsi_to_topo()
1831 struct ice_sched_node *tc_node; in ice_sched_update_vsi_child_nodes() local
1837 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_update_vsi_child_nodes()
1838 if (!tc_node) in ice_sched_update_vsi_child_nodes()
1841 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_update_vsi_child_nodes()
1875 status = ice_sched_add_vsi_child_nodes(pi, vsi_handle, tc_node, in ice_sched_update_vsi_child_nodes()
1904 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_cfg_vsi() local
1910 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_cfg_vsi()
1911 if (!tc_node) in ice_sched_cfg_vsi()
1916 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
1937 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
2040 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_rm_vsi_cfg() local
2043 tc_node = ice_sched_get_tc_node(pi, i); in ice_sched_rm_vsi_cfg()
2044 if (!tc_node) in ice_sched_rm_vsi_cfg()
2047 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_rm_vsi_cfg()
2278 struct ice_sched_node *vsi_node, *agg_node, *tc_node, *parent; in ice_sched_move_vsi_to_agg() local
2285 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_move_vsi_to_agg()
2286 if (!tc_node) in ice_sched_move_vsi_to_agg()
2289 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_move_vsi_to_agg()
2293 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_move_vsi_to_agg()
2320 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_move_vsi_to_agg()
2331 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_move_vsi_to_agg()
2423 struct ice_sched_node *tc_node, *agg_node; in ice_sched_rm_agg_cfg() local
2426 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_rm_agg_cfg()
2427 if (!tc_node) in ice_sched_rm_agg_cfg()
2430 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_rm_agg_cfg()
2527 struct ice_sched_node *parent, *agg_node, *tc_node; in ice_sched_add_agg_cfg() local
2535 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_agg_cfg()
2536 if (!tc_node) in ice_sched_add_agg_cfg()
2539 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_add_agg_cfg()
2554 parent = ice_sched_get_first_node(pi, tc_node, i); in ice_sched_add_agg_cfg()
2569 parent = tc_node; in ice_sched_add_agg_cfg()
2574 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_agg_cfg()
2585 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_agg_cfg()
3925 struct ice_sched_node *tc_node; in ice_sched_get_node_by_id_type() local
3927 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_get_node_by_id_type()
3928 if (tc_node) in ice_sched_get_node_by_id_type()
3929 node = ice_sched_get_agg_node(pi, tc_node, id); in ice_sched_get_node_by_id_type()