Searched refs:pool_res (Results 1 – 3 of 3) sorted by relevance
| /linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
| D | be_cmds.c | 3910 struct be_resources pool_res, in be_fill_vf_res_template() argument 3914 u32 vf_if_cap_flags = pool_res.vf_if_cap_flags; in be_fill_vf_res_template() 3931 if (pool_res.if_cap_flags & BE_IF_FLAGS_DEFQ_RSS) in be_fill_vf_res_template() 3950 nic_vft->cq_count = cpu_to_le16(pool_res.max_cq_count / in be_fill_vf_res_template() 3957 nic_vft->unicast_mac_count = cpu_to_le16(pool_res.max_uc_mac / in be_fill_vf_res_template() 3961 nic_vft->vlan_count = cpu_to_le16(pool_res.max_vlans / in be_fill_vf_res_template() 3965 nic_vft->iface_count = cpu_to_le16(pool_res.max_iface_count / in be_fill_vf_res_template() 3969 nic_vft->mcc_count = cpu_to_le16(pool_res.max_mcc_count / in be_fill_vf_res_template() 3974 struct be_resources pool_res, u16 num_vfs, in be_cmd_set_sriov_config() argument 3999 be_fill_vf_res_template(adapter, pool_res, num_vfs, num_vf_qs, in be_cmd_set_sriov_config()
|
| D | be.h | 574 struct be_resources pool_res; /* resources available for the port */ member 617 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
|
| D | be_main.c | 3791 struct be_resources res = adapter->pool_res; in be_calculate_vf_qs() 3834 be_cmd_set_sriov_config(adapter, adapter->pool_res, in be_clear() 4106 adapter->pool_res = res; in be_get_sriov_config() 4117 adapter->pool_res.max_vfs = in be_get_sriov_config() 4143 status = be_cmd_set_sriov_config(adapter, adapter->pool_res, 0, in be_alloc_sriov_res() 6047 status = be_cmd_set_sriov_config(adapter, adapter->pool_res, in be_pci_sriov_configure()
|