Lines Matching refs:dev_cap
71 struct mlx4_dev_cap *dev_cap, in mlx4_make_profile() argument
111 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
112 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
113 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
114 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
115 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
116 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
117 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile()
118 profile[MLX4_RES_DMPT].size = dev_cap->dmpt_entry_sz; in mlx4_make_profile()
119 profile[MLX4_RES_CMPT].size = dev_cap->cmpt_entry_sz; in mlx4_make_profile()
120 profile[MLX4_RES_MTT].size = dev_cap->mtt_entry_sz; in mlx4_make_profile()
130 min_t(unsigned, dev_cap->max_eqs, MAX_MSIX); in mlx4_make_profile()
162 if (total_size > dev_cap->max_icm_sz) { in mlx4_make_profile()
165 (unsigned long long) dev_cap->max_icm_sz); in mlx4_make_profile()
215 if (dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) { in mlx4_make_profile()
218 init_hca->num_sys_eqs = dev_cap->num_sys_eqs; in mlx4_make_profile()
222 dev_cap->max_eqs, in mlx4_make_profile()