Lines Matching refs:nic_vft
4637 struct be_nic_res_desc nic_vft; in be_cmd_set_sriov_config() member
4650 be_reset_nic_desc(&desc.nic_vft); in be_cmd_set_sriov_config()
4651 desc.nic_vft.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; in be_cmd_set_sriov_config()
4652 desc.nic_vft.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_set_sriov_config()
4653 desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) | in be_cmd_set_sriov_config()
4655 desc.nic_vft.pf_num = adapter->pdev->devfn; in be_cmd_set_sriov_config()
4656 desc.nic_vft.vf_num = 0; in be_cmd_set_sriov_config()
4657 desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags); 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()
4661 desc.nic_vft.cq_count = cpu_to_le16(vft_res->max_cq_count); in be_cmd_set_sriov_config()
4664 desc.nic_vft.unicast_mac_count = in be_cmd_set_sriov_config()
4667 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans); in be_cmd_set_sriov_config()
4669 desc.nic_vft.iface_count = in be_cmd_set_sriov_config()
4672 desc.nic_vft.mcc_count = cpu_to_le16(vft_res->max_mcc_count); in be_cmd_set_sriov_config()