[dpdk-dev] [memnic PATCH] pmd: use rte_atomic32_cmpset instead of cmpxchg

2014-04-11 Thread Olivier MATZ
On Thursday, April 03, 2014 07:34:56 AM Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto > > 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. > >

[dpdk-dev] [memnic PATCH] pmd: use rte_atomic32_cmpset instead of cmpxchg

2014-04-03 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto 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 --- common/memnic.h