[dpdk-dev] [PATCH v3] mbuf: cleanup rte_pktmbuf_lastseg(), fix atomic usage

Ilya Matveychikov matvejchikov at gmail.com
Thu Nov 16 10:32:13 CET 2017


> On Nov 16, 2017, at 1:06 PM, Hanoch Haim (hhaim) <hhaim at cisco.com> wrote:
> 
> Understood 
> 
> rte_mbuf_refcnt_update_blind() 
> 
> should be good., it will take care the RTE_MBUF_REFCNT_ATOMIC 
> 


Why guys not to add just __rte_mbuf_refcnt_update() as a wrapper over
rte_atomic16_add_return() and use it in inside rte_mbuf_refcnt_update() and
rte_pktmbuf_prefree_seg() as well?



More information about the dev mailing list