Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/nes/
Dnes_verbs.c1288 nesqp->nesqp_context->cqs = cpu_to_le32(nesqp->nesscq->hw_cq.cq_number + in nes_create_qp()
1289 ((u32)nesqp->nesrcq->hw_cq.cq_number << 16)); in nes_create_qp()
1440 cq_head = nescq->hw_cq.cq_head; in nes_clean_cq()
1441 while (le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_OPCODE_IDX]) & NES_CQE_VALID) { in nes_clean_cq()
1443 lo = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX]); in nes_clean_cq()
1444 hi = le32_to_cpu(nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX]); in nes_clean_cq()
1449 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX] = 0; in nes_clean_cq()
1450 nescq->hw_cq.cq_vbase[cq_head].cqe_words[NES_CQE_COMP_COMP_CTX_HIGH_IDX] = 0; in nes_clean_cq()
1453 if (++cq_head >= nescq->hw_cq.cq_size) in nes_clean_cq()
1572 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.c3526 struct nes_hw_cq *hw_cq; in nes_process_iwarp_aeqe() local
3715 hw_cq = (struct nes_hw_cq *)(unsigned long)context; in nes_process_iwarp_aeqe()
3716 if (hw_cq) { in nes_process_iwarp_aeqe()
3717 nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_process_iwarp_aeqe()
3739 void nes_iwarp_ce_handler(struct nes_device *nesdev, struct nes_hw_cq *hw_cq) in nes_iwarp_ce_handler() argument
3741 struct nes_cq *nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_iwarp_ce_handler()
3745 nes_write32(nesdev->regs+NES_CQ_ACK, nescq->hw_cq.cq_number); in nes_iwarp_ce_handler()