Searched refs:tc_num (Results 1 – 7 of 7) sorted by relevance
131 u8 tc_num) in hclge_ets_sch_mode_validate() argument145 if (i >= tc_num) { in hclge_ets_sch_mode_validate()182 u8 tc_num; in hclge_ets_validate() local185 tc_num = hclge_ets_tc_changed(hdev, ets, changed); in hclge_ets_validate()187 ret = hclge_dcb_common_validate(hdev, tc_num, ets->prio_tc); in hclge_ets_validate()191 ret = hclge_ets_sch_mode_validate(hdev, ets, changed, tc_num); in hclge_ets_validate()195 *tc = tc_num; in hclge_ets_validate()
347 u8 tc_num; member
1275 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()1487 hdev->tc_max = cfg.tc_num; in hclge_configure()1928 u32 tc_num = hclge_get_tc_num(hdev); in hclge_is_rx_buf_ok() local1942 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()1966 if (tc_num <= NEED_RESERVE_TC_NUM) in hclge_is_rx_buf_ok()1970 if (tc_num) in hclge_is_rx_buf_ok()1971 hi_thrd = hi_thrd / tc_num; in hclge_is_rx_buf_ok()2119 u32 tc_num = hclge_get_tc_num(hdev); in hclge_only_alloc_priv_buff() local2124 if (tc_num) in hclge_only_alloc_priv_buff()2125 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()[all …]
273 return pi->sib_head[parent->tc_num][layer]; in ice_sched_get_first_node()290 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node()351 if (pi->sib_head[node->tc_num][node->tx_sched_layer] == node) in ice_free_sched_node()352 pi->sib_head[node->tc_num][node->tx_sched_layer] = in ice_free_sched_node()881 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()893 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()894 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1384 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()1400 node->tc_num = j; in ice_update_port_tc_tree_cfg()
380 u8 tc_num; member
196 u8 tc_num; member