Searched refs:vf_count (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 121 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() 386 efx->vf_count = num_vfs; in efx_ef10_pci_sriov_enable() 400 efx->vf_count = 0; in efx_ef10_pci_sriov_enable() 423 efx->vf_count = 0; in efx_ef10_pci_sriov_disable() 454 for (i = 0; i < efx->vf_count; ++i) { in efx_ef10_sriov_fini() 495 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 …]
|
D | siena_sriov.c | 206 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd() 1024 efx->vf_count = 0; in efx_siena_sriov_handle_no_channel() 1066 efx->vf_count = count; in efx_siena_sriov_probe() 1103 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work() 1159 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_peer_work() 1198 nic_data->vf = kcalloc(efx->vf_count, sizeof(*nic_data->vf), in efx_siena_sriov_vf_alloc() 1203 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vf_alloc() 1227 for (pos = 0; pos < efx->vf_count; ++pos) { in efx_siena_sriov_vfs_fini() 1257 for (index = 0; index < efx->vf_count; ++index) { in efx_siena_sriov_vfs_init() 1297 if (efx->vf_count == 0) in efx_siena_sriov_init() [all …]
|
D | farch.c | 1704 if (efx->vf_count > vf_limit) { in efx_farch_dimension_resources() 1707 efx->vf_count, vf_limit); in efx_farch_dimension_resources() 1708 efx->vf_count = vf_limit; in efx_farch_dimension_resources() 1710 vi_count += efx->vf_count * efx_vf_size(efx); in efx_farch_dimension_resources()
|
D | net_driver.h | 1076 unsigned vf_count; member
|
D | ef10.c | 1510 for (i = 0; i < efx->vf_count; i++) in efx_ef10_reset_mc_allocations() 5893 for (i = 0; i < efx_pf->vf_count; ++i) { in efx_ef10_set_mac_address()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 219 u32 vf_count; member 399 iids->vf_cids += vf_cids * p_mngr->vf_count; in qed_cxt_qm_iids() 400 iids->tids += vf_tids * p_mngr->vf_count; in qed_cxt_qm_iids() 628 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute() 729 for (i = 1; i < p_mngr->vf_count; i++) { in qed_cxt_cfg_ilt_compute() 773 total = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_cfg_ilt_compute() 815 for (i = 1; i < p_mngr->vf_count; i++) in qed_cxt_cfg_ilt_compute() 919 conn_num = src_iids.pf_cids + src_iids.per_vf_cids * p_mngr->vf_count; in qed_cxt_src_t2_alloc() 1104 for (k = 0; k < p_mngr->vf_count; k++) { in qed_ilt_shadow_alloc() 1249 p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; in qed_cxt_mngr_alloc() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 1160 int vf, rc, vf_count; in cudbg_collect_rss_vf_config() local 1162 vf_count = padap->params.arch.vfcount; in cudbg_collect_rss_vf_config() 1164 vf_count * sizeof(struct cudbg_rss_vf_conf), in cudbg_collect_rss_vf_config() 1170 for (vf = 0; vf < vf_count; vf++) in cudbg_collect_rss_vf_config()
|