test/lpm: add RCU functional tests
authorRuifeng Wang <ruifeng.wang@arm.com>
Fri, 10 Jul 2020 02:22:26 +0000 (10:22 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 10 Jul 2020 11:42:26 +0000 (13:42 +0200)
commit6823fad34706062f0b52c8230aec0bae6c8ebe05
tree06ea53bf06b7151add20e1fe0a01e191ef47e407
parent8a9f8564e9f916d469492f5c5a4dc5886e814e05
test/lpm: add RCU functional tests

Add positive and negative tests for API rte_lpm_rcu_qsbr_add.
Also test LPM library behavior when RCU QSBR is enabled.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
app/test/test_lpm.c