• Home
  • Raw
  • Download

Lines Matching refs:dev_lim

987 			struct mthca_dev_lim *dev_lim)  in mthca_QUERY_DEV_LIM()  argument
1069 dev_lim->reserved_qps = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1071 dev_lim->max_qps = 1 << (field & 0x1f); in mthca_QUERY_DEV_LIM()
1073 dev_lim->reserved_srqs = 1 << (field >> 4); in mthca_QUERY_DEV_LIM()
1075 dev_lim->max_srqs = 1 << (field & 0x1f); in mthca_QUERY_DEV_LIM()
1077 dev_lim->reserved_eecs = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1079 dev_lim->max_eecs = 1 << (field & 0x1f); in mthca_QUERY_DEV_LIM()
1081 dev_lim->max_cq_sz = 1 << field; in mthca_QUERY_DEV_LIM()
1083 dev_lim->reserved_cqs = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1085 dev_lim->max_cqs = 1 << (field & 0x1f); in mthca_QUERY_DEV_LIM()
1087 dev_lim->max_mpts = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1089 dev_lim->reserved_eqs = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1091 dev_lim->max_eqs = 1 << (field & 0x7); in mthca_QUERY_DEV_LIM()
1094 dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), in mthca_QUERY_DEV_LIM()
1097 dev_lim->reserved_mtts = 1 << (field >> 4); in mthca_QUERY_DEV_LIM()
1099 dev_lim->max_mrw_sz = 1 << field; in mthca_QUERY_DEV_LIM()
1101 dev_lim->reserved_mrws = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1103 dev_lim->max_mtt_seg = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1105 dev_lim->max_requester_per_qp = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1107 dev_lim->max_responder_per_qp = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1109 dev_lim->max_rdma_global = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1111 dev_lim->local_ca_ack_delay = field & 0x1f; in mthca_QUERY_DEV_LIM()
1113 dev_lim->max_mtu = field >> 4; in mthca_QUERY_DEV_LIM()
1114 dev_lim->max_port_width = field & 0xf; in mthca_QUERY_DEV_LIM()
1116 dev_lim->max_vl = field >> 4; in mthca_QUERY_DEV_LIM()
1117 dev_lim->num_ports = field & 0xf; in mthca_QUERY_DEV_LIM()
1119 dev_lim->max_gids = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1121 dev_lim->stat_rate_support = stat_rate; in mthca_QUERY_DEV_LIM()
1123 dev_lim->max_pkeys = 1 << (field & 0xf); in mthca_QUERY_DEV_LIM()
1124 MTHCA_GET(dev_lim->flags, outbox, QUERY_DEV_LIM_FLAGS_OFFSET); in mthca_QUERY_DEV_LIM()
1126 dev_lim->reserved_uars = field >> 4; in mthca_QUERY_DEV_LIM()
1128 dev_lim->uar_size = 1 << ((field & 0x3f) + 20); in mthca_QUERY_DEV_LIM()
1130 dev_lim->min_page_sz = 1 << field; in mthca_QUERY_DEV_LIM()
1132 dev_lim->max_sg = field; in mthca_QUERY_DEV_LIM()
1135 dev_lim->max_desc_sz = size; in mthca_QUERY_DEV_LIM()
1138 dev_lim->max_qp_per_mcg = 1 << field; in mthca_QUERY_DEV_LIM()
1140 dev_lim->reserved_mgms = field & 0xf; in mthca_QUERY_DEV_LIM()
1142 dev_lim->max_mcgs = 1 << field; in mthca_QUERY_DEV_LIM()
1144 dev_lim->reserved_pds = field >> 4; in mthca_QUERY_DEV_LIM()
1146 dev_lim->max_pds = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1148 dev_lim->reserved_rdds = field >> 4; in mthca_QUERY_DEV_LIM()
1150 dev_lim->max_rdds = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1153 dev_lim->eec_entry_sz = size; in mthca_QUERY_DEV_LIM()
1155 dev_lim->qpc_entry_sz = size; in mthca_QUERY_DEV_LIM()
1157 dev_lim->eeec_entry_sz = size; in mthca_QUERY_DEV_LIM()
1159 dev_lim->eqpc_entry_sz = size; in mthca_QUERY_DEV_LIM()
1161 dev_lim->eqc_entry_sz = size; in mthca_QUERY_DEV_LIM()
1163 dev_lim->cqc_entry_sz = size; in mthca_QUERY_DEV_LIM()
1165 dev_lim->srq_entry_sz = size; in mthca_QUERY_DEV_LIM()
1167 dev_lim->uar_scratch_entry_sz = size; in mthca_QUERY_DEV_LIM()
1171 dev_lim->max_srq_sz = 1 << field; in mthca_QUERY_DEV_LIM()
1173 dev_lim->max_qp_sz = 1 << field; in mthca_QUERY_DEV_LIM()
1175 dev_lim->hca.arbel.resize_srq = field & 1; in mthca_QUERY_DEV_LIM()
1177 dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); in mthca_QUERY_DEV_LIM()
1179 dev_lim->max_desc_sz = min_t(int, size, dev_lim->max_desc_sz); in mthca_QUERY_DEV_LIM()
1181 dev_lim->mpt_entry_sz = size; in mthca_QUERY_DEV_LIM()
1183 dev_lim->hca.arbel.max_pbl_sz = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1184 MTHCA_GET(dev_lim->hca.arbel.bmme_flags, outbox, in mthca_QUERY_DEV_LIM()
1186 MTHCA_GET(dev_lim->hca.arbel.reserved_lkey, outbox, in mthca_QUERY_DEV_LIM()
1189 dev_lim->hca.arbel.lam_required = field & 1; in mthca_QUERY_DEV_LIM()
1190 MTHCA_GET(dev_lim->hca.arbel.max_icm_sz, outbox, in mthca_QUERY_DEV_LIM()
1193 if (dev_lim->hca.arbel.bmme_flags & 1) in mthca_QUERY_DEV_LIM()
1196 dev_lim->hca.arbel.bmme_flags, in mthca_QUERY_DEV_LIM()
1197 dev_lim->hca.arbel.max_pbl_sz, in mthca_QUERY_DEV_LIM()
1198 dev_lim->hca.arbel.reserved_lkey); in mthca_QUERY_DEV_LIM()
1203 (unsigned long long) dev_lim->hca.arbel.max_icm_sz >> 20); in mthca_QUERY_DEV_LIM()
1206 dev_lim->max_srq_sz = (1 << field) - 1; in mthca_QUERY_DEV_LIM()
1208 dev_lim->max_qp_sz = (1 << field) - 1; in mthca_QUERY_DEV_LIM()
1210 dev_lim->hca.tavor.max_avs = 1 << (field & 0x3f); in mthca_QUERY_DEV_LIM()
1211 dev_lim->mpt_entry_sz = MTHCA_MPT_ENTRY_SIZE; in mthca_QUERY_DEV_LIM()
1215 dev_lim->max_qps, dev_lim->reserved_qps, dev_lim->qpc_entry_sz); in mthca_QUERY_DEV_LIM()
1217 dev_lim->max_srqs, dev_lim->reserved_srqs, dev_lim->srq_entry_sz); in mthca_QUERY_DEV_LIM()
1219 dev_lim->max_cqs, dev_lim->reserved_cqs, dev_lim->cqc_entry_sz); in mthca_QUERY_DEV_LIM()
1221 dev_lim->max_eqs, dev_lim->reserved_eqs, dev_lim->eqc_entry_sz); in mthca_QUERY_DEV_LIM()
1223 dev_lim->reserved_mrws, dev_lim->reserved_mtts); in mthca_QUERY_DEV_LIM()
1225 dev_lim->max_pds, dev_lim->reserved_pds, dev_lim->reserved_uars); in mthca_QUERY_DEV_LIM()
1227 dev_lim->max_pds, dev_lim->reserved_mgms); in mthca_QUERY_DEV_LIM()
1229 dev_lim->max_cq_sz, dev_lim->max_qp_sz, dev_lim->max_srq_sz); in mthca_QUERY_DEV_LIM()
1231 mthca_dbg(dev, "Flags: %08x\n", dev_lim->flags); in mthca_QUERY_DEV_LIM()