Home
last modified time | relevance | path

Searched refs:max_sfs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
A Ddev.c17 unsigned int max_sfs; member
112 if (!table->max_sfs) { in mlx5_sf_dev_add()
224 unsigned int max_sfs; in mlx5_sf_dev_table_create() local
239 max_sfs = MLX5_CAP_GEN(dev, max_num_sf); in mlx5_sf_dev_table_create()
241 max_sfs = 1 << MLX5_CAP_GEN(dev, log_max_sf); in mlx5_sf_dev_table_create()
244 table->max_sfs = max_sfs; in mlx5_sf_dev_table_create()
254 mlx5_core_dbg(dev, "SF DEV: max sf devices=%d\n", max_sfs); in mlx5_sf_dev_table_create()
260 table->max_sfs = 0; in mlx5_sf_dev_table_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c1402 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
1411 *max_sfs = 0; in mlx5_esw_sf_max_hpf_functions()
1424 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
A Deswitch.h701 int mlx5_esw_sf_max_hpf_functions(struct mlx5_core_dev *dev, u16 *max_sfs, u16 *sf_base_id);

Completed in 13 milliseconds