Hi,

I am encountering a strange behavior of rte_ring_sc_dequeue, though I'm not
yet sure what causes this.

I have a code:

rc = rte_ring_sc_dequeue(fwdp->rxtx_rings->xmit_ring, &rpackets);

At first dequeue, rpackets gets a correct address of an rte_mbuf, however
at the second dequeue it returns 0 which is successful but sets the
rte_mbuf result to a NULL value.  Is this even possible, because its
happening in my scenario.  Or it could be just there's something wrong with
my code.

Cheers,
Pepe

-- 
To stop learning is like to stop loving.

Reply via email to