• Home
  • Raw
  • Download

Lines Matching refs:hw_cq

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()
1555 nescq->hw_cq.cq_number = cq_num; in nes_create_cq()
1556 nescq->ibcq.cqe = nescq->hw_cq.cq_size - 1; in nes_create_cq()
1570 nescq->hw_cq.cq_number = nesvnic->nic.qp_id + 28 + 2 * ((nes_ucontext->mcrqf & 0xf) - 1); in nes_create_cq()
1572 nescq->hw_cq.cq_number = nes_ucontext->mcrqf & 0xffff; in nes_create_cq()
1574 nescq->hw_cq.cq_number = nesvnic->mcrq_qp_id + nes_ucontext->mcrqf-1; in nes_create_cq()
1599 nescq->cq_mem_size = nescq->hw_cq.cq_size * sizeof(struct nes_hw_cqe); in nes_create_cq()
1601 entries, nescq->cq_mem_size, nescq->hw_cq.cq_number); in nes_create_cq()
1605 &nescq->hw_cq.cq_pbase); in nes_create_cq()
1613 nescq->hw_cq.cq_vbase = mem; in nes_create_cq()
1614 nescq->hw_cq.cq_head = 0; in nes_create_cq()
1616 nescq->hw_cq.cq_number, nescq->hw_cq.cq_vbase, in nes_create_cq()
1617 (u32)nescq->hw_cq.cq_pbase); in nes_create_cq()
1620 nescq->hw_cq.ce_handler = nes_iwarp_ce_handler; in nes_create_cq()
1629 nescq->hw_cq.cq_pbase); in nes_create_cq()
1645 NES_CQP_CQ_CEQE_MASK | ((u32)nescq->hw_cq.cq_size << 16); in nes_create_cq()
1658 nescq->hw_cq.cq_pbase); in nes_create_cq()
1680 nescq->hw_cq.cq_pbase); in nes_create_cq()
1702 (nescq->hw_cq.cq_number | ((u32)nesdev->ceq_index << 16))); in nes_create_cq()
1712 u64temp = (u64)nescq->hw_cq.cq_pbase; in nes_create_cq()
1717 u64temp = (u64)(unsigned long)&nescq->hw_cq; in nes_create_cq()
1728 nescq->hw_cq.cq_number); in nes_create_cq()
1732 nescq->hw_cq.cq_number, ret); in nes_create_cq()
1737 nescq->hw_cq.cq_pbase); in nes_create_cq()
1754 resp.cq_id = nescq->hw_cq.cq_number; in nes_create_cq()
1755 resp.cq_size = nescq->hw_cq.cq_size; in nes_create_cq()
1791 nes_debug(NES_DBG_CQ, "Destroy CQ%u\n", nescq->hw_cq.cq_number); in nes_destroy_cq()
1801 opcode = NES_CQP_DESTROY_CQ | (nescq->hw_cq.cq_size << 16); in nes_destroy_cq()
1823 (nescq->hw_cq.cq_number | ((u32)PCI_FUNC(nesdev->pcidev->devfn) << 16))); in nes_destroy_cq()
1825 nes_free_resource(nesadapter, nesadapter->allocated_cqs, nescq->hw_cq.cq_number); in nes_destroy_cq()
1832 nescq->hw_cq.cq_number); in nes_destroy_cq()
1837 nescq->hw_cq.cq_number, ret, cqp_request->major_code, in nes_destroy_cq()
1841 nescq->hw_cq.cq_number); in nes_destroy_cq()
1845 nescq->hw_cq.cq_number); in nes_destroy_cq()
1854 nescq->hw_cq.cq_vbase, nescq->hw_cq.cq_pbase); in nes_destroy_cq()
3631 head = nescq->hw_cq.cq_head; in nes_poll_cq()
3632 cq_size = nescq->hw_cq.cq_size; in nes_poll_cq()
3635 if ((le32_to_cpu(nescq->hw_cq.cq_vbase[head].cqe_words[NES_CQE_OPCODE_IDX]) & in nes_poll_cq()
3645 cqe = nescq->hw_cq.cq_vbase[head]; in nes_poll_cq()
3664 nescq->hw_cq.cq_vbase[head].cqe_words[NES_CQE_ERROR_CODE_IDX] = in nes_poll_cq()
3740 nescq->hw_cq.cq_vbase[head].cqe_words[NES_CQE_OPCODE_IDX] = 0; in nes_poll_cq()
3749 nescq->hw_cq.cq_number, nescq->polled_completions, cq_size); in nes_poll_cq()
3751 nescq->hw_cq.cq_number | (nescq->polled_completions << 16)); in nes_poll_cq()
3758 nescq->hw_cq.cq_vbase[head].cqe_words[NES_CQE_COMP_COMP_CTX_LOW_IDX] = in nes_poll_cq()
3766 nescq->hw_cq.cq_number | (nescq->polled_completions << 16)); in nes_poll_cq()
3770 nescq->hw_cq.cq_head = head; in nes_poll_cq()
3772 cqe_count, nescq->hw_cq.cq_number); in nes_poll_cq()
3791 nescq->hw_cq.cq_number); in nes_req_notify_cq()
3793 cq_arm = nescq->hw_cq.cq_number; in nes_req_notify_cq()