Skip to contentSkip to conversation

qat/compress: fix qat comp setup inter_buffers

PATCH Applied Marko Kovacevic 3 participants 3 messages Jan 24, 2019 – Mar 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qat/compress: fix qat comp 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")
---
 drivers/compress/qat/qat_comp_pmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/compress/qat/qat_comp_pmd.c +1 -1
index 27c8856..d45cd67 100644
@@ -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);
Signature · 1 line
2.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Kovacevic, Marko
Sent: Thursday, January 24, 2019 3:03 PM
To: [email protected]
Cc: [email protected]; Yigit, Ferruh <[email protected]>; [email protected]; Kovacevic, Marko <[email protected]>; Trahe, Fiona <[email protected]>
Subject: [PATCH] qat/compress: fix qat comp setup inter_buffers

Quoted 8 lines

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")
Applied
#2 lore raw
Quoted 13 lines · Fiona
Quoted 13 lines

-----Original Message-----
From: Kovacevic, Marko
Sent: Thursday, January 24, 2019 3:03 PM
To: [email protected]
Cc: [email protected]; Yigit, Ferruh <[email protected]>; [email protected]; Kovacevic, Marko <[email protected]>; Trahe, Fiona <[email protected]>
Subject: [PATCH] qat/compress: fix qat comp setup inter_buffers

This patch fixes qat comp setup inter_buffers
memory allocation size to a broader size
then just 2MB

Quoted 5 lines
Quoted 4 lines
Fixes a124830a6f00 ("compress/qat: enable dynamic huffman encoding")

Applied to dpdk-next-crypto

Thanks.