Searched refs:nescq (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 1093 struct nes_cq *nescq; in nes_create_qp() local 1248 nescq = to_nescq(init_attr->send_cq); in nes_create_qp() 1249 nesqp->nesscq = nescq; in nes_create_qp() 1250 nescq = to_nescq(init_attr->recv_cq); in nes_create_qp() 1251 nesqp->nesrcq = nescq; in nes_create_qp() 1408 static void nes_clean_cq(struct nes_qp *nesqp, struct nes_cq *nescq) in nes_clean_cq() argument 1416 spin_lock_irqsave(&nescq->lock, flags); in nes_clean_cq() 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() [all …]
|
D | nes_nic.c | 104 struct nes_hw_nic_cq *nescq = &nesvnic->nic_cq; in nes_netdev_poll() local 107 nescq->cqes_pending = 0; in nes_netdev_poll() 108 nescq->rx_cqes_completed = 0; in nes_netdev_poll() 109 nescq->cqe_allocs_pending = 0; in nes_netdev_poll() 110 nescq->rx_pkts_indicated = 0; in nes_netdev_poll() 112 nes_nic_ce_handler(nesdev, nescq); in nes_netdev_poll() 114 if (nescq->cqes_pending == 0) { in nes_netdev_poll() 118 nescq->cq_number | (nescq->cqe_allocs_pending << 16)); in nes_netdev_poll() 123 nescq->cq_number | (nescq->cqe_allocs_pending << 16)); in nes_netdev_poll() 127 return nescq->rx_pkts_indicated; in nes_netdev_poll()
|
D | nes_hw.c | 3545 struct nes_cq *nescq; in nes_process_iwarp_aeqe() local 3733 nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_process_iwarp_aeqe() 3734 if (nescq->ibcq.event_handler) { in nes_process_iwarp_aeqe() 3735 ibevent.device = nescq->ibcq.device; in nes_process_iwarp_aeqe() 3737 ibevent.element.cq = &nescq->ibcq; in nes_process_iwarp_aeqe() 3738 nescq->ibcq.event_handler(&ibevent, nescq->ibcq.cq_context); in nes_process_iwarp_aeqe() 3757 struct nes_cq *nescq = container_of(hw_cq, struct nes_cq, hw_cq); in nes_iwarp_ce_handler() local 3761 nes_write32(nesdev->regs+NES_CQ_ACK, nescq->hw_cq.cq_number); in nes_iwarp_ce_handler() 3763 if (nescq->ibcq.comp_handler) in nes_iwarp_ce_handler() 3764 nescq->ibcq.comp_handler(&nescq->ibcq, nescq->ibcq.cq_context); in nes_iwarp_ce_handler()
|