compress/qat: fix overflow status return
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Fri, 5 Jul 2019 17:15:51 +0000 (18:15 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 19 Jul 2019 12:15:21 +0000 (14:15 +0200)
commitb643808ffb15dc0225b203b047c5f9e234d0e58e
tree935d8cacde3bddfd4ac6de49dc854ad8f56cd97e
parent324781da4daa58e084b0389783ed6fdfbfa5529b
compress/qat: fix overflow status return

This patch fixes fail status returned from compression PMD
in case destination buffer size is not enough to store
all data.

Fixes: 3dc9ef2d23fe ("compress/qat: fix returned status on overflow")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
drivers/common/qat/qat_qp.c
drivers/common/qat/qat_qp.h
drivers/compress/qat/qat_comp.c
drivers/compress/qat/qat_comp.h
drivers/compress/qat/qat_comp_pmd.c