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 | 187 u16 max_sfs, sf_base_id; in mlx5_esw_devlink_port_res_register() local 195 err = mlx5_esw_sf_max_hpf_functions(dev, &max_sfs, in mlx5_esw_devlink_port_res_register() 200 err = mlx5_esw_sf_max_spf_functions(dev, spf_idx, &max_sfs, in mlx5_esw_devlink_port_res_register() 207 devlink_resource_size_params_init(&size_params, max_sfs, max_sfs, 1, in mlx5_esw_devlink_port_res_register() 210 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 | 2070 u16 vport_num, u16 *max_sfs, in mlx5_esw_sf_max_pf_functions() argument 2087 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_pf_functions() 2095 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, in mlx5_esw_sf_max_hpf_functions() argument 2100 *max_sfs = 0; in mlx5_esw_sf_max_hpf_functions() 2104 return mlx5_esw_sf_max_pf_functions(dev, MLX5_VPORT_HOST_PF, max_sfs, in mlx5_esw_sf_max_hpf_functions() 2109 u16 *max_sfs, u16 *sf_base_id) in mlx5_esw_sf_max_spf_functions() argument 2115 *max_sfs = 0; in mlx5_esw_sf_max_spf_functions() 2123 return mlx5_esw_sf_max_pf_functions(dev, vport_num, max_sfs, in mlx5_esw_sf_max_spf_functions() 2367 u16 max_sfs, base_sf_num; in mlx5_esw_vports_init() local 2404 err = mlx5_esw_sf_max_hpf_functions(dev, &max_sfs, &base_sf_num); in mlx5_esw_vports_init() [all …]
|
| H A D | eswitch.h | 905 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id); 907 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``
|