Home
last modified time | relevance | path

Searched refs:vf_count (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/sfc/
Def10_sriov.c121 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_free_vf_vports()
193 nic_data->vf = kcalloc(efx->vf_count, sizeof(struct ef10_vf), in efx_ef10_sriov_alloc_vf_vswitching()
198 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_alloc_vf_vswitching()
221 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_restore_vf_vswitching()
385 efx->vf_count = num_vfs; in efx_ef10_pci_sriov_enable()
399 efx->vf_count = 0; in efx_ef10_pci_sriov_enable()
425 for (i = 0; i < efx->vf_count; i++) in efx_ef10_pci_sriov_disable()
433 efx->vf_count = 0; in efx_ef10_pci_sriov_disable()
497 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_mac()
568 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_vlan()
[all …]
Dsiena_sriov.c207 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd()
1025 efx->vf_count = 0; in efx_siena_sriov_handle_no_channel()
1067 efx->vf_count = count; in efx_siena_sriov_probe()
1104 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1160 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1199 nic_data->vf = kcalloc(efx->vf_count, sizeof(*nic_data->vf), in efx_siena_sriov_vf_alloc()
1204 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vf_alloc()
1228 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_vfs_fini()
1258 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vfs_init()
1298 if (efx->vf_count == 0) in efx_siena_sriov_init()
[all …]
Dfarch.c1706 if (efx->vf_count > vf_limit) { in efx_farch_dimension_resources()
1709 efx->vf_count, vf_limit); in efx_farch_dimension_resources()
1710 efx->vf_count = vf_limit; in efx_farch_dimension_resources()
1712 vi_count += efx->vf_count * efx_vf_size(efx); in efx_farch_dimension_resources()
Dnet_driver.h1140 unsigned vf_count; member
Def10.c1406 for (i = 0; i < efx->vf_count; i++) in efx_ef10_table_reset_mc_allocations()
/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c249 iids->tids += vf_tids * p_mngr->vf_count; in qed_cxt_qm_iids()
518 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute()
619 for (i = 1; i < p_mngr->vf_count; i++) { in qed_cxt_cfg_ilt_compute()
663 total = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_cfg_ilt_compute()
705 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute()
839 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_src_t2_alloc()
1015 for (k = 0; k < p_mngr->vf_count; k++) { in qed_ilt_shadow_alloc()
1162 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc()
1639 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_src_init_pf()
1686 for (i = 0; i < p_mngr->vf_count; i++) { in qed_tm_init_pf()
[all …]
Dqed_cxt.h310 u32 vf_count; member
Dqed_debug.c4582 for (i = 0; i < p_hwfn->p_cxt_mngr->vf_count; in qed_ilt_dump_pages_section()
4612 for (i = 0; i < p_hwfn->p_cxt_mngr->vf_count; in qed_ilt_dump_pages_section()
4724 p_hwfn->p_cxt_mngr->vf_count); in qed_ilt_dump()
/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1575 int vf, rc, vf_count; in cudbg_collect_rss_vf_config() local
1577 vf_count = padap->params.arch.vfcount; in cudbg_collect_rss_vf_config()
1579 vf_count * sizeof(struct cudbg_rss_vf_conf), in cudbg_collect_rss_vf_config()
1585 for (vf = 0; vf < vf_count; vf++) in cudbg_collect_rss_vf_config()