Searched refs:nvfs (Results 1 – 5 of 5) 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()
257 u32 nvfs; in bnxt_re_limit_vf_res() local265 nvfs = num_vf; in bnxt_re_limit_vf_res()280 nvfs = num_vf; in bnxt_re_limit_vf_res()284 vf_res->max_mrw_per_vf = (mrws / nvfs); in bnxt_re_limit_vf_res()
441 int pf, vf, nvfs; in is_pf_func_valid() local454 nvfs = (cfg >> 12) & 0xFF; in is_pf_func_valid()455 if (vf >= nvfs) in is_pf_func_valid()
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()