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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Apr 11 17:45:38 CEST 2014


2014-04-11 11:37, Olivier MATZ:
> 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>
> 
> Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>

Applied

Thanks
-- 
Thomas


More information about the dev mailing list