Hi Hanoch,

On 01/05/2016 12:11 PM, Hanoch Haim (hhaim) wrote:
> Hi Oliver,
> Thank you for the fast response and it would be great to open a discussion on 
> that.
> In general our project can leverage your optimization and I think it is great 
> (we should have thought about it) . We can use it using the workaround I 
> described.
> However, for me it  seems odd that  rte_pktmbuf_attach () that does not 
> *change* anything in m_const, except of the *atomic* ref counter does not 
> work in parallel.
> The example I gave is a classic use case of rte_pktmbuf_attach  (multicast ) 
> and I don't see why it wouldn't work after your optimization.
>
> Do you have a pointer to the documentation that state that that you can't 
> call the atomic ref counter from more than one thread?

Unfortunately it's not documented yet, but it's something we should
better describe.

Regards,
Olivier

Reply via email to