Searched refs:vf_count (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.c | 121 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 …]
|
H A D | ef100_sriov.c | 23 efx->vf_count = num_vfs; in efx_ef100_pci_sriov_enable() 44 efx->vf_count = 0; in efx_ef100_pci_sriov_enable()
|
H A D | net_driver.h | 1132 unsigned vf_count; member
|
H A D | ef10.c | 1406 for (i = 0; i < efx->vf_count; i++) in efx_ef10_table_reset_mc_allocations()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | siena_sriov.c | 207 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd() 1026 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() 1200 nic_data->vf = kcalloc(efx->vf_count, sizeof(*nic_data->vf), in efx_siena_sriov_vf_alloc() 1205 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vf_alloc() 1229 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_vfs_fini() 1259 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vfs_init() 1299 if (efx->vf_count == 0) in efx_siena_sriov_init() [all …]
|
H A D | farch.c | 1709 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()
|
H A D | net_driver.h | 1091 unsigned vf_count; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.c | 249 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() 1157 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc() 1625 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_src_init_pf() 1672 for (i = 0; i < p_mngr->vf_count; i++) { in qed_tm_init_pf() [all …]
|
H A D | qed_cxt.h | 322 u32 vf_count; member
|
H A D | qed_debug.c | 4715 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/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.c | 1575 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()
|