Lines Matching refs:vf_count
209 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd()
1027 efx->vf_count = 0; in efx_siena_sriov_handle_no_channel()
1069 efx->vf_count = count; in efx_siena_sriov_probe()
1106 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1162 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1201 nic_data->vf = kcalloc(efx->vf_count, sizeof(*nic_data->vf), in efx_siena_sriov_vf_alloc()
1206 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vf_alloc()
1230 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_vfs_fini()
1260 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vfs_init()
1300 if (efx->vf_count == 0) in efx_siena_sriov_init()
1318 vfdi_status->peer_count = 1 + efx->vf_count; in efx_siena_sriov_init()
1336 efx->vf_init_count = efx->vf_count; in efx_siena_sriov_init()
1343 rc = pci_enable_sriov(efx->pci_dev, efx->vf_count); in efx_siena_sriov_init()
1349 efx->vf_count, efx_vf_size(efx)); in efx_siena_sriov_init()
1387 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_fini()
1682 return efx->vf_count != 0; in efx_siena_sriov_wanted()