Home
last modified time | relevance | path

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

/dpdk/drivers/net/ark/
H A Dark_ethdev_rx.c26 uint32_t cons_index);
107 queue->cons_index = cons_index; in eth_ark_rx_update_cons_index()
267 cons_index = queue->cons_index; in eth_ark_recv_pkts()
268 if (prod_index == cons_index) in eth_ark_recv_pkts()
294 cons_index, in eth_ark_recv_pkts()
318 cons_index += 1; in eth_ark_recv_pkts()
343 uint32_t cons_index) in eth_ark_rx_jumbo() argument
372 cons_index += 1; in eth_ark_rx_jumbo()
376 return cons_index; in eth_ark_rx_jumbo()
386 cons_index = queue->cons_index; in eth_ark_rx_queue_drain()
[all …]
H A Dark_ethdev_tx.c52 volatile int32_t cons_index; /* hw is done, can be freed */ member
183 queue->cons_index, in eth_ark_xmit_pkts()
321 queue_base + offsetof(struct ark_tx_queue, cons_index); in eth_ark_tx_hw_queue_config()
365 queue->cons_index = queue->prod_index; in eth_ark_tx_queue_release()
383 while (queue->cons_index != queue->prod_index) { in eth_ark_tx_queue_stop()
420 top_index = queue->cons_index; /* read once */ in free_completed_tx()
H A Dark_ddm.h112 volatile uint32_t cons_index; member
/dpdk/drivers/net/mlx4/
H A Dmlx4_rxtx.c311 uint32_t cons_index = cq->cons_index; in mlx4_txq_complete() local
319 cqe = (volatile struct mlx4_cqe *)mlx4_get_cqe(cq, cons_index); in mlx4_txq_complete()
321 !!(cons_index & cq->cqe_cnt))) in mlx4_txq_complete()
339 cons_index++; in mlx4_txq_complete()
341 completed = (cons_index - cq->cons_index) * txq->elts_comp_cd_init; in mlx4_txq_complete()
351 cq->cons_index = cons_index; in mlx4_txq_complete()
352 *cq->set_ci_db = rte_cpu_to_be_32(cons_index & MLX4_CQ_DB_CI_MASK); in mlx4_txq_complete()
1183 cqe = (volatile struct mlx4_cqe *)mlx4_get_cqe(cq, cq->cons_index); in mlx4_cq_poll_one()
1185 !!(cq->cons_index & cq->cqe_cnt)) in mlx4_cq_poll_one()
1196 ++cq->cons_index; in mlx4_cq_poll_one()
[all …]
H A Dmlx4_prm.h99 uint32_t cons_index; /**< Last queue entry that was handled. */ member
H A Dmlx4_intr.c234 uint32_t ci = cq->cons_index & MLX4_CQ_DB_CI_MASK; in mlx4_arm_cq()