Searched refs:nic_vft (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3826 struct be_nic_res_desc *nic_vft) be_fill_vf_res_template()
3842 nic_vft->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); be_fill_vf_res_template()
3852 nic_vft->cap_flags = cpu_to_le32(vf_if_cap_flags); be_fill_vf_res_template()
3857 nic_vft->rq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3858 nic_vft->txq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3859 nic_vft->rssq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3860 nic_vft->cq_count = cpu_to_le16(pool_res.max_cq_count / be_fill_vf_res_template()
3867 nic_vft->unicast_mac_count = cpu_to_le16(pool_res.max_uc_mac / be_fill_vf_res_template()
3871 nic_vft->vlan_count = cpu_to_le16(pool_res.max_vlans / be_fill_vf_res_template()
3875 nic_vft->iface_count = cpu_to_le16(pool_res.max_iface_count / be_fill_vf_res_template()
3879 nic_vft->mcc_count = cpu_to_le16(pool_res.max_mcc_count / be_fill_vf_res_template()
3889 struct be_nic_res_desc nic_vft; be_cmd_set_sriov_config() member in struct:__anon6439
3902 be_reset_nic_desc(&desc.nic_vft); be_cmd_set_sriov_config()
3903 desc.nic_vft.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; be_cmd_set_sriov_config()
3904 desc.nic_vft.hdr.desc_len = RESOURCE_DESC_SIZE_V1; be_cmd_set_sriov_config()
3905 desc.nic_vft.flags = BIT(VFT_SHIFT) | BIT(IMM_SHIFT) | BIT(NOSV_SHIFT); be_cmd_set_sriov_config()
3906 desc.nic_vft.pf_num = adapter->pdev->devfn; be_cmd_set_sriov_config()
3907 desc.nic_vft.vf_num = 0; be_cmd_set_sriov_config()
3910 &desc.nic_vft); be_cmd_set_sriov_config()
3823 be_fill_vf_res_template(struct be_adapter *adapter, struct be_resources pool_res, u16 num_vfs, u16 num_vf_qs, struct be_nic_res_desc *nic_vft) be_fill_vf_res_template() argument

Completed in 65 milliseconds