app/bbdev: fix bulk allocation checks
authorNicolas Chautru <nicolas.chautru@intel.com>
Tue, 6 Aug 2019 14:09:00 +0000 (07:09 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Aug 2019 21:36:34 +0000 (23:36 +0200)
commitbe840d083f61303ad58db486e22b2c24ab28ac55
treedfd3dedab04a539a663c01b621f02ac5469e766f
parent4e8cd9041e408014bc799474fca1cce637ff340f
app/bbdev: fix bulk allocation checks

Returned value from rte_bbdev_enc_op_alloc_bulk not checked consistently.

Coverity issue: 344986
Fixes: d819c08327f3 ("app/bbdev: update for 5GNR")

Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
app/test-bbdev/test_bbdev_perf.c