Searched refs:max_sfs (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
A D | dev.c | 17 unsigned int max_sfs; member 113 if (!table->max_sfs) { in mlx5_sf_dev_add() 299 unsigned int max_sfs; in mlx5_sf_dev_table_create() local 314 max_sfs = MLX5_CAP_GEN(dev, max_num_sf); in mlx5_sf_dev_table_create() 316 max_sfs = 1 << MLX5_CAP_GEN(dev, log_max_sf); in mlx5_sf_dev_table_create() 319 table->max_sfs = max_sfs; in mlx5_sf_dev_table_create() 335 mlx5_core_dbg(dev, "SF DEV: max sf devices=%d\n", max_sfs); in mlx5_sf_dev_table_create() 343 table->max_sfs = 0; in mlx5_sf_dev_table_create()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch.c | 1482 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() argument 1491 *max_sfs = 0; in mlx5_esw_sf_max_hpf_functions() 1504 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
|
A D | eswitch.h | 716 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id);
|
Completed in 11 milliseconds