numam-dpdk/app
Robert Sanford a91311f45b timer: fix synchronization in stress test
Fix app/test timer stress test 2: Sometimes this test fails and
seg-faults because the slave lcores get out of phase with the master.
The master uses a single int, 'ready', to synchronize multiple slave
lcores through multiple phases of the test.

To resolve, we construct simple synchronization primitives that use one
atomic-int state variable per slave. The master tells the slaves when to
start, and then waits for all of them to finish. Each slave waits for
the master to tell it to start, and then tells the master when it has
finished.

Signed-off-by: Robert Sanford <rsanford@akamai.com>
2015-08-03 12:43:01 +02:00
..
cmdline_test app: fix whitespace 2015-06-12 11:10:10 +02:00
proc_info app: replace dump_cfg by proc_info 2015-07-17 02:26:38 +02:00
test timer: fix synchronization in stress test 2015-08-03 12:43:01 +02:00
test-acl acl: remove redundant macro 2015-06-18 17:59:18 +02:00
test-pipeline app: replace some offload flags with packet type 2015-07-16 00:57:47 +02:00
test-pmd app/testpmd: fix error message when closing port twice 2015-07-30 02:15:32 +02:00
Makefile app: replace dump_cfg by proc_info 2015-07-17 02:26:38 +02:00