Searched refs:totalvfs (Results 1 – 7 of 7) sorted by relevance
58 int totalvfs = pci_sriov_get_totalvfs(pdev); in xe_sriov_pf_readiness() local59 int newlimit = min_t(u16, wanted_max_vfs(xe), totalvfs); in xe_sriov_pf_readiness()61 xe_assert(xe, totalvfs <= U16_MAX); in xe_sriov_pf_readiness()74 xe->sriov.pf.device_total_vfs = totalvfs; in xe_sriov_pf_readiness()
1457 unsigned int n, totalvfs; in xe_gt_sriov_pf_control_init() local1461 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_control_init()1462 for (n = 0; n <= totalvfs; n++) { in xe_gt_sriov_pf_control_init()1488 unsigned int n, totalvfs; in xe_gt_sriov_pf_control_restart() local1494 totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_control_restart()1495 for (n = 1; n <= totalvfs; n++) in xe_gt_sriov_pf_control_restart()
535 int n, totalvfs = xe_sriov_pf_get_totalvfs(xe); in xe_gt_sriov_pf_debugfs_register() local567 for (n = 1; n <= totalvfs; n++) { in xe_gt_sriov_pf_debugfs_register()
798 int totalvfs; in octep_vdpa_pf_setup() local802 totalvfs = pci_sriov_get_totalvfs(pdev); in octep_vdpa_pf_setup()803 if (unlikely(!totalvfs)) { in octep_vdpa_pf_setup()804 dev_info(&pdev->dev, "Total VFs are %d in PF sriov configuration\n", totalvfs); in octep_vdpa_pf_setup()817 octpf->vf_stride = len / totalvfs; in octep_vdpa_pf_setup()
363 int totalvfs; in genwqe_setup_vf_jtimer() local365 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer()366 if (totalvfs <= 0) in genwqe_setup_vf_jtimer()369 for (vf = 0; vf < totalvfs; vf++) { in genwqe_setup_vf_jtimer()
51 复,例如,如果启用VF,检查numvfs == 0,确保numvfs <= totalvfs。
50 numvfs <= totalvfs.