test/rcu: use existing lcore API
authorDavid Marchand <david.marchand@redhat.com>
Wed, 22 May 2019 15:06:57 +0000 (17:06 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 29 May 2019 22:39:38 +0000 (00:39 +0200)
commitcf407431dfd47f30acc3ad4a17cc44eff92ad98c
tree9c1f00e242ee79f15330fea9c1ba3ef91130ae21
parentdfd9d5537e876676014827cdaf24da3718a25bc7
test/rcu: use existing lcore API

Prefer the existing apis rather than direct access lcore_config that is
going to disappear.

Fixes: b87089b0bb19 ("test/rcu: add API and functional tests")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
app/test/test_rcu_qsbr.c
app/test/test_rcu_qsbr_perf.c