Home
last modified time | relevance | path

Searched refs:current_vfs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c479 int current_vfs = pci_num_vf(pdev); in fm10k_iov_configure() local
482 if (current_vfs && pci_vfs_assigned(pdev)) { in fm10k_iov_configure()
485 num_vfs = current_vfs; in fm10k_iov_configure()
497 if (num_vfs && num_vfs != current_vfs) { in fm10k_iov_configure()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5260 int current_vfs = pci_num_vf(pdev); in cxgb4_iov_configure() local
5273 if (current_vfs && pci_vfs_assigned(pdev)) { in cxgb4_iov_configure()
5276 return current_vfs; in cxgb4_iov_configure()
5282 if (num_vfs != 0 && current_vfs != 0) in cxgb4_iov_configure()
5286 if (num_vfs == current_vfs) in cxgb4_iov_configure()
5304 if (!current_vfs) { in cxgb4_iov_configure()
5388 if (!current_vfs) { in cxgb4_iov_configure()