Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_vf_mbx.c436 int ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count) in ice_mbx_init_snapshot() argument
444 if (!vf_count || vf_count > hw->func_caps.num_allocd_vfs) in ice_mbx_init_snapshot()
447 snap->mbx_vf.vf_cntr = devm_kcalloc(ice_hw_to_dev(hw), vf_count, in ice_mbx_init_snapshot()
456 snap->mbx_vf.vfcntr_len = vf_count; in ice_mbx_init_snapshot()
A Dice_vf_mbx.h28 int ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count);
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A 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()
561 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_vlan()
[all …]
A Def100_sriov.c23 efx->vf_count = num_vfs; in efx_ef100_pci_sriov_enable()
44 efx->vf_count = 0; in efx_ef100_pci_sriov_enable()
A Dnet_driver.h1172 unsigned vf_count; member
A Def10.c1393 for (i = 0; i < efx->vf_count; i++) in efx_ef10_table_reset_mc_allocations()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dsiena_sriov.c1026 efx->vf_count = 0; in efx_siena_sriov_handle_no_channel()
1068 efx->vf_count = count; in efx_siena_sriov_probe()
1105 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1161 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work()
1229 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_vfs_fini()
1299 if (efx->vf_count == 0) in efx_siena_sriov_init()
1317 vfdi_status->peer_count = 1 + efx->vf_count; in efx_siena_sriov_init()
1335 efx->vf_init_count = efx->vf_count; in efx_siena_sriov_init()
1348 efx->vf_count, efx_vf_size(efx)); in efx_siena_sriov_init()
1386 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_fini()
[all …]
A Dfarch.c1709 if (efx->vf_count > vf_limit) { in efx_farch_dimension_resources()
1712 efx->vf_count, vf_limit); in efx_farch_dimension_resources()
1713 efx->vf_count = vf_limit; in efx_farch_dimension_resources()
1715 vi_count += efx->vf_count * efx_vf_size(efx); in efx_farch_dimension_resources()
A Dnet_driver.h1100 unsigned vf_count; member
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A 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()
1014 for (k = 0; k < p_mngr->vf_count; k++) { in qed_ilt_shadow_alloc()
1156 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc()
1624 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_src_init_pf()
1671 for (i = 0; i < p_mngr->vf_count; i++) { in qed_tm_init_pf()
[all …]
A Dqed_cxt.h322 u32 vf_count; member
A Dqed_debug.c4715 for (i = 0; i < p_hwfn->p_cxt_mngr->vf_count; in qed_ilt_dump_pages_section()
4745 for (i = 0; i < p_hwfn->p_cxt_mngr->vf_count; in qed_ilt_dump_pages_section()
4873 p_hwfn->p_cxt_mngr->vf_count); in qed_ilt_dump_dump_common_global_params()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A 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()

Completed in 112 milliseconds