Hi,
I have a feature request in the PMD.
Today, when I want to send a packet out, I hand over an mbuf to the PMD API.
The PMD API then takes care of transferring the data and free's the mbuf to the
relevant pool.
What I am looking for is a facility that I should be able to specify somewhere
in
Hello Prashant,
You can achieve this behavior, you can look at either the rte_mbuf clone
API or look at the reference count field
inside the mbuf structure.
If you increase this ref count the TX function will not free your mbuf.
(there are some API calls to update this variable)
Gal.
On Sun, Oc
Hi Prashant,
>From your description it seems that you can use rte
*pktmbuf_refcnt_update*method. Increase the reference count by one
before sending the mbuf, and
decrease it when you finish with it.
Regards,
Daniel Kaminsky
On Sun, Oct 27, 2013 at 2:06 PM, Prashant Upadhyaya <
prashant.upadhyay
3 matches
Mail list logo