Re: [dpdk-dev] [PATCH] mbuf: use c11 atomics for refcnt operations

2020-07-06 Thread Phil Yang
> -Original Message- > From: David Marchand > Sent: Friday, July 3, 2020 11:39 PM > To: Phil Yang > Cc: dev ; Olivier Matz ; David > Christensen ; Honnappa Nagarahalli > ; Ruifeng Wang > ; nd > Subject: Re: [dpdk-dev] [PATCH] mbuf: use c11 atomics for refcnt

Re: [dpdk-dev] [PATCH] mbuf: use c11 atomics for refcnt operations

2020-07-03 Thread David Marchand
On Thu, Jun 11, 2020 at 12:26 PM Phil Yang wrote: > > Use c11 atomics with explicit ordering instead of rte_atomic ops which > enforce unnecessary barriers on aarch64. > > Signed-off-by: Phil Yang > Reviewed-by: Ruifeng Wang I did not look at the details, but this patch is refused by the ABI ch

[dpdk-dev] [PATCH] mbuf: use c11 atomics for refcnt operations

2020-06-11 Thread Phil Yang
Use c11 atomics with explicit ordering instead of rte_atomic ops which enforce unnecessary barriers on aarch64. Signed-off-by: Phil Yang Reviewed-by: Ruifeng Wang --- lib/librte_mbuf/rte_mbuf.c | 1 - lib/librte_mbuf/rte_mbuf.h | 19 ++- lib/librte_mbuf/rte_mbuf_core.