Searched refs:vft_res (Results 1 – 3 of 3) sorted by relevance
4042 struct be_resources *vft_res) in be_calculate_vf_res() argument4096 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()4134 struct be_resources vft_res = {0}; in be_clear() local4150 &vft_res); in be_clear()4153 &vft_res); in be_clear()4482 struct be_resources vft_res = {0}; in be_alloc_sriov_res() local4498 &vft_res); in be_alloc_sriov_res()6026 struct be_resources vft_res = {0}; in be_pci_sriov_configure() local6050 &vft_res); in be_pci_sriov_configure()[all …]
4633 struct be_resources *vft_res) in be_cmd_set_sriov_config() argument4653 desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) | in be_cmd_set_sriov_config()4658 desc.nic_vft.rq_count = cpu_to_le16(vft_res->max_rx_qs); in be_cmd_set_sriov_config()4659 desc.nic_vft.txq_count = cpu_to_le16(vft_res->max_tx_qs); in be_cmd_set_sriov_config()4660 desc.nic_vft.rssq_count = cpu_to_le16(vft_res->max_rss_qs); in be_cmd_set_sriov_config()4663 if (vft_res->max_uc_mac) in be_cmd_set_sriov_config()4665 cpu_to_le16(vft_res->max_uc_mac); in be_cmd_set_sriov_config()4666 if (vft_res->max_vlans) in be_cmd_set_sriov_config()4668 if (vft_res->max_iface_count) in be_cmd_set_sriov_config()4670 cpu_to_le16(vft_res->max_iface_count); in be_cmd_set_sriov_config()[all …]
2507 struct be_resources *vft_res);