qat: fix crash when nothing to enqueue
authorFiona Trahe <fiona.trahe@intel.com>
Tue, 29 Mar 2016 17:10:20 +0000 (18:10 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 19:49:26 +0000 (21:49 +0200)
commit2f481bda801703092363c94d6d78b6644fd2d1df
treec84582ce9fb9e782c2d9a88bf2fcd5bcd9b1b979
parentff150afd7eb6f98282a34a6e409300ce5efa6377
qat: fix crash when nothing to enqueue

Crash seen in qat pmd when nb_ops=0 on rte_cryptodev_enqueue_burst() API

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto.c