Go to the documentation of this file.
43 #ifndef __EHCA_CLASSES_H__
44 #define __EHCA_CLASSES_H__
55 #include <linux/wait.h>
68 #define EHCA_EQE_CACHE_SIZE 20
69 #define EHCA_MAX_NUM_QUEUES 0xffff
108 #define HCA_CAP_MR_PGSIZE_4K 0x80000000
109 #define HCA_CAP_MR_PGSIZE_64K 0x40000000
110 #define HCA_CAP_MR_PGSIZE_1M 0x20000000
111 #define HCA_CAP_MR_PGSIZE_16M 0x10000000
159 #define EHCA_MOD_QP_PARM_MAX 4
161 #define QMAP_IDX_MASK 0xFFFFULL
179 static inline unsigned int next_index(
unsigned int cur_index,
unsigned int limit)
181 unsigned int temp = cur_index + 1;
182 return (temp == limit) ? 0 :
temp;
230 #define IS_SRQ(qp) (qp->ext_type == EQPT_SRQ)
231 #define HAS_SQ(qp) (qp->ext_type != EQPT_SRQ)
232 #define HAS_RQ(qp) (qp->ext_type != EQPT_SRQBASE)
235 #define QP_HASHTAB_LEN 8