Lines Matching refs:tc_num
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() local
1942 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() local
2124 if (tc_num) in hclge_only_alloc_priv_buff()
2125 rx_priv = rx_priv / tc_num; in hclge_only_alloc_priv_buff()
2127 if (tc_num <= NEED_RESERVE_TC_NUM) in hclge_only_alloc_priv_buff()