Home
last modified time | relevance | path

Searched refs:num_req_vfs (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h865 u16 num_req_vfs; /* Num VFs requested for this PF */ member
Dhclge_main.c1549 hdev->num_tqps = hdev->num_req_vfs + 1; in hclge_init_kdump_kernel_config()
1831 num_vport = hdev->num_req_vfs + 1; in hclge_map_tqp()
1874 num_vport = hdev->num_req_vfs + 1; in hclge_alloc_vport()
1895 hdev->num_alloc_vfs = hdev->num_req_vfs; in hclge_alloc_vport()
6517 if (vf > hdev->num_req_vfs) { in hclge_fd_parse_ring_cookie()
6520 vf - 1U, hdev->num_req_vfs); in hclge_fd_parse_ring_cookie()
11125 dev_info(dev, "Numbers of VF for this PF: %u\n", hdev->num_req_vfs); in hclge_info_show()
11375 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e.h474 u16 num_req_vfs; /* num VFs requested for this PF */ member
Di40e_main.c12842 pf->num_req_vfs = min_t(int, in i40e_sw_init()
15230 pf->num_vf_qps && pf->num_req_vfs && queues_left) { in i40e_determine_queue_usage()
15231 pf->num_req_vfs = min_t(int, pf->num_req_vfs, in i40e_determine_queue_usage()
15233 queues_left -= (pf->num_req_vfs * pf->num_vf_qps); in i40e_determine_queue_usage()
15248 pf->num_lan_qps, pf->alloc_rss_size, pf->num_req_vfs, in i40e_determine_queue_usage()
15298 i += scnprintf(&buf[i], REMAIN(i), " VFs: %d", pf->num_req_vfs); in i40e_print_features()
Di40e_virtchnl_pf.c1876 if (num_vfs > pf->num_req_vfs) { in i40e_pci_sriov_enable()
1878 num_vfs, pf->num_req_vfs); in i40e_pci_sriov_enable()