common/qat: increase IM buffer size for GEN3
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Wed, 28 Apr 2021 14:41:41 +0000 (15:41 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 5 May 2021 14:45:19 +0000 (16:45 +0200)
This patch increases the intermediate buffer size used for the
compression on QAT GEN3 to accommodate new hardware versions.

Fixes: a124830a6f00 ("compress/qat: enable dynamic huffman encoding")
Cc: stable@dpdk.org
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/common/qat/qat_device.h

index e6337c6..9c6a3ca 100644 (file)
@@ -29,7 +29,7 @@ struct qat_dev_cmd_param {
 enum qat_comp_num_im_buffers {
        QAT_NUM_INTERM_BUFS_GEN1 = 12,
        QAT_NUM_INTERM_BUFS_GEN2 = 20,
-       QAT_NUM_INTERM_BUFS_GEN3 = 20
+       QAT_NUM_INTERM_BUFS_GEN3 = 64
 };
 
 struct qat_device_info {