compress/qat: fix returned status on overflow
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Thu, 27 Dec 2018 10:42:19 +0000 (11:42 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commit3dc9ef2d23fe4787947f58758394444e677ea311
treeff4af627874d00d5fafc5269c773085f9c572749
parente2e35849ea78ca54627ae86c58cb9c253ca59a91
compress/qat: fix returned status on overflow

This patch fixes correct status in case of overflow on
QAT is detected.
In that case RTE_COMP_OP_STATUS_OUT_OF_SPACE_TERMINATED value is set in
rte_comp_op.status field instead of RTE_COMP_OP_STATUS_ERROR

Fixes: 32842f2a6d7d ("compress/qat: create FW request and process response")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/compress/qat/qat_comp.c