Searched refs:max_sfs (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ | 
| D | dev.c | 15 	unsigned int max_sfs;  member104 	if (!table->max_sfs) {  in mlx5_sf_dev_add()
 213 	unsigned int max_sfs;  in mlx5_sf_dev_table_create()  local
 228 		max_sfs = MLX5_CAP_GEN(dev, max_num_sf);  in mlx5_sf_dev_table_create()
 230 		max_sfs = 1 << MLX5_CAP_GEN(dev, log_max_sf);  in mlx5_sf_dev_table_create()
 233 	table->max_sfs = max_sfs;  in mlx5_sf_dev_table_create()
 243 	mlx5_core_dbg(dev, "SF DEV: max sf devices=%d\n", max_sfs);  in mlx5_sf_dev_table_create()
 249 	table->max_sfs = 0;  in mlx5_sf_dev_table_create()
 
 | 
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ | 
| D | eswitch.c | 1394 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id)  in mlx5_esw_sf_max_hpf_functions()  argument1403 		*max_sfs = 0;  in mlx5_esw_sf_max_hpf_functions()
 1416 	*max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf);  in mlx5_esw_sf_max_hpf_functions()
 
 | 
| D | eswitch.h | 685 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id);
 |