numam-dpdk/app
David Christensen 17a042376b test/atomic: fix 128-bit atomic test with many cores
When checking the results of the rte_atomic128_cmp_exchange() function,
current code compares the values of a uint32_t and a uint64_t variable.
If the number of lcores used by the test is large, or the value of the
iteration count N is increased, the variable size mismatch can cause a
false test failure.  Modify the comparison to compare uint64_t values.

Fixes: fa3253c534 ("test/atomic: add 128-bit atomic compare exchange test")
Cc: stable@dpdk.org

Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Tested-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
2021-10-14 17:20:49 +02:00
..
pdump net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
proc-info app/procinfo: add device registers dump 2021-07-30 18:45:49 +02:00
test test/atomic: fix 128-bit atomic test with many cores 2021-10-14 17:20:49 +02:00
test-acl app/acl: add script to automate testing 2021-07-30 18:34:35 +02:00
test-bbdev bbdev: add capability for 4G CB CRC drop 2021-10-08 21:31:07 +02:00
test-cmdline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-compress-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-crypto-perf test/crypto-perf: test asymmetric crypto throughput 2021-09-28 08:43:57 +02:00
test-eventdev app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-fib app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-flow-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pipeline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pmd ethdev: remove legacy mirroring API 2021-10-07 13:02:26 +02:00
test-regex app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-sad app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
meson.build app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00