crypto/qat: fix NULL authentication hang
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Fri, 21 Apr 2017 08:11:30 +0000 (09:11 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 19 Jul 2017 11:10:40 +0000 (14:10 +0300)
commit426dc9e3018dcdb0db9b2c58405d9ee5f28b0b00
treebc4d91032c287774916ec5454bae3409c574c5eb
parent829d1327310be6d79ad8d6617f7abcc1ad1ad202
crypto/qat: fix NULL authentication hang

To avoid a possible HW problem when dealing with
NULL authentication case, the state sizes
in the request descriptor are set.

Fixes: db0e952a5c01 ("crypto/qat: add NULL capability")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_adf/qat_algs_build_desc.c