Searched refs:nvfs (Results 1 – 3 of 3) sorted by relevance
1949 static int funeth_sriov_configure(struct pci_dev *pdev, int nvfs) in funeth_sriov_configure() argument1955 if (nvfs == 0) { in funeth_sriov_configure()1969 rc = pci_enable_sriov(pdev, nvfs); in funeth_sriov_configure()1974 rc = fun_init_vports(ed, nvfs); in funeth_sriov_configure()1981 return nvfs; in funeth_sriov_configure()
859 int nvfs[MLX4_MAX_PORTS + 1]; member
3192 unsigned int i, vf, nvfs; in cxgb4_mgmt_fill_vf_station_mac_addr() local3217 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr()3218 vf < nvfs; vf++) { in cxgb4_mgmt_fill_vf_station_mac_addr()3219 macaddr[5] = adap->pf * nvfs + vf; in cxgb4_mgmt_fill_vf_station_mac_addr()