Home
last modified time | relevance | path

Searched refs:hw_cq (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes_verbs.c1278 nesqp->nesqp_context->cqs = cpu_to_le32(nesqp->nesscq->hw_cq.cq_number + in nes_create_qp()
1279 ((u32)nesqp->nesrcq->hw_cq.cq_number << 16)); in nes_create_qp()
1432 cq_head = nescq->hw_cq.cq_head; in nes_clean_cq()
1433 while (le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_OPCODE_IDX]) & NES_CQE_VALID) { in nes_clean_cq()
1435 lo = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX]); in nes_clean_cq()
1436 hi = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX]); in nes_clean_cq()
1441 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX] = 0; in nes_clean_cq()
1442 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX] = 0; in nes_clean_cq()
1445 if (++cq_head >= nescq->hw_cq.cq_size) in nes_clean_cq()
1563 nescq->hw_cq.cq_size = max(entries + 1, 5); in nes_create_cq()
[all …]
Dnes_verbs.h113 struct nes_hw_cq hw_cq; member
Dnes_hw.c3546 struct nes_hw_cq *hw_cq; in nes_process_iwarp_aeqe() local
3733 hw_cq = (struct nes_hw_cq *)(unsigned long)context; in nes_process_iwarp_aeqe()
3734 if (hw_cq) { in nes_process_iwarp_aeqe()
3735 nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_process_iwarp_aeqe()
3757 void nes_iwarp_ce_handler(struct nes_device *nesdev, struct nes_hw_cq *hw_cq) in nes_iwarp_ce_handler() argument
3759 struct nes_cq *nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_iwarp_ce_handler()
3763 nes_write32(nesdev->regs+NES_CQ_ACK, nescq->hw_cq.cq_number); in nes_iwarp_ce_handler()