Searched refs:vf_count (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 124 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_free_vf_vports() 196 nic_data->vf = kcalloc(efx->vf_count, sizeof(struct ef10_vf), in efx_ef10_sriov_alloc_vf_vswitching() 201 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_alloc_vf_vswitching() 224 for (i = 0; i < efx->vf_count; i++) { in efx_ef10_sriov_restore_vf_vswitching() 389 efx->vf_count = num_vfs; in efx_ef10_pci_sriov_enable() 403 efx->vf_count = 0; in efx_ef10_pci_sriov_enable() 426 efx->vf_count = 0; in efx_ef10_pci_sriov_disable() 457 for (i = 0; i < efx->vf_count; ++i) { in efx_ef10_sriov_fini() 498 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_mac() 570 if (vf_i >= efx->vf_count) in efx_ef10_sriov_set_vf_vlan() [all …]
|
D | siena_sriov.c | 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() [all …]
|
D | farch.c | 1707 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()
|
D | net_driver.h | 1079 unsigned vf_count; member
|
D | ef10.c | 1513 for (i = 0; i < efx->vf_count; i++) in efx_ef10_reset_mc_allocations() 5896 for (i = 0; i < efx_pf->vf_count; ++i) { in efx_ef10_set_mac_address()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 220 u32 vf_count; member 400 iids->vf_cids += vf_cids * p_mngr->vf_count; in qed_cxt_qm_iids() 401 iids->tids += vf_tids * p_mngr->vf_count; in qed_cxt_qm_iids() 629 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute() 730 for (i = 1; i < p_mngr->vf_count; i++) { in qed_cxt_cfg_ilt_compute() 774 total = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_cfg_ilt_compute() 816 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute() 920 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_src_t2_alloc() 1105 for (k = 0; k < p_mngr->vf_count; k++) { in qed_ilt_shadow_alloc() 1250 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 1164 int vf, rc, vf_count; in cudbg_collect_rss_vf_config() local 1166 vf_count = padap->params.arch.vfcount; in cudbg_collect_rss_vf_config() 1168 vf_count * sizeof(struct cudbg_rss_vf_conf), in cudbg_collect_rss_vf_config() 1174 for (vf = 0; vf < vf_count; vf++) in cudbg_collect_rss_vf_config()
|