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

/deb_dpdk/examples/quota_watermark/qw/
H A Dmain.c209 int nb_dq_pkts; local
244 nb_dq_pkts = rte_ring_dequeue_burst(rx, pkts, *quota);
245 if (unlikely(nb_dq_pkts < 0))
249 ret = rte_ring_enqueue_bulk(tx, pkts, nb_dq_pkts);
256 for (i = 0; i < nb_dq_pkts; i++)
266 uint16_t nb_dq_pkts; local
298 nb_dq_pkts = (uint16_t) rte_ring_dequeue_burst(tx, (void *) tx_pkts, *quota);
299 rte_eth_tx_burst(dest_port_id, 0, tx_pkts, nb_dq_pkts);
301 /* TODO: Check if nb_dq_pkts == nb_tx_pkts? */

Completed in 5 milliseconds