On Thursday, April 03, 2014 07:34:56 AM Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com> > > Because DPDK has its own compare and set function to optimize to > dedicated processor type, use that rte_atomic32_cmpset() instead of > cmpxchg macro which is specially introduced for MEMNIC. > > Signed-off-by: Hiroshi Shimamoto <h-shimamoto at ct.jp.nec.com> > --- > common/memnic.h | 12 ------------ > pmd/pmd_memnic.c | 10 ++++++---- > 2 files changed, 6 insertions(+), 16 deletions(-)
Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>