Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_dcb.c170 u8 tc_num; in hclge_ets_validate() local
173 tc_num = hclge_ets_tc_changed(hdev, ets, changed); in hclge_ets_validate()
175 ret = hclge_dcb_common_validate(hdev, tc_num, ets->prio_tc); in hclge_ets_validate()
183 *tc = tc_num; in hclge_ets_validate()
A Dhclge_main.h378 u8 tc_num; member
A Dhclge_main.c1362 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1638 hdev->tc_max = cfg.tc_num; in hclge_configure()
2101 u32 tc_num = hclge_get_tc_num(hdev); in hclge_is_rx_buf_ok() local
2115 shared_buf_tc = tc_num * aligned_mps + aligned_mps; in hclge_is_rx_buf_ok()
2139 if (tc_num <= NEED_RESERVE_TC_NUM) in hclge_is_rx_buf_ok()
2143 if (tc_num) in hclge_is_rx_buf_ok()
2144 hi_thrd = hi_thrd / tc_num; in hclge_is_rx_buf_ok()
2292 u32 tc_num = hclge_get_tc_num(hdev); in hclge_only_alloc_priv_buff() local
2297 if (tc_num) in hclge_only_alloc_priv_buff()
2298 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.h202 u8 tc_num; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_sched.c272 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()
A Dice_dcb.c1577 tc_node->tc_num = j; in ice_update_port_tc_tree_cfg()
1593 node->tc_num = j; in ice_update_port_tc_tree_cfg()
A Dice_type.h498 u8 tc_num; member

Completed in 51 milliseconds