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()
349 u8 tc_num; member
1203 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()1507 hdev->tc_max = cfg.tc_num; in hclge_configure()1955 u32 tc_num = hclge_get_tc_num(hdev); in hclge_is_rx_buf_ok() local1969 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()1993 if (tc_num <= NEED_RESERVE_TC_NUM) in hclge_is_rx_buf_ok()1997 if (tc_num) in hclge_is_rx_buf_ok()1998 hi_thrd = hi_thrd / tc_num; in hclge_is_rx_buf_ok()2146 u32 tc_num = hclge_get_tc_num(hdev); in hclge_only_alloc_priv_buff() local2151 if (tc_num) in hclge_only_alloc_priv_buff()2152 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()[all …]
161 u8 tc_num; member
276 return pi->sib_head[parent->tc_num][layer]; in ice_sched_get_first_node()293 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node()354 if (pi->sib_head[node->tc_num][node->tx_sched_layer] == node) in ice_free_sched_node()355 pi->sib_head[node->tc_num][node->tx_sched_layer] = in ice_free_sched_node()963 new_node->tc_num = tc_node->tc_num; in ice_sched_add_elems()991 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()992 pi->sib_head[tc_node->tc_num][layer] = new_node; in ice_sched_add_elems()
1612 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()1628 node->tc_num = j; in ice_update_port_tc_tree_cfg()
541 u8 tc_num; member