Home
last modified time | relevance | path

Searched refs:cqe_count (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c150 u32 cqe_count; in mlx5e_decompress_cqes_cont() local
153 cqe_count = min_t(u32, cqd->left, budget_rem); in mlx5e_decompress_cqes_cont()
155 for (i = update_owner_only; i < cqe_count; in mlx5e_decompress_cqes_cont()
165 cqd->left -= cqe_count; in mlx5e_decompress_cqes_cont()
166 rq->stats->cqe_compress_pkts += cqe_count; in mlx5e_decompress_cqes_cont()
168 return cqe_count; in mlx5e_decompress_cqes_cont()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_hw.c126 u32 cqe_count = 0; in i40iw_cqp_ce_handler() local
156 cqe_count++; in i40iw_cqp_ce_handler()
159 if (arm && cqe_count) { in i40iw_cqp_ce_handler()
Di40iw_verbs.c2347 int cqe_count = 0; in i40iw_poll_cq() local
2359 while (cqe_count < num_entries) { in i40iw_poll_cq()
2366 if (!cqe_count) in i40iw_poll_cq()
2367 cqe_count = -1; in i40iw_poll_cq()
2414 cqe_count++; in i40iw_poll_cq()
2417 return cqe_count; in i40iw_poll_cq()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c852 int cqe_count, cqe_head; in nicvf_cq_intr_handler() local
867 cqe_count = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_STATUS, cq_idx); in nicvf_cq_intr_handler()
868 cqe_count &= CQ_CQE_COUNT; in nicvf_cq_intr_handler()
869 if (!cqe_count) in nicvf_cq_intr_handler()
876 while (processed_cqe < cqe_count) { in nicvf_cq_intr_handler()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c1791 u32 hw_pages, cqe_size, page_size, cqe_count; in ocrdma_mbx_create_cq() local
1833 cqe_count = cq->len / cqe_size; in ocrdma_mbx_create_cq()
1834 cq->cqe_cnt = cqe_count; in ocrdma_mbx_create_cq()
1835 if (cqe_count > 1024) { in ocrdma_mbx_create_cq()
1840 switch (cqe_count) { in ocrdma_mbx_create_cq()