Searched refs:hw_cq (Results 1 – 3 of 3) sorted by relevance
1263 nesqp->nesqp_context->cqs = cpu_to_le32(nesqp->nesscq->hw_cq.cq_number + in nes_create_qp()1264 ((u32)nesqp->nesrcq->hw_cq.cq_number << 16)); in nes_create_qp()1418 cq_head = nescq->hw_cq.cq_head; in nes_clean_cq()1419 while (le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_OPCODE_IDX]) & NES_CQE_VALID) { in nes_clean_cq()1421 lo = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX]); in nes_clean_cq()1422 hi = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX]); in nes_clean_cq()1427 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX] = 0; in nes_clean_cq()1428 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX] = 0; in nes_clean_cq()1431 if (++cq_head >= nescq->hw_cq.cq_size) in nes_clean_cq()1554 nescq->hw_cq.cq_size = max(entries + 1, 5); in nes_create_cq()[all …]
117 struct nes_hw_cq hw_cq; member
3544 struct nes_hw_cq *hw_cq; in nes_process_iwarp_aeqe() local3731 hw_cq = (struct nes_hw_cq *)(unsigned long)context; in nes_process_iwarp_aeqe()3732 if (hw_cq) { in nes_process_iwarp_aeqe()3733 nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_process_iwarp_aeqe()3755 void nes_iwarp_ce_handler(struct nes_device *nesdev, struct nes_hw_cq *hw_cq) in nes_iwarp_ce_handler() argument3757 struct nes_cq *nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_iwarp_ce_handler()3761 nes_write32(nesdev->regs+NES_CQ_ACK, nescq->hw_cq.cq_number); in nes_iwarp_ce_handler()