Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c616 unsigned int ncqe, in fun_rxq_create_sw() argument
632 q->cq_mask = ncqe - 1; in fun_rxq_create_sw()
645 q->cqes = fun_alloc_ring_mem(q->dma_dev, ncqe, FUNETH_CQE_SIZE, 0, in fun_rxq_create_sw()
666 dma_free_coherent(q->dma_dev, ncqe * FUNETH_CQE_SIZE, q->cqes, in fun_rxq_create_sw()
701 unsigned int ncqe = q->cq_mask + 1; in fun_rxq_create_dev() local
738 q->hw_sqid, ilog2(FUNETH_CQE_SIZE), ncqe, in fun_rxq_create_dev()
751 q->qidx, ncqe, nrqe, q->hw_cqid, q->hw_sqid, irq->irq_idx, in fun_rxq_create_dev()
790 unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq, in funeth_rxq_create() argument
797 q = fun_rxq_create_sw(dev, qidx, ncqe, nrqe, irq); in funeth_rxq_create()
Dfuneth_txrx.h258 unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq,
Dfuneth_main.c389 unsigned int nqs, unsigned int ncqe, unsigned int nrqe, in alloc_rxqs() argument
397 err = funeth_rxq_create(dev, i, ncqe, nrqe, in alloc_rxqs()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c759 size_t ncqe) in dr_create_cq() argument
776 ncqe = roundup_pow_of_two(ncqe); in dr_create_cq()
777 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
806 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c691 char ncqe[MLXSW_PCI_CQE_SIZE_MAX]; in mlxsw_pci_cq_tasklet() local
693 memcpy(ncqe, cqe, q->elem_size); in mlxsw_pci_cq_tasklet()
701 wqe_counter, ncqe); in mlxsw_pci_cq_tasklet()
708 wqe_counter, q->u.cq.v, ncqe); in mlxsw_pci_cq_tasklet()
/linux-5.19.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3421 int i, ncqe, budget; in bnxt_re_poll_cq() local
3438 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3451 if (ncqe < budget) in bnxt_re_poll_cq()
3452 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3453 cqe + ncqe, in bnxt_re_poll_cq()
3454 budget - ncqe); in bnxt_re_poll_cq()
3456 if (!ncqe) in bnxt_re_poll_cq()
3459 for (i = 0; i < ncqe; i++, cqe++) { in bnxt_re_poll_cq()