Searched refs:num_vf_msix (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pci_irq.c | 63 int num_vf_msix, min_msix, max_msix; in mlx5_get_default_msix_vec_count() local 65 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_get_default_msix_vec_count() 66 if (!num_vf_msix) in mlx5_get_default_msix_vec_count() 77 return max(min(num_vf_msix / num_vfs, max_msix / 2), min_msix); in mlx5_get_default_msix_vec_count() 92 int num_vf_msix, min_msix, max_msix; in mlx5_set_msix_vec_count() local 97 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_set_msix_vec_count() 98 if (!num_vf_msix) in mlx5_set_msix_vec_count()
|
D | sriov.c | 236 int num_vf_msix, id; in mlx5_core_sriov_set_msix_vec_count() local 239 num_vf_msix = MLX5_CAP_GEN_MAX(dev, num_total_dynamic_vf_msix); in mlx5_core_sriov_set_msix_vec_count() 240 if (!num_vf_msix) in mlx5_core_sriov_set_msix_vec_count()
|