Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/ark/
H A Dark_ethdev_rx.c27 uint32_t cons_index);
107 queue->cons_index = cons_index; in eth_ark_rx_update_cons_index()
110 queue->last_cons = cons_index; in eth_ark_rx_update_cons_index()
260 cons_index = queue->cons_index; in eth_ark_recv_pkts()
292 cons_index, in eth_ark_recv_pkts()
316 cons_index += 1; in eth_ark_recv_pkts()
336 uint32_t cons_index) in eth_ark_rx_jumbo() argument
367 cons_index += 1; in eth_ark_rx_jumbo()
371 return cons_index; in eth_ark_rx_jumbo()
381 cons_index = queue->cons_index; in eth_ark_rx_queue_drain()
[all …]
H A Dark_ethdev_tx.c52 uint32_t cons_index; /* hw is done, can be freed */ member
161 queue->cons_index, in eth_ark_xmit_pkts()
298 queue_base + offsetof(struct ark_tx_queue, cons_index); in eth_ark_tx_hw_queue_config()
342 queue->cons_index = queue->prod_index; in eth_ark_tx_queue_release()
360 while (queue->cons_index != queue->prod_index) { in eth_ark_tx_queue_stop()
397 top_index = queue->cons_index; /* read once */ in free_completed_tx()
H A Dark_ddm.h106 volatile uint32_t cons_index; member
/f-stack/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()
1187 cqe = (volatile struct mlx4_cqe *)mlx4_get_cqe(cq, cq->cons_index); in mlx4_cq_poll_one()
1189 !!(cq->cons_index & cq->cqe_cnt)) in mlx4_cq_poll_one()
1200 ++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.c228 uint32_t ci = cq->cons_index & MLX4_CQ_DB_CI_MASK; in mlx4_arm_cq()