Lines Matching refs:vft_res
4029 struct be_resources *vft_res) in be_calculate_vf_res() argument
4064 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4078 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4082 vft_res->vf_if_cap_flags = vf_if_cap_flags; in be_calculate_vf_res()
4083 vft_res->max_rx_qs = num_vf_qs; in be_calculate_vf_res()
4084 vft_res->max_rss_qs = num_vf_qs; in be_calculate_vf_res()
4085 vft_res->max_tx_qs = res.max_tx_qs / (num_vfs + 1); in be_calculate_vf_res()
4086 vft_res->max_cq_count = res.max_cq_count / (num_vfs + 1); in be_calculate_vf_res()
4092 vft_res->max_uc_mac = res.max_uc_mac / (num_vfs + 1); in be_calculate_vf_res()
4095 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()
4098 vft_res->max_iface_count = res.max_iface_count / (num_vfs + 1); in be_calculate_vf_res()
4101 vft_res->max_mcc_count = res.max_mcc_count / (num_vfs + 1); in be_calculate_vf_res()
4121 struct be_resources vft_res = {0}; in be_clear() local
4137 &vft_res); in be_clear()
4140 &vft_res); in be_clear()
4469 struct be_resources vft_res = {0}; in be_alloc_sriov_res() local
4483 be_calculate_vf_res(adapter, 0, &vft_res); in be_alloc_sriov_res()
4485 &vft_res); in be_alloc_sriov_res()
6180 struct be_resources vft_res = {0}; in be_pci_sriov_configure() local
6204 &vft_res); in be_pci_sriov_configure()
6206 adapter->num_vfs, &vft_res); in be_pci_sriov_configure()