Lines Matching refs:vft_res
4042 struct be_resources *vft_res) in be_calculate_vf_res() argument
4077 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4091 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4095 vft_res->vf_if_cap_flags = vf_if_cap_flags; in be_calculate_vf_res()
4096 vft_res->max_rx_qs = num_vf_qs; in be_calculate_vf_res()
4097 vft_res->max_rss_qs = num_vf_qs; in be_calculate_vf_res()
4098 vft_res->max_tx_qs = res.max_tx_qs / (num_vfs + 1); in be_calculate_vf_res()
4099 vft_res->max_cq_count = res.max_cq_count / (num_vfs + 1); in be_calculate_vf_res()
4105 vft_res->max_uc_mac = res.max_uc_mac / (num_vfs + 1); in be_calculate_vf_res()
4108 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()
4111 vft_res->max_iface_count = res.max_iface_count / (num_vfs + 1); in be_calculate_vf_res()
4114 vft_res->max_mcc_count = res.max_mcc_count / (num_vfs + 1); in be_calculate_vf_res()
4134 struct be_resources vft_res = {0}; in be_clear() local
4150 &vft_res); in be_clear()
4153 &vft_res); in be_clear()
4482 struct be_resources vft_res = {0}; in be_alloc_sriov_res() local
4496 be_calculate_vf_res(adapter, 0, &vft_res); in be_alloc_sriov_res()
4498 &vft_res); in be_alloc_sriov_res()
6026 struct be_resources vft_res = {0}; in be_pci_sriov_configure() local
6050 &vft_res); in be_pci_sriov_configure()
6052 adapter->num_vfs, &vft_res); in be_pci_sriov_configure()