Home
last modified time | relevance | path

Searched refs:tc_num (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_dcb.c130 u8 tc_num) in hclge_ets_sch_mode_validate() argument
144 if (i >= tc_num) { in hclge_ets_sch_mode_validate()
181 u8 tc_num; in hclge_ets_validate() local
184 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()
H A Dhclge_main.h349 u8 tc_num; member
H A Dhclge_main.c1203 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() local
1969 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() local
2151 if (tc_num) in hclge_only_alloc_priv_buff()
2152 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h161 u8 tc_num; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c276 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()
H A Dice_dcb.c1612 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1628 node->tc_num = j; in ice_update_port_tc_tree_cfg()
H A Dice_type.h541 u8 tc_num; member