Re: [dpdk-dev] [PATCH] x86: fix atomic exchange for 32-bit

2018-05-02 Thread Thomas Monjalon
02/05/2018 18:44, Ferruh Yigit: > On 5/2/2018 2:58 PM, Konstantin Ananyev wrote: > > should break out of loop when rte_atomic64_cmpset() retruns non-zero. > > > > Fixes: ff2863570fcc ("eal: introduce atomic exchange operation") > > > > Signed-off-by: Konstantin Ananyev > > Reviewed-by: Ferruh Y

Re: [dpdk-dev] [PATCH] x86: fix atomic exchange for 32-bit

2018-05-02 Thread Ferruh Yigit
On 5/2/2018 2:58 PM, Konstantin Ananyev wrote: > should break out of loop when rte_atomic64_cmpset() retruns non-zero. > > Fixes: ff2863570fcc ("eal: introduce atomic exchange operation") > > Signed-off-by: Konstantin Ananyev Reviewed-by: Ferruh Yigit Tested-by: Ferruh Yigit

[dpdk-dev] [PATCH] x86: fix atomic exchange for 32-bit

2018-05-02 Thread Konstantin Ananyev
should break out of loop when rte_atomic64_cmpset() retruns non-zero. Fixes: ff2863570fcc ("eal: introduce atomic exchange operation") Signed-off-by: Konstantin Ananyev --- lib/librte_eal/common/include/arch/x86/rte_atomic_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a