Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c84 static unsigned int prof_sel = MLX5_DEFAULT_PROF; variable
85 module_param_named(prof_sel, prof_sel, uint, 0444);
86 MODULE_PARM_DESC(prof_sel, "profile selector. Valid range 0 - 2");
544 if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < profile[prof_sel].log_max_qp) { in handle_hca_cap()
546 profile[prof_sel].log_max_qp, in handle_hca_cap()
548 profile[prof_sel].log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap()
1336 err = mlx5_mdev_init(dev, prof_sel); in init_one()
1603 if (prof_sel >= ARRAY_SIZE(profile)) { in mlx5_core_verify_params()
1605 prof_sel, in mlx5_core_verify_params()
1608 prof_sel = MLX5_DEFAULT_PROF; in mlx5_core_verify_params()