Home
last modified time | relevance | path

Searched refs:ncqe (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_rx.c615 unsigned int ncqe, in fun_rxq_create_sw()
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()
796 q = fun_rxq_create_sw(dev, qidx, ncqe, nrqe, irq); in funeth_rxq_create()
613 fun_rxq_create_sw(struct net_device *dev, unsigned int qidx, unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq) fun_rxq_create_sw() argument
788 funeth_rxq_create(struct net_device *dev, unsigned int qidx, unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq, int state, struct funeth_rxq **qp) funeth_rxq_create() argument
H A Dfuneth_txrx.h260 unsigned int ncqe, unsigned int nrqe, struct fun_irq *irq,
H A Dfuneth_main.c388 unsigned int nqs, unsigned int ncqe, unsigned int nrqe, in alloc_rxqs()
396 err = funeth_rxq_create(dev, i, ncqe, nrqe, in alloc_rxqs()
387 alloc_rxqs(struct net_device *dev, struct funeth_rxq **rxqs, unsigned int nqs, unsigned int ncqe, unsigned int nrqe, unsigned int start, int state) alloc_rxqs() argument
/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/
H A Dcmd.c948 size_t ncqe) in mlx5vf_create_cq()
959 ncqe = roundup_pow_of_two(ncqe); in mlx5vf_create_cq()
964 cq->ncqe = ncqe; in mlx5vf_create_cq()
968 err = alloc_cq_frag_buf(mdev, &cq->buf, ncqe, cqe_size); in mlx5vf_create_cq()
988 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in mlx5vf_create_cq()
1526 void *cqe = get_cqe(cq, n & (cq->ncqe - 1)); in get_sw_cqe()
1532 !((cqe64->op_own & MLX5_CQE_OWNER_MASK) ^ !!(n & (cq->ncqe)))) { in get_sw_cqe()
946 mlx5vf_create_cq(struct mlx5_core_dev *mdev, struct mlx5_vhca_page_tracker *tracker, size_t ncqe) mlx5vf_create_cq() argument
H A Dcmd.h120 size_t ncqe; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c707 size_t ncqe) in dr_create_cq()
724 ncqe = roundup_pow_of_two(ncqe); in dr_create_cq()
725 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
754 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
705 dr_create_cq(struct mlx5_core_dev *mdev, struct mlx5_uars_page *uar, size_t ncqe) dr_create_cq() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_send.c1060 size_t ncqe) in dr_create_cq()
1077 ncqe = roundup_pow_of_two(ncqe); in dr_create_cq()
1078 MLX5_SET(cqc, temp_cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
1107 MLX5_SET(cqc, cqc, log_cq_size, ilog2(ncqe)); in dr_create_cq()
1058 dr_create_cq(struct mlx5_core_dev *mdev, struct mlx5_uars_page *uar, size_t ncqe) dr_create_cq() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c638 char ncqe[MLXSW_PCI_CQE_SIZE_MAX]; in mlxsw_pci_cq_tasklet() local
640 memcpy(ncqe, cqe, q->elem_size); in mlxsw_pci_cq_tasklet()
648 wqe_counter, ncqe); in mlxsw_pci_cq_tasklet()
655 wqe_counter, q->u.cq.v, ncqe); in mlxsw_pci_cq_tasklet()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c723 char ncqe[MLXSW_PCI_CQE_SIZE_MAX]; in mlxsw_pci_cq_tasklet() local
725 memcpy(ncqe, cqe, q->elem_size); in mlxsw_pci_cq_tasklet()
733 wqe_counter, q->u.cq.v, ncqe); in mlxsw_pci_cq_tasklet()
740 wqe_counter, q->u.cq.v, ncqe); in mlxsw_pci_cq_tasklet()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c3425 int i, ncqe, budget; in bnxt_re_poll_cq() local
3442 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3455 if (ncqe < budget) in bnxt_re_poll_cq()
3456 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3457 cqe + ncqe, in bnxt_re_poll_cq()
3458 budget - ncqe); in bnxt_re_poll_cq()
3460 if (!ncqe) in bnxt_re_poll_cq()
3463 for (i = 0; i < ncqe; i++, cqe++) { in bnxt_re_poll_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c3627 int i, ncqe, budget; in bnxt_re_poll_cq() local
3653 ncqe = bnxt_qplib_poll_cq(&cq->qplib_cq, cqe, budget, &lib_qp); in bnxt_re_poll_cq()
3666 if (ncqe < budget) in bnxt_re_poll_cq()
3667 ncqe += bnxt_qplib_process_flush_list(&cq->qplib_cq, in bnxt_re_poll_cq()
3668 cqe + ncqe, in bnxt_re_poll_cq()
3669 budget - ncqe); in bnxt_re_poll_cq()
3671 if (!ncqe) in bnxt_re_poll_cq()
3674 for (i = 0; i < ncqe; i++, cqe++) { in bnxt_re_poll_cq()

Completed in 26 milliseconds