Lines Matching refs:vft_res
4636 struct be_resources *vft_res) in be_cmd_set_sriov_config() argument
4656 desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) | in be_cmd_set_sriov_config()
4660 desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags); in be_cmd_set_sriov_config()
4661 desc.nic_vft.rq_count = cpu_to_le16(vft_res->max_rx_qs); in be_cmd_set_sriov_config()
4662 desc.nic_vft.txq_count = cpu_to_le16(vft_res->max_tx_qs); in be_cmd_set_sriov_config()
4663 desc.nic_vft.rssq_count = cpu_to_le16(vft_res->max_rss_qs); in be_cmd_set_sriov_config()
4664 desc.nic_vft.cq_count = cpu_to_le16(vft_res->max_cq_count); in be_cmd_set_sriov_config()
4666 if (vft_res->max_uc_mac) in be_cmd_set_sriov_config()
4668 cpu_to_le16(vft_res->max_uc_mac); in be_cmd_set_sriov_config()
4669 if (vft_res->max_vlans) in be_cmd_set_sriov_config()
4670 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans); in be_cmd_set_sriov_config()
4671 if (vft_res->max_iface_count) in be_cmd_set_sriov_config()
4673 cpu_to_le16(vft_res->max_iface_count); in be_cmd_set_sriov_config()
4674 if (vft_res->max_mcc_count) in be_cmd_set_sriov_config()
4675 desc.nic_vft.mcc_count = cpu_to_le16(vft_res->max_mcc_count); in be_cmd_set_sriov_config()