Home
last modified time | relevance | path

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

/freebsd/sys/dev/mthca/
H A Dmthca_profile.c74 int log_num; in mthca_make_profile() member
116 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
159 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
177 init_hca->log_num_qps = profile[i].log_num; in mthca_make_profile()
182 init_hca->log_num_eecs = profile[i].log_num; in mthca_make_profile()
187 init_hca->log_num_srqs = profile[i].log_num; in mthca_make_profile()
192 init_hca->log_num_cqs = profile[i].log_num; in mthca_make_profile()
203 init_hca->log_num_eqs = profile[i].log_num; in mthca_make_profile()
218 init_hca->log_mc_table_sz = profile[i].log_num; in mthca_make_profile()
219 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1); in mthca_make_profile()
[all …]
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_profile.c80 int log_num; in mlx4_make_profile() member
119 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile()
153 profile[i].log_num, in mlx4_make_profile()
166 init_hca->log_num_qps = profile[i].log_num; in mlx4_make_profile()
187 init_hca->log_num_srqs = profile[i].log_num; in mlx4_make_profile()
192 init_hca->log_num_cqs = profile[i].log_num; in mlx4_make_profile()
212 init_hca->log_mpt_sz = profile[i].log_num; in mlx4_make_profile()
226 init_hca->log_mc_table_sz = profile[i].log_num; in mlx4_make_profile()
232 profile[i].log_num - 1; in mlx4_make_profile()