Searched refs:pool_res (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3824 struct be_resources pool_res, in be_fill_vf_res_template() argument 3828 u32 vf_if_cap_flags = pool_res.vf_if_cap_flags; in be_fill_vf_res_template() 3845 if (pool_res.if_cap_flags & BE_IF_FLAGS_DEFQ_RSS) 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() 3884 struct be_resources pool_res, u16 num_vfs, in be_cmd_set_sriov_config() argument 3909 be_fill_vf_res_template(adapter, pool_res, num_vfs, num_vf_qs, in be_cmd_set_sriov_config()
|
D | be.h | 557 struct be_resources pool_res; /* resources available for the port */ member 594 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
|
D | be_main.c | 3480 struct be_resources res = adapter->pool_res; in be_calculate_vf_qs() 3523 be_cmd_set_sriov_config(adapter, adapter->pool_res, in be_clear() 3797 adapter->pool_res = res; in be_get_sriov_config() 3808 adapter->pool_res.max_vfs = in be_get_sriov_config() 3834 status = be_cmd_set_sriov_config(adapter, adapter->pool_res, 0, in be_alloc_sriov_res() 5693 status = be_cmd_set_sriov_config(adapter, adapter->pool_res, in be_pci_sriov_configure()
|