Searched refs:tc_num (Results 1 – 7 of 7) sorted by relevance
130 u8 tc_num) in hclge_ets_sch_mode_validate() argument144 if (i >= tc_num) { in hclge_ets_sch_mode_validate()181 u8 tc_num; in hclge_ets_validate() local184 tc_num = hclge_ets_tc_changed(hdev, ets, changed); in hclge_ets_validate()186 ret = hclge_dcb_common_validate(hdev, tc_num, ets->prio_tc); in hclge_ets_validate()190 ret = hclge_ets_sch_mode_validate(hdev, ets, changed, tc_num); in hclge_ets_validate()194 *tc = tc_num; in hclge_ets_validate()
338 u8 tc_num; member
1303 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()1605 hdev->tc_max = cfg.tc_num; in hclge_configure()2049 u32 tc_num = hclge_get_tc_num(hdev); in hclge_is_rx_buf_ok() local2063 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()2087 if (tc_num <= NEED_RESERVE_TC_NUM) in hclge_is_rx_buf_ok()2091 if (tc_num) in hclge_is_rx_buf_ok()2092 hi_thrd = hi_thrd / tc_num; in hclge_is_rx_buf_ok()2240 u32 tc_num = hclge_get_tc_num(hdev); in hclge_only_alloc_priv_buff() local2245 if (tc_num) in hclge_only_alloc_priv_buff()2246 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()[all …]
161 u8 tc_num; member
272 return pi->sib_head[parent->tc_num][layer]; in ice_sched_get_first_node()289 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node()350 if (pi->sib_head[node->tc_num][node->tx_sched_layer] == node) in ice_free_sched_node()351 pi->sib_head[node->tc_num][node->tx_sched_layer] = in ice_free_sched_node()942 new_node->tc_num = tc_node->tc_num; 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()
1573 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()1589 node->tc_num = j; in ice_update_port_tc_tree_cfg()
532 u8 tc_num; member