Searched refs:cq_uk (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/irdma/ |
D | puda.c | 214 struct irdma_cq_uk *cq_uk = &cq->cq_uk; in irdma_puda_poll_info() local 227 cqe = IRDMA_GET_CURRENT_CQ_ELEM(&cq->cq_uk); in irdma_puda_poll_info() 230 if (valid_bit != cq_uk->polarity) in irdma_puda_poll_info() 240 peek_head = (cq_uk->cq_ring.head + 1) % cq_uk->cq_ring.size; in irdma_puda_poll_info() 241 ext_cqe = cq_uk->cq_base[peek_head].buf; in irdma_puda_poll_info() 246 if (polarity != cq_uk->polarity) in irdma_puda_poll_info() 252 IRDMA_RING_MOVE_HEAD_NOCHECK(cq_uk->cq_ring); in irdma_puda_poll_info() 253 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_info() 254 cq_uk->polarity = !cq_uk->polarity; in irdma_puda_poll_info() 256 IRDMA_RING_MOVE_TAIL(cq_uk->cq_ring); in irdma_puda_poll_info() [all …]
|
D | ctrl.c | 2471 writel(cq->cq_uk.cq_id, cq->cq_uk.cq_ack_db); in irdma_sc_cq_ack() 2492 irdma_uk_cq_init(&cq->cq_uk, &info->cq_uk_init_info); in irdma_sc_cq_init() 2526 if (cq->cq_uk.cq_id >= cqp->dev->hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].max_cnt) in irdma_sc_cq_create() 2546 set_64bit_val(wqe, 0, cq->cq_uk.cq_size); in irdma_sc_cq_create() 2558 hdr = FLD_LS_64(cq->dev, cq->cq_uk.cq_id, IRDMA_CQPSQ_CQ_CQID) | in irdma_sc_cq_create() 2569 cq->cq_uk.avoid_mem_cflct) | in irdma_sc_cq_create() 2605 set_64bit_val(wqe, 0, cq->cq_uk.cq_size); in irdma_sc_cq_destroy() 2611 hdr = cq->cq_uk.cq_id | in irdma_sc_cq_destroy() 2620 FIELD_PREP(IRDMA_CQPSQ_CQ_AVOIDMEMCNFLCT, cq->cq_uk.avoid_mem_cflct) | in irdma_sc_cq_destroy() 2645 irdma_uk_cq_resize(&cq->cq_uk, info->cq_base, info->cq_size); in irdma_sc_cq_resize() [all …]
|
D | verbs.c | 459 struct irdma_cq_uk *ukcq = &iwcq->sc_cq.cq_uk; in irdma_clean_cqes() 994 ctx_info->send_cq_num = iwqp->iwscq->sc_cq.cq_uk.cq_id; in irdma_create_qp() 995 ctx_info->rcv_cq_num = iwqp->iwrcq->sc_cq.cq_uk.cq_id; in irdma_create_qp() 1470 ctx_info->send_cq_num = iwqp->iwscq->sc_cq.cq_uk.cq_id; in irdma_modify_qp_roce() 1471 ctx_info->rcv_cq_num = iwqp->iwrcq->sc_cq.cq_uk.cq_id; in irdma_modify_qp_roce() 1698 ctx_info->send_cq_num = iwqp->iwscq->sc_cq.cq_uk.cq_id; in irdma_modify_qp() 1699 ctx_info->rcv_cq_num = iwqp->iwrcq->sc_cq.cq_uk.cq_id; in irdma_modify_qp() 1798 irdma_free_rsrc(rf, rf->allocated_cqs, cq->cq_uk.cq_id); in irdma_cq_free_rsrc() 1923 if (info.cq_size == iwcq->sc_cq.cq_uk.cq_size - 1) in irdma_resize_cq() 2003 memcpy(&cq_buf->cq_uk, &iwcq->sc_cq.cq_uk, sizeof(cq_buf->cq_uk)); in irdma_resize_cq() [all …]
|
D | verbs.h | 77 struct irdma_cq_uk cq_uk; member
|
D | type.h | 425 struct irdma_cq_uk cq_uk; member
|
D | cm.c | 3398 ctx_info->send_cq_num = iwqp->iwscq->sc_cq.cq_uk.cq_id; in irdma_cm_init_tsa_conn() 3399 ctx_info->rcv_cq_num = iwqp->iwrcq->sc_cq.cq_uk.cq_id; in irdma_cm_init_tsa_conn()
|
D | utils.c | 2387 ukcq = &iwcq->sc_cq.cq_uk; in irdma_cq_empty()
|