Home
last modified time | relevance | path

Searched refs:ncqe (Results 1 – 9 of 9) sorted by relevance

/drivers/infiniband/hw/erdma/
A Derdma_cq.c230 u32 ncqe = 0, nqp_cqe = 0; in erdma_remove_cqes_of_qp() local
238 while (ncqe < cq->depth && (cqe = get_next_valid_cqe(cq)) != NULL) { in erdma_remove_cqes_of_qp()
240 ++ncqe; in erdma_remove_cqes_of_qp()
243 while (ncqe > 0) { in erdma_remove_cqes_of_qp()
244 cur_cq_ci = prev_cq_ci + ncqe - 1; in erdma_remove_cqes_of_qp()
263 --ncqe; in erdma_remove_cqes_of_qp()
/drivers/net/ethernet/fungible/funeth/
A Dfuneth_rx.c615 unsigned int ncqe, in fun_rxq_create_sw() argument
631 q->cq_mask = ncqe - 1; in fun_rxq_create_sw()
644 q->cqes = fun_alloc_ring_mem(q->dma_dev, ncqe, FUNETH_CQE_SIZE, 0, in fun_rxq_create_sw()
665 dma_free_coherent(q->dma_dev, ncqe * FUNETH_CQE_SIZE, q->cqes, in fun_rxq_create_sw()
700 unsigned int ncqe = q->cq_mask + 1; in fun_rxq_create_dev() local
737 q->hw_sqid, ilog2(FUNETH_CQE_SIZE), ncqe, in fun_rxq_create_dev()
750 q->qidx, ncqe, nrqe, q->hw_cqid, q->hw_sqid, irq->irq_idx, in fun_rxq_create_dev()
789 unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq, in funeth_rxq_create() argument
796 q = fun_rxq_create_sw(dev, qidx, ncqe, nrqe, irq); in funeth_rxq_create()
A Dfuneth_txrx.h260 unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq,
A Dfuneth_main.c388 unsigned int nqs, unsigned int ncqe, unsigned int nrqe, in alloc_rxqs() argument
396 err = funeth_rxq_create(dev, i, ncqe, nrqe, in alloc_rxqs()
/drivers/vfio/pci/mlx5/
A Dcmd.c1155 size_t ncqe) in mlx5vf_create_cq() argument
1166 ncqe = roundup_pow_of_two(ncqe); in mlx5vf_create_cq()
1171 cq->ncqe = ncqe; in mlx5vf_create_cq()
1175 err = alloc_cq_frag_buf(mdev, &cq->buf, ncqe, cqe_size); in mlx5vf_create_cq()
1195 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in mlx5vf_create_cq()
1683 void *cqe = get_cqe(cq, n & (cq->ncqe - 1)); in get_sw_cqe()
1689 !((cqe64->op_own & MLX5_CQE_OWNER_MASK) ^ !!(n & (cq->ncqe)))) { in get_sw_cqe()
A Dcmd.h127 size_t ncqe; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_send.c1060 size_t ncqe) in dr_create_cq() argument
1076 ncqe = roundup_pow_of_two(ncqe); in dr_create_cq()
1077 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
1105 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.c3791 int i, ncqe, budget; in bnxt_re_poll_cq() local
3817 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3830 if (ncqe < budget) in bnxt_re_poll_cq()
3831 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3832 cqe + ncqe, in bnxt_re_poll_cq()
3833 budget - ncqe); in bnxt_re_poll_cq()
3835 if (!ncqe) in bnxt_re_poll_cq()
3838 for (i = 0; i < ncqe; i++, cqe++) { in bnxt_re_poll_cq()
/drivers/net/ethernet/mellanox/mlxsw/
A Dpci.c922 char ncqe[MLXSW_PCI_CQE_SIZE_MAX]; in mlxsw_pci_napi_poll_cq_tx() local
934 memcpy(ncqe, cqe, q->elem_size); in mlxsw_pci_napi_poll_cq_tx()
938 wqe_counter, q->u.cq.v, ncqe, budget); in mlxsw_pci_napi_poll_cq_tx()

Completed in 44 milliseconds