Searched refs:max_sfs (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
D | dev.c | 15 unsigned int max_sfs; member 101 if (!table->max_sfs) { in mlx5_sf_dev_add() 210 unsigned int max_sfs; in mlx5_sf_dev_table_create() local 225 max_sfs = MLX5_CAP_GEN(dev, max_num_sf); in mlx5_sf_dev_table_create() 227 max_sfs = 1 << MLX5_CAP_GEN(dev, log_max_sf); in mlx5_sf_dev_table_create() 230 table->max_sfs = max_sfs; in mlx5_sf_dev_table_create() 240 mlx5_core_dbg(dev, "SF DEV: max sf devices=%d\n", max_sfs); in mlx5_sf_dev_table_create() 246 table->max_sfs = 0; in mlx5_sf_dev_table_create()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 1412 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 1421 *max_sfs = 0; in mlx5_esw_sf_max_hpf_functions() 1434 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
|
D | eswitch.h | 691 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id);
|