Lines Matching refs:tc_node

879 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,  in ice_sched_add_elems()  argument
942 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()
946 prev = ice_sched_get_first_node(pi, tc_node, layer); in ice_sched_add_elems()
954 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
955 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
979 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_hw_layer() argument
1000 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1005 return ice_sched_add_elems(pi, tc_node, parent, layer, num_nodes, in ice_sched_add_nodes_to_hw_layer()
1023 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_layer() argument
1038 status = ice_sched_add_nodes_to_hw_layer(pi, tc_node, parent, in ice_sched_add_nodes_to_layer()
1527 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_vsi_node() argument
1534 node = ice_sched_get_first_node(pi, tc_node, vsi_layer); in ice_sched_get_vsi_node()
1556 ice_sched_get_agg_node(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_get_agg_node() argument
1566 node = ice_sched_get_first_node(pi, tc_node, agg_layer); in ice_sched_get_agg_node()
1619 struct ice_sched_node *tc_node, u16 *num_nodes, in ice_sched_add_vsi_child_nodes() argument
1631 parent = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_add_vsi_child_nodes()
1636 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_vsi_child_nodes()
1647 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_child_nodes()
1674 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_calc_vsi_support_nodes() argument
1685 if (!tc_node->num_children || i == vsil) { in ice_sched_calc_vsi_support_nodes()
1691 node = ice_sched_get_first_node(pi, tc_node, (u8)i); in ice_sched_calc_vsi_support_nodes()
1722 struct ice_sched_node *tc_node, u16 *num_nodes) in ice_sched_add_vsi_support_nodes() argument
1724 struct ice_sched_node *parent = tc_node; in ice_sched_add_vsi_support_nodes()
1735 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, in ice_sched_add_vsi_support_nodes()
1746 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_vsi_support_nodes()
1773 struct ice_sched_node *tc_node; in ice_sched_add_vsi_to_topo() local
1775 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_vsi_to_topo()
1776 if (!tc_node) in ice_sched_add_vsi_to_topo()
1780 ice_sched_calc_vsi_support_nodes(pi, tc_node, num_nodes); in ice_sched_add_vsi_to_topo()
1783 return ice_sched_add_vsi_support_nodes(pi, vsi_handle, tc_node, in ice_sched_add_vsi_to_topo()
1803 struct ice_sched_node *tc_node; in ice_sched_update_vsi_child_nodes() local
1809 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_update_vsi_child_nodes()
1810 if (!tc_node) in ice_sched_update_vsi_child_nodes()
1813 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_update_vsi_child_nodes()
1847 status = ice_sched_add_vsi_child_nodes(pi, vsi_handle, tc_node, in ice_sched_update_vsi_child_nodes()
1876 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_cfg_vsi() local
1882 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_cfg_vsi()
1883 if (!tc_node) in ice_sched_cfg_vsi()
1888 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
1909 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_cfg_vsi()
2012 struct ice_sched_node *vsi_node, *tc_node; in ice_sched_rm_vsi_cfg() local
2015 tc_node = ice_sched_get_tc_node(pi, i); in ice_sched_rm_vsi_cfg()
2016 if (!tc_node) in ice_sched_rm_vsi_cfg()
2019 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_rm_vsi_cfg()
2258 struct ice_sched_node *vsi_node, *agg_node, *tc_node, *parent; in ice_sched_move_vsi_to_agg() local
2265 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_move_vsi_to_agg()
2266 if (!tc_node) in ice_sched_move_vsi_to_agg()
2269 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_move_vsi_to_agg()
2273 vsi_node = ice_sched_get_vsi_node(pi, tc_node, vsi_handle); in ice_sched_move_vsi_to_agg()
2300 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_move_vsi_to_agg()
2311 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_move_vsi_to_agg()
2403 struct ice_sched_node *tc_node, *agg_node; in ice_sched_rm_agg_cfg() local
2406 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_rm_agg_cfg()
2407 if (!tc_node) in ice_sched_rm_agg_cfg()
2410 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_rm_agg_cfg()
2507 struct ice_sched_node *parent, *agg_node, *tc_node; in ice_sched_add_agg_cfg() local
2515 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_add_agg_cfg()
2516 if (!tc_node) in ice_sched_add_agg_cfg()
2519 agg_node = ice_sched_get_agg_node(pi, tc_node, agg_id); in ice_sched_add_agg_cfg()
2534 parent = ice_sched_get_first_node(pi, tc_node, i); in ice_sched_add_agg_cfg()
2549 parent = tc_node; in ice_sched_add_agg_cfg()
2554 status = ice_sched_add_nodes_to_layer(pi, tc_node, parent, i, in ice_sched_add_agg_cfg()
2565 parent = ice_sched_find_node_by_teid(tc_node, in ice_sched_add_agg_cfg()
3854 struct ice_sched_node *tc_node; in ice_sched_get_node_by_id_type() local
3856 tc_node = ice_sched_get_tc_node(pi, tc); in ice_sched_get_node_by_id_type()
3857 if (tc_node) in ice_sched_get_node_by_id_type()
3858 node = ice_sched_get_agg_node(pi, tc_node, id); in ice_sched_get_node_by_id_type()