summaryrefslogtreecommitdiff
path: root/drivers/compress
diff options
context:
space:
mode:
authorMarko Kovacevic <marko.kovacevic@intel.com>2019-01-24 15:03:04 +0000
committerAkhil Goyal <akhil.goyal@nxp.com>2019-03-22 14:27:46 +0100
commit25e9517961d9cebcf643952a3e9a76f7a3de951b (patch)
treea254097c9f700ec833556d91ce98d9439e672653 /drivers/compress
parent5e4fb861f7e2d2f744859a889f194f03f8846c8d (diff)
downloaddpdk-next-eventdev-25e9517961d9cebcf643952a3e9a76f7a3de951b.zip
dpdk-next-eventdev-25e9517961d9cebcf643952a3e9a76f7a3de951b.tar.gz
dpdk-next-eventdev-25e9517961d9cebcf643952a3e9a76f7a3de951b.tar.xz
compress/qat: fix setup inter buffers
This patch fixes qat comp setup inter_buffers memory allocation size to a broader size then just 2MB Fixes: a124830a6f00 ("compress/qat: enable dynamic huffman encoding") Cc: stable@dpdk.org Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Diffstat (limited to 'drivers/compress')
-rw-r--r--drivers/compress/qat/qat_comp_pmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/compress/qat/qat_comp_pmd.c b/drivers/compress/qat/qat_comp_pmd.c
index 27c8856..d45cd67 100644
--- a/drivers/compress/qat/qat_comp_pmd.c
+++ b/drivers/compress/qat/qat_comp_pmd.c
@@ -185,7 +185,7 @@ qat_comp_setup_inter_buffers(struct qat_comp_dev_private *comp_dev,
memzone = rte_memzone_reserve_aligned(inter_buff_mz_name, full_size,
comp_dev->compressdev->data->socket_id,
- RTE_MEMZONE_2MB, QAT_64_BYTE_ALIGN);
+ RTE_MEMZONE_IOVA_CONTIG, QAT_64_BYTE_ALIGN);
if (memzone == NULL) {
QAT_LOG(ERR, "Can't allocate intermediate buffers"
" for device %s", comp_dev->qat_dev->name);