Home
last modified time | relevance | path

Searched refs:nr_vfn (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_init.c6220 * function. It invokes the PCI SR-IOV api with the @nr_vfn provided to
6243 * @nr_vfn: number of virtual functions to be enabled.
6246 * function. It invokes the PCI SR-IOV api with the @nr_vfn provided to
6252 lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba *phba, int nr_vfn) in lpfc_sli_probe_sriov_nr_virtfn() argument
6259 if (nr_vfn > max_nr_vfn) { in lpfc_sli_probe_sriov_nr_virtfn()
6262 "supported vfs (%d)", nr_vfn, max_nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()
6266 rc = pci_enable_sriov(pdev, nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()
6271 nr_vfn, rc); in lpfc_sli_probe_sriov_nr_virtfn()
6275 "with vfn number nr_vf:%d\n", nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_init.c7591 * function. It invokes the PCI SR-IOV api with the @nr_vfn provided to
7614 * @nr_vfn: number of virtual functions to be enabled.
7617 * function. It invokes the PCI SR-IOV api with the @nr_vfn provided to
7623 lpfc_sli_probe_sriov_nr_virtfn(struct lpfc_hba *phba, int nr_vfn) in lpfc_sli_probe_sriov_nr_virtfn() argument
7630 if (nr_vfn > max_nr_vfn) { in lpfc_sli_probe_sriov_nr_virtfn()
7633 "supported vfs (%d)", nr_vfn, max_nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()
7637 rc = pci_enable_sriov(pdev, nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()
7642 nr_vfn, rc); in lpfc_sli_probe_sriov_nr_virtfn()
7646 "with vfn number nr_vf:%d\n", nr_vfn); in lpfc_sli_probe_sriov_nr_virtfn()

Completed in 28 milliseconds