Home
last modified time | relevance | path

Searched refs:tc_node (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/irdma/
Dws.c188 struct irdma_ws_node *ws_tree_root, *vsi_node, *tc_node; in irdma_remove_leaf() local
206 tc_node = ws_find_node(vsi_node, in irdma_remove_leaf()
209 if (!tc_node) in irdma_remove_leaf()
212 irdma_ws_cqp_cmd(vsi, tc_node, IRDMA_OP_WS_DELETE_NODE); in irdma_remove_leaf()
213 vsi->unregister_qset(vsi, tc_node); in irdma_remove_leaf()
214 list_del(&tc_node->siblings); in irdma_remove_leaf()
215 irdma_free_node(vsi, tc_node); in irdma_remove_leaf()
240 struct irdma_ws_node *tc_node; in irdma_ws_add() local
302 tc_node = ws_find_node(vsi_node, traffic_class, in irdma_ws_add()
304 if (!tc_node) { in irdma_ws_add()
[all …]
Dmain.c166 struct irdma_ws_node *tc_node) in irdma_lan_register_qset() argument
173 qset.qs_handle = tc_node->qs_handle; in irdma_lan_register_qset()
174 qset.tc = tc_node->traffic_class; in irdma_lan_register_qset()
182 tc_node->l2_sched_node_id = qset.teid; in irdma_lan_register_qset()
183 vsi->qos[tc_node->user_pri].l2_sched_node_id = qset.teid; in irdma_lan_register_qset()
194 struct irdma_ws_node *tc_node) in irdma_lan_unregister_qset() argument
200 qset.qs_handle = tc_node->qs_handle; in irdma_lan_unregister_qset()
201 qset.tc = tc_node->traffic_class; in irdma_lan_unregister_qset()
203 qset.teid = tc_node->l2_sched_node_id; in irdma_lan_unregister_qset()
Dmain.h245 struct irdma_ws_node *tc_node);
247 struct irdma_ws_node *tc_node);
Dtype.h609 struct irdma_ws_node *tc_node);
611 struct irdma_ws_node *tc_node);
758 struct irdma_ws_node *tc_node);
760 struct irdma_ws_node *tc_node);
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_sched.c879 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()
[all …]
Dice_dcb.c1540 struct ice_sched_node *node, *tc_node; in ice_update_port_tc_tree_cfg() local
1568 tc_node = pi->root->children[i]; in ice_update_port_tc_tree_cfg()
1569 if (!tc_node) in ice_update_port_tc_tree_cfg()
1571 teid1 = le32_to_cpu(tc_node->info.node_teid); in ice_update_port_tc_tree_cfg()
1573 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1574 tc_node->in_use = true; in ice_update_port_tc_tree_cfg()