Home
last modified time | relevance | path

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

/freebsd/sys/dev/irdma/
H A Dirdma_ws.c226 struct irdma_ws_node *ws_tree_root, *vsi_node, *tc_node; in irdma_remove_leaf() local
244 tc_node = ws_find_node(vsi_node, in irdma_remove_leaf()
247 if (!tc_node) in irdma_remove_leaf()
250 irdma_ws_cqp_cmd(vsi, tc_node, IRDMA_OP_WS_DELETE_NODE); in irdma_remove_leaf()
251 vsi->unregister_qset(vsi, tc_node); in irdma_remove_leaf()
252 list_del(&tc_node->siblings); in irdma_remove_leaf()
253 irdma_free_node(vsi, tc_node); in irdma_remove_leaf()
279 struct irdma_ws_node *tc_node; in irdma_ws_add() local
340 tc_node = ws_find_node(vsi_node, traffic_class, in irdma_ws_add()
342 if (!tc_node) { in irdma_ws_add()
[all …]
H A Dfbsd_kcompat.c108 irdma_register_qset(struct irdma_sc_vsi *vsi, struct irdma_ws_node *tc_node) in irdma_register_qset() argument
118 res->qsets.qs_handle = tc_node->qs_handle; in irdma_register_qset()
119 res->qsets.tc = tc_node->traffic_class; in irdma_register_qset()
124 tc_node->l2_sched_node_id = res->qsets.teid; in irdma_register_qset()
125 vsi->qos[tc_node->user_pri].l2_sched_node_id = in irdma_register_qset()
132 irdma_unregister_qset(struct irdma_sc_vsi *vsi, struct irdma_ws_node *tc_node) in irdma_unregister_qset() argument
143 res->qsets.teid = tc_node->l2_sched_node_id; in irdma_unregister_qset()
144 res->qsets.qs_handle = tc_node->qs_handle; in irdma_unregister_qset()
H A Dfbsd_kcompat.h167 struct irdma_ws_node *tc_node);
169 struct irdma_ws_node *tc_node);
H A Dirdma_type.h608 struct irdma_ws_node *tc_node);
610 struct irdma_ws_node *tc_node);
747 struct irdma_ws_node *tc_node);
749 struct irdma_ws_node *tc_node);
H A Dirdma_main.h271 struct irdma_ws_node *tc_node);
273 struct irdma_ws_node *tc_node);
/freebsd/sys/dev/ice/
H A Dice_sched.c975 * @tc_node: pointer to the branch node
986 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node, in ice_sched_add_elems()
1054 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()
1058 prev = ice_sched_get_first_node(pi, tc_node, layer); in ice_sched_add_elems()
1066 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
1067 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1080 * @tc_node: pointer to TC node
1091 struct ice_sched_node *tc_node, in ice_sched_add_nodes_to_hw_layer()
1112 if (parent == tc_node) in ice_sched_add_nodes_to_hw_layer()
1117 return ice_sched_add_elems(pi, tc_node, paren in ice_sched_add_nodes_to_hw_layer()
984 ice_sched_add_elems(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u16 * num_nodes_added,u32 * first_node_teid,struct ice_sched_node ** prealloc_nodes) ice_sched_add_elems() argument
1089 ice_sched_add_nodes_to_hw_layer(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u32 * first_node_teid,u16 * num_nodes_added) ice_sched_add_nodes_to_hw_layer() argument
1133 ice_sched_add_nodes_to_layer(struct ice_port_info * pi,struct ice_sched_node * tc_node,struct ice_sched_node * parent,u8 layer,u16 num_nodes,u32 * first_node_teid,u16 * num_nodes_added) ice_sched_add_nodes_to_layer() argument
1664 ice_sched_get_vsi_node(struct ice_port_info * pi,struct ice_sched_node * tc_node,u16 vsi_handle) ice_sched_get_vsi_node() argument
1693 ice_sched_get_agg_node(struct ice_port_info * pi,struct ice_sched_node * tc_node,u32 agg_id) ice_sched_get_agg_node() argument
1783 ice_sched_add_vsi_child_nodes(struct ice_port_info * pi,u16 vsi_handle,struct ice_sched_node * tc_node,u16 * num_nodes,u8 owner) ice_sched_add_vsi_child_nodes() argument
1839 ice_sched_calc_vsi_support_nodes(struct ice_port_info * pi,struct ice_sched_node * tc_node,u16 * num_nodes) ice_sched_calc_vsi_support_nodes() argument
1888 ice_sched_add_vsi_support_nodes(struct ice_port_info * pi,u16 vsi_handle,struct ice_sched_node * tc_node,u16 * num_nodes) ice_sched_add_vsi_support_nodes() argument
1940 struct ice_sched_node *tc_node; ice_sched_add_vsi_to_topo() local
1970 struct ice_sched_node *tc_node; ice_sched_update_vsi_child_nodes() local
2043 struct ice_sched_node *vsi_node, *tc_node; ice_sched_cfg_vsi() local
2180 struct ice_sched_node *vsi_node, *tc_node; ice_sched_rm_vsi_cfg() local
2476 struct ice_sched_node *vsi_node, *agg_node, *tc_node, *parent; ice_sched_move_vsi_to_agg() local
2621 struct ice_sched_node *tc_node, *agg_node; ice_sched_rm_agg_cfg() local
2725 struct ice_sched_node *parent, *agg_node, *tc_node; ice_sched_add_agg_cfg() local
3771 struct ice_sched_node *tc_node, *agg_node; ice_cfg_agg_vsi_priority_per_tc() local
3866 struct ice_sched_node *tc_node, *vsi_node; ice_cfg_vsi_bw_alloc() local
3928 struct ice_sched_node *tc_node, *agg_node; ice_cfg_agg_bw_alloc() local
4737 struct ice_sched_node *tc_node; ice_sched_set_tc_node_bw_lmt() local
4835 struct ice_sched_node *tc_node; ice_sched_set_tc_node_bw_alloc() local
4953 struct ice_sched_node *tc_node; ice_sched_get_node_by_id_type() local
5046 struct ice_sched_node *tc_node, *vsi_node; ice_sched_validate_vsi_srl_node() local
5126 struct ice_sched_node *tc_node, *vsi_node, *cfg_node; ice_sched_set_vsi_node_srl_per_tc() local
5195 struct ice_sched_node *tc_node, *vsi_node; ice_sched_set_vsi_bw_shared_lmt() local
5245 struct ice_sched_node *tc_node, *agg_node; ice_sched_validate_agg_srl_node() local
5355 struct ice_sched_node *tc_node, *agg_node, *cfg_node; ice_sched_set_agg_node_srl_per_tc() local
5423 struct ice_sched_node *tc_node, *agg_node; ice_sched_set_agg_bw_shared_lmt() local
5651 struct ice_sched_node *tc_node, *agg_node; ice_sched_replay_agg_bw() local
5810 struct ice_sched_node *tc_node; ice_sched_replay_tc_node_bw() local
5837 struct ice_sched_node *vsi_node, *tc_node; ice_sched_replay_vsi_bw() local
[all...]
H A Dice_dcb.c1803 struct ice_sched_node *node, *tc_node; in ice_update_port_tc_tree_cfg() local
1831 tc_node = pi->root->children[i]; in ice_update_port_tc_tree_cfg()
1832 if (!tc_node) in ice_update_port_tc_tree_cfg()
1834 teid1 = LE32_TO_CPU(tc_node->info.node_teid); in ice_update_port_tc_tree_cfg()
1836 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1837 tc_node->in_use = true; in ice_update_port_tc_tree_cfg()
H A Dice_sched.h143 ice_sched_add_elems(struct ice_port_info *pi, struct ice_sched_node *tc_node,
191 ice_sched_get_vsi_node(struct ice_port_info *pi, struct ice_sched_node *tc_node,