Searched refs:vft_res (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 4042 struct be_resources *vft_res) in be_calculate_vf_res() 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 in be_calculate_vf_res() 4041 be_calculate_vf_res(struct be_adapter *adapter, u16 num_vfs, struct be_resources *vft_res) be_calculate_vf_res() argument 4134 struct be_resources vft_res = {0}; be_clear() local 4482 struct be_resources vft_res = {0}; be_alloc_sriov_res() local 6052 struct be_resources vft_res = {0}; be_pci_sriov_configure() local [all...] |
H A D | be_cmds.c | 4632 struct be_resources *vft_res) in be_cmd_set_sriov_config() 4652 desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) | in be_cmd_set_sriov_config() 4656 desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags); in be_cmd_set_sriov_config() 4657 desc.nic_vft.rq_count = cpu_to_le16(vft_res->max_rx_qs); in be_cmd_set_sriov_config() 4658 desc.nic_vft.txq_count = cpu_to_le16(vft_res->max_tx_qs); in be_cmd_set_sriov_config() 4659 desc.nic_vft.rssq_count = cpu_to_le16(vft_res->max_rss_qs); in be_cmd_set_sriov_config() 4660 desc.nic_vft.cq_count = cpu_to_le16(vft_res->max_cq_count); in be_cmd_set_sriov_config() 4662 if (vft_res->max_uc_mac) in be_cmd_set_sriov_config() 4664 cpu_to_le16(vft_res->max_uc_mac); in be_cmd_set_sriov_config() 4665 if (vft_res in be_cmd_set_sriov_config() 4630 be_cmd_set_sriov_config(struct be_adapter *adapter, struct be_resources pool_res, u16 num_vfs, struct be_resources *vft_res) be_cmd_set_sriov_config() argument [all...] |
H A D | be_cmds.h | 2510 struct be_resources *vft_res);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 4042 struct be_resources *vft_res) in be_calculate_vf_res() 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 in be_calculate_vf_res() 4041 be_calculate_vf_res(struct be_adapter *adapter, u16 num_vfs, struct be_resources *vft_res) be_calculate_vf_res() argument 4134 struct be_resources vft_res = {0}; be_clear() local 4482 struct be_resources vft_res = {0}; be_alloc_sriov_res() local 6029 struct be_resources vft_res = {0}; be_pci_sriov_configure() local [all...] |
H A D | be_cmds.c | 4633 struct be_resources *vft_res) in be_cmd_set_sriov_config() 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 in be_cmd_set_sriov_config() 4631 be_cmd_set_sriov_config(struct be_adapter *adapter, struct be_resources pool_res, u16 num_vfs, struct be_resources *vft_res) be_cmd_set_sriov_config() argument [all...] |
H A D | be_cmds.h | 2510 struct be_resources *vft_res);
|
Completed in 40 milliseconds