Home
last modified time | relevance | path

Searched refs:vf_count (Results 1 – 11 of 11) 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()
192 nic_data->vf = kcalloc(efx->vf_count, sizeof(struct ef10_vf), in efx_ef10_sriov_alloc_vf_vswitching()
197 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_alloc_vf_vswitching()
218 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_restore_vf_vswitching()
382 efx->vf_count = num_vfs; in efx_ef10_pci_sriov_enable()
396 efx->vf_count = 0; in efx_ef10_pci_sriov_enable()
422 for (i = 0; i < efx->vf_count; i++) in efx_ef10_pci_sriov_disable()
430 efx->vf_count = 0; in efx_ef10_pci_sriov_disable()
496 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_mac()
567 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.c1707 if (efx->vf_count > vf_limit) { in efx_farch_dimension_resources()
1710 efx->vf_count, vf_limit); in efx_farch_dimension_resources()
1711 efx->vf_count = vf_limit; in efx_farch_dimension_resources()
1713 vi_count += efx->vf_count * efx_vf_size(efx); in efx_farch_dimension_resources()
Dnet_driver.h1148 unsigned vf_count; member
Def10.c1406 for (i = 0; i < efx->vf_count; i++) in efx_ef10_table_reset_mc_allocations()
/drivers/net/ethernet/intel/ice/
Dice_sriov.c485 enum ice_status ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count) in ice_mbx_init_snapshot() argument
493 if (!vf_count || vf_count > hw->func_caps.num_allocd_vfs) in ice_mbx_init_snapshot()
496 snap->mbx_vf.vf_cntr = devm_kcalloc(ice_hw_to_dev(hw), vf_count, in ice_mbx_init_snapshot()
505 snap->mbx_vf.vfcntr_len = vf_count; in ice_mbx_init_snapshot()
Dice_sriov.h28 enum ice_status ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count);
/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.h322 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()