Home
last modified time | relevance | path

Searched refs:vft_res (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_main.c4042 struct be_resources *vft_res) in be_calculate_vf_res() argument
4077 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4091 vft_res->flags |= BIT(IF_CAPS_FLAGS_VALID_SHIFT); in be_calculate_vf_res()
4095 vft_res->vf_if_cap_flags = vf_if_cap_flags; in be_calculate_vf_res()
4096 vft_res->max_rx_qs = num_vf_qs; in be_calculate_vf_res()
4097 vft_res->max_rss_qs = num_vf_qs; in be_calculate_vf_res()
4098 vft_res->max_tx_qs = res.max_tx_qs / (num_vfs + 1); in be_calculate_vf_res()
4099 vft_res->max_cq_count = res.max_cq_count / (num_vfs + 1); in be_calculate_vf_res()
4105 vft_res->max_uc_mac = res.max_uc_mac / (num_vfs + 1); in be_calculate_vf_res()
4108 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()
[all …]
Dbe_cmds.c4633 struct be_resources *vft_res) in be_cmd_set_sriov_config() argument
4653 desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) | in be_cmd_set_sriov_config()
4657 desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags); in be_cmd_set_sriov_config()
4658 desc.nic_vft.rq_count = cpu_to_le16(vft_res->max_rx_qs); in be_cmd_set_sriov_config()
4659 desc.nic_vft.txq_count = cpu_to_le16(vft_res->max_tx_qs); in be_cmd_set_sriov_config()
4660 desc.nic_vft.rssq_count = cpu_to_le16(vft_res->max_rss_qs); in be_cmd_set_sriov_config()
4661 desc.nic_vft.cq_count = cpu_to_le16(vft_res->max_cq_count); in be_cmd_set_sriov_config()
4663 if (vft_res->max_uc_mac) in be_cmd_set_sriov_config()
4665 cpu_to_le16(vft_res->max_uc_mac); in be_cmd_set_sriov_config()
4666 if (vft_res->max_vlans) in be_cmd_set_sriov_config()
[all …]
Dbe_cmds.h2510 struct be_resources *vft_res);