Lines Matching refs:num_tqps
114 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_update_stats()
156 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats()
160 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats()
172 return kinfo->num_tqps * 2; in hclgevf_tqps_get_sset_count()
181 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings()
189 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings()
320 memcpy(&hdev->num_tqps, &resp_msg[HCLGEVF_TQPS_ALLOC_OFFSET], in hclgevf_get_queue_info()
403 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclgevf_alloc_tqps()
410 for (i = 0; i < hdev->num_tqps; i++) { in hclgevf_alloc_tqps()
443 u16 new_tqps = hdev->num_tqps; in hclgevf_knic_setup()
459 kinfo->num_tqps = min(new_tqps, hdev->num_tqps); in hclgevf_knic_setup()
461 kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, kinfo->num_tqps, in hclgevf_knic_setup()
466 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_knic_setup()
475 kinfo->num_tqps = min_t(u16, hdev->num_nic_msix - 1, kinfo->num_tqps); in hclgevf_knic_setup()
476 kinfo->rss_size = min_t(u16, kinfo->num_tqps / num_tc, in hclgevf_knic_setup()
1296 for (i = 0; i < handle->kinfo.num_tqps; i++) { in hclgevf_tqp_enable()
1311 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_reset_tqp_stats()
1798 for (i = 1; i < handle->kinfo.num_tqps; i++) { in hclgevf_reset_tqp()
2918 dev_info(dev, "Task queue pairs numbers: %u\n", hdev->num_tqps); in hclgevf_info_show()
3565 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_get_max_channels()
3594 *alloc_tqps = hdev->num_tqps; in hclgevf_get_tqps_and_rss_info()
3608 hdev->num_tqps / kinfo->tc_info.num_tc); in hclgevf_update_rss_size()
3620 kinfo->num_tqps = kinfo->tc_info.num_tc * kinfo->rss_size; in hclgevf_update_rss_size()
3629 u16 cur_tqps = kinfo->num_tqps; in hclgevf_set_channels()
3779 return (cmdq_lines + common_lines + ring_lines * hdev->num_tqps + in hclgevf_get_regs_len()
3809 for (j = 0; j < hdev->num_tqps; j++) { in hclgevf_get_regs()