[dpdk-dev] [PATCH 1/2] common/qat: increase IM buffer size for QAT GEN3

Zhang, Roy Fan roy.fan.zhang at intel.com
Wed Apr 28 17:08:56 CEST 2021


> -----Original Message-----
> From: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Sent: Wednesday, April 28, 2021 3:42 PM
> To: dev at dpdk.org; Zhang, Roy Fan <roy.fan.zhang at intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal at intel.com>; gakhil at marvell.com
> Cc: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Subject: [PATCH 1/2] common/qat: increase IM buffer size for QAT GEN3
> 
> 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")
> 
> Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
> ---
>  drivers/common/qat/qat_device.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/common/qat/qat_device.h
> b/drivers/common/qat/qat_device.h
> index e6337c688d..9c6a3ca4e6 100644
> --- a/drivers/common/qat/qat_device.h
> +++ b/drivers/common/qat/qat_device.h
> @@ -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 {
> --
> 2.25.1

Acked-by: Fan Zhang <roy.fan.zhang at intel.com>



More information about the dev mailing list