app/bbdev: fix unchecked return value
authorKamil Chalupnik <kamilx.chalupnik@intel.com>
Wed, 16 May 2018 13:57:14 +0000 (15:57 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 22 May 2018 14:36:11 +0000 (16:36 +0200)
commitb1bc4217fd880cd89a6dae78b8aeb90d130854d9
tree3b6c7d55bb25b6fd66373eb96815c9f91b6afdf4
parentbb5c82daa7d696dbac85b283a8bc82aa75e8ed96
app/bbdev: fix unchecked return value

Fixing CHECKED_RETURN issue by checking values returned
by rte_bbdev_dec_op_alloc_bulk and rte_bbdev_enc_op_alloc_bulk
functions.

Coverity issue: 279447, 279456
Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev")
Cc: stable@dpdk.org
Signed-off-by: Kamil Chalupnik <kamilx.chalupnik@intel.com>
Acked-by: Amr Mokhtar <amr.mokhtar@intel.com>
app/test-bbdev/test_bbdev_perf.c