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

/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3912 struct be_nic_res_desc *nic_vft) be_fill_vf_res_template()
3928 nic_vft->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); be_fill_vf_res_template()
3942 nic_vft->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); be_fill_vf_res_template()
3946 nic_vft->cap_flags = cpu_to_le32(vf_if_cap_flags); be_fill_vf_res_template()
3947 nic_vft->rq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3948 nic_vft->txq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3949 nic_vft->rssq_count = cpu_to_le16(num_vf_qs); be_fill_vf_res_template()
3950 nic_vft->cq_count = cpu_to_le16(pool_res.max_cq_count / be_fill_vf_res_template()
3957 nic_vft->unicast_mac_count = cpu_to_le16(pool_res.max_uc_mac / be_fill_vf_res_template()
3961 nic_vft->vlan_count = cpu_to_le16(pool_res.max_vlans / be_fill_vf_res_template()
3965 nic_vft->iface_count = cpu_to_le16(pool_res.max_iface_count / be_fill_vf_res_template()
3969 nic_vft->mcc_count = cpu_to_le16(pool_res.max_mcc_count / be_fill_vf_res_template()
3979 struct be_nic_res_desc nic_vft; be_cmd_set_sriov_config() member in struct:__anon6820
3992 be_reset_nic_desc(&desc.nic_vft); be_cmd_set_sriov_config()
3993 desc.nic_vft.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; be_cmd_set_sriov_config()
3994 desc.nic_vft.hdr.desc_len = RESOURCE_DESC_SIZE_V1; be_cmd_set_sriov_config()
3995 desc.nic_vft.flags = BIT(VFT_SHIFT) | BIT(IMM_SHIFT) | BIT(NOSV_SHIFT); be_cmd_set_sriov_config()
3996 desc.nic_vft.pf_num = adapter->pdev->devfn; be_cmd_set_sriov_config()
3997 desc.nic_vft.vf_num = 0; be_cmd_set_sriov_config()
4000 &desc.nic_vft); be_cmd_set_sriov_config()
3909 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 107 milliseconds