[dpdk-dev] Question on rte_ring_dequeue_bulk()

2016-07-06 Thread Yeddula, Avinash
I apologies, I should have checked it more carefully. * if behavior = RTE_RING_QUEUE_VARIABLE * - n: Actual number of objects dequeued. This function returns the "n" I was looking for. Thanks -Avinash From: Yeddula, Avinash Sent: Wednesday, July 06, 2016 6:39 PM To: dev at dpdk.org Subject:

[dpdk-dev] Question on rte_ring_dequeue_bulk()

2016-07-06 Thread Yeddula, Avinash
Hi All, * @param r * A pointer to the ring structure. * @param obj_table * A pointer to a table of void * pointers (objects) that will be filled. * @param n * The number of objects to dequeue from the ring to the obj_table. By looking at the code I understood that, if the ring has less than