Lines Matching refs:nic_vft
3826 struct be_nic_res_desc *nic_vft) in be_fill_vf_res_template() argument
3842 nic_vft->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_fill_vf_res_template()
3852 nic_vft->cap_flags = cpu_to_le32(vf_if_cap_flags); in be_fill_vf_res_template()
3857 nic_vft->rq_count = cpu_to_le16(num_vf_qs); in be_fill_vf_res_template()
3858 nic_vft->txq_count = cpu_to_le16(num_vf_qs); in be_fill_vf_res_template()
3859 nic_vft->rssq_count = cpu_to_le16(num_vf_qs); in be_fill_vf_res_template()
3860 nic_vft->cq_count = cpu_to_le16(pool_res.max_cq_count / in be_fill_vf_res_template()
3867 nic_vft->unicast_mac_count = cpu_to_le16(pool_res.max_uc_mac / in be_fill_vf_res_template()
3871 nic_vft->vlan_count = cpu_to_le16(pool_res.max_vlans / in be_fill_vf_res_template()
3875 nic_vft->iface_count = cpu_to_le16(pool_res.max_iface_count / in be_fill_vf_res_template()
3879 nic_vft->mcc_count = cpu_to_le16(pool_res.max_mcc_count / in be_fill_vf_res_template()
3889 struct be_nic_res_desc nic_vft; in be_cmd_set_sriov_config() member
3902 be_reset_nic_desc(&desc.nic_vft); in be_cmd_set_sriov_config()
3903 desc.nic_vft.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; in be_cmd_set_sriov_config()
3904 desc.nic_vft.hdr.desc_len = RESOURCE_DESC_SIZE_V1; in be_cmd_set_sriov_config()
3905 desc.nic_vft.flags = BIT(VFT_SHIFT) | BIT(IMM_SHIFT) | BIT(NOSV_SHIFT); in be_cmd_set_sriov_config()
3906 desc.nic_vft.pf_num = adapter->pdev->devfn; in be_cmd_set_sriov_config()
3907 desc.nic_vft.vf_num = 0; in be_cmd_set_sriov_config()
3910 &desc.nic_vft); in be_cmd_set_sriov_config()