[dpdk-dev] [memnic PATCH] pmd: use rte_atomic32_cmpset instead of cmpxchg
Olivier MATZ
olivier.matz at 6wind.com
Fri Apr 11 11:37:13 CEST 2014
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>
More information about the dev
mailing list