Lines Matching refs:attr_ex
403 struct ibv_cq_init_attr_ex *attr_ex, in ucreate_cq() argument
428 if (hw_rev == IRDMA_GEN_1 || attr_ex->wc_flags & ~supported_flags) { in ucreate_cq()
434 if (attr_ex->cqe < uk_attrs->min_hw_cq_size || attr_ex->cqe > uk_attrs->max_hw_cq_size - 1) { in ucreate_cq()
440 ncqe = attr_ex->cqe; in ucreate_cq()
453 info.cq_size = get_cq_size(attr_ex->cqe, hw_rev); in ucreate_cq()
455 iwucq->comp_vector = attr_ex->comp_vector; in ucreate_cq()
510 attr_ex->cqe = info.cq_size; in ucreate_cq()
514 ret = ibv_cmd_create_cq_ex(context, attr_ex, &iwucq->verbs_cq.cq_ex, in ucreate_cq()
517 attr_ex->cqe = ncqe; in ucreate_cq()
522 irdma_ibvcq_ex_fill_priv_funcs(iwucq, attr_ex); in ucreate_cq()
554 struct ibv_cq_init_attr_ex attr_ex = { in irdma_ucreate_cq() local
561 ibvcq_ex = ucreate_cq(context, &attr_ex, false); in irdma_ucreate_cq()
568 struct ibv_cq_init_attr_ex *attr_ex) in irdma_ucreate_cq_ex() argument
570 return ucreate_cq(context, attr_ex, true); in irdma_ucreate_cq_ex()
1124 struct ibv_cq_init_attr_ex *attr_ex) in irdma_ibvcq_ex_fill_priv_funcs() argument
1136 if (attr_ex->wc_flags & IBV_WC_EX_WITH_BYTE_LEN) in irdma_ibvcq_ex_fill_priv_funcs()
1138 if (attr_ex->wc_flags & IBV_WC_EX_WITH_IMM) in irdma_ibvcq_ex_fill_priv_funcs()
1140 if (attr_ex->wc_flags & IBV_WC_EX_WITH_QP_NUM) in irdma_ibvcq_ex_fill_priv_funcs()
1142 if (attr_ex->wc_flags & IBV_WC_EX_WITH_SRC_QP) in irdma_ibvcq_ex_fill_priv_funcs()
1144 if (attr_ex->wc_flags & IBV_WC_EX_WITH_SL) in irdma_ibvcq_ex_fill_priv_funcs()