test/ring: enhance mp/mc coverage
authorJoyce Kong <joyce.kong@arm.com>
Mon, 9 Sep 2019 05:19:00 +0000 (13:19 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 07:57:31 +0000 (09:57 +0200)
commit759cf9b5632ceb4715bcd4fcc3c09aa3d86ebdb2
tree22574380ca98bf97b307cb9d1d6448739a90179a
parentb364bc9e8899bd198e26c69ec58b26f3b846a4c8
test/ring: enhance mp/mc coverage

Run ring perf test on all available cores to really verify MPMC operations.
The old way of running on a pair of cores is not enough for MPMC rings.

Suggested-by: Gavin Hu <gavin.hu@arm.com>
Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_ring_perf.c