Lines Matching refs:tc_node
895 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems() argument
963 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()
983 prev = ice_sched_get_first_node(pi, tc_node, layer); in ice_sched_add_elems()
991 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
992 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1016 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_hw_layer() argument
1037 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1042 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes, in ice_sched_add_nodes_to_hw_layer()
1060 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_layer() argument
1074 status = ice_sched_add_nodes_to_hw_layer(pi, tc_node, parent, in ice_sched_add_nodes_to_layer()
1563 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_vsi_node() argument
1570 node = ice_sched_get_first_node(pi, tc_node, vsi_layer); in ice_sched_get_vsi_node()
1592 ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_agg_node() argument
1602 node = ice_sched_get_first_node(pi, tc_node, agg_layer); in ice_sched_get_agg_node()
1655 struct ice_sched_node *tc_node, u16 *num_nodes, in ice_sched_add_vsi_child_nodes() argument
1666 parent = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_add_vsi_child_nodes()
1673 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_vsi_child_nodes()
1684 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_child_nodes()
1711 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_calc_vsi_support_nodes() argument
1722 if (!tc_node->num_children || i == vsil) { in ice_sched_calc_vsi_support_nodes()
1728 node = ice_sched_get_first_node(pi, tc_node, (u8)i); in ice_sched_calc_vsi_support_nodes()
1759 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_add_vsi_support_nodes() argument
1761 struct ice_sched_node *parent = tc_node; in ice_sched_add_vsi_support_nodes()
1773 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, in ice_sched_add_vsi_support_nodes()
1784 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_support_nodes()
1811 struct ice_sched_node *tc_node; in ice_sched_add_vsi_to_topo() local
1813 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_vsi_to_topo()
1814 if (!tc_node) in ice_sched_add_vsi_to_topo()
1818 ice_sched_calc_vsi_support_nodes(pi, tc_node, num_nodes); in ice_sched_add_vsi_to_topo()
1821 return ice_sched_add_vsi_support_nodes(pi, vsi_handle, tc_node, in ice_sched_add_vsi_to_topo()
1841 struct ice_sched_node *tc_node; in ice_sched_update_vsi_child_nodes() local
1847 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_update_vsi_child_nodes()
1848 if (!tc_node) in ice_sched_update_vsi_child_nodes()
1851 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_update_vsi_child_nodes()
1885 status = ice_sched_add_vsi_child_nodes(pi, vsi_handle, tc_node, in ice_sched_update_vsi_child_nodes()
1914 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_cfg_vsi() local
1920 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_cfg_vsi()
1921 if (!tc_node) in ice_sched_cfg_vsi()
1926 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
1947 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
2050 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_rm_vsi_cfg() local
2053 tc_node = ice_sched_get_tc_node(pi, i); in ice_sched_rm_vsi_cfg()
2054 if (!tc_node) in ice_sched_rm_vsi_cfg()
2057 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_rm_vsi_cfg()
2296 struct ice_sched_node *vsi_node, *agg_node, *tc_node, *parent; in ice_sched_move_vsi_to_agg() local
2303 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_move_vsi_to_agg()
2304 if (!tc_node) in ice_sched_move_vsi_to_agg()
2307 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_move_vsi_to_agg()
2311 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_move_vsi_to_agg()
2338 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_move_vsi_to_agg()
2349 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_move_vsi_to_agg()
2441 struct ice_sched_node *tc_node, *agg_node; in ice_sched_rm_agg_cfg() local
2444 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_rm_agg_cfg()
2445 if (!tc_node) in ice_sched_rm_agg_cfg()
2448 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_rm_agg_cfg()
2545 struct ice_sched_node *parent, *agg_node, *tc_node; in ice_sched_add_agg_cfg() local
2553 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_agg_cfg()
2554 if (!tc_node) in ice_sched_add_agg_cfg()
2557 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_add_agg_cfg()
2572 parent = ice_sched_get_first_node(pi, tc_node, i); in ice_sched_add_agg_cfg()
2587 parent = tc_node; in ice_sched_add_agg_cfg()
2592 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_agg_cfg()
2603 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_agg_cfg()
3945 struct ice_sched_node *tc_node; in ice_sched_get_node_by_id_type() local
3947 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_get_node_by_id_type()
3948 if (tc_node) in ice_sched_get_node_by_id_type()
3949 node = ice_sched_get_agg_node(pi, tc_node, id); in ice_sched_get_node_by_id_type()