Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_iov.c493 int current_vfs = pci_num_vf(pdev); in fm10k_iov_configure() local
496 if (current_vfs && pci_vfs_assigned(pdev)) { in fm10k_iov_configure()
499 num_vfs = current_vfs; in fm10k_iov_configure()
511 if (num_vfs && num_vfs != current_vfs) { in fm10k_iov_configure()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c6250 int current_vfs = pci_num_vf(pdev); in cxgb4_iov_configure() local
6263 if (current_vfs && pci_vfs_assigned(pdev)) { in cxgb4_iov_configure()
6266 return current_vfs; in cxgb4_iov_configure()
6272 if (num_vfs != 0 && current_vfs != 0) in cxgb4_iov_configure()
6276 if (num_vfs == current_vfs) in cxgb4_iov_configure()
6294 if (!current_vfs) { in cxgb4_iov_configure()
6376 if (!current_vfs) { in cxgb4_iov_configure()