Searched refs:max_sfs (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | devlink_port.c | 207 u16 max_sfs, sf_base_id; in mlx5_esw_devlink_port_res_register() local 215 err = mlx5_esw_sf_max_hpf_functions(dev, &max_sfs, in mlx5_esw_devlink_port_res_register() 220 err = mlx5_esw_sf_max_spf_functions(dev, spf_idx, &max_sfs, in mlx5_esw_devlink_port_res_register() 227 devlink_resource_size_params_init(&size_params, max_sfs, max_sfs, 1, in mlx5_esw_devlink_port_res_register() 230 return devl_port_resource_register(dl_port, "max_SFs", max_sfs, in mlx5_esw_devlink_port_res_register()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | eswitch.c | 2076 u16 vport_num, u16 *max_sfs, in mlx5_esw_sf_max_pf_functions() argument 2093 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_pf_functions() 2101 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, in mlx5_esw_sf_max_hpf_functions() argument 2106 *max_sfs = 0; in mlx5_esw_sf_max_hpf_functions() 2110 return mlx5_esw_sf_max_pf_functions(dev, MLX5_VPORT_HOST_PF, max_sfs, in mlx5_esw_sf_max_hpf_functions() 2115 u16 *max_sfs, u16 *sf_base_id) in mlx5_esw_sf_max_spf_functions() argument 2121 *max_sfs = 0; in mlx5_esw_sf_max_spf_functions() 2129 return mlx5_esw_sf_max_pf_functions(dev, vport_num, max_sfs, in mlx5_esw_sf_max_spf_functions() 2372 u16 max_sfs, base_sf_num; in mlx5_esw_vports_init() local 2409 err = mlx5_esw_sf_max_hpf_functions(dev, &max_sfs, &base_sf_num); in mlx5_esw_vports_init() [all …]
|
| H A D | eswitch.h | 906 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id); 908 u16 *max_sfs, u16 *sf_base_id);
|
| /linux/Documentation/networking/devlink/ |
| H A D | devlink-params.rst | 168 * - ``max_sfs``
|
| H A D | mlx5.rst | 48 * - ``max_sfs`` 53 Note: permanent parameters such as ``enable_sriov``, ``total_vfs`` and ``max_sfs``
|