[1/2] common/qat: increase IM buffer size for QAT GEN3
Checks
Commit Message
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@intel.com>
---
drivers/common/qat/qat_device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Dybkowski, AdamX <adamx.dybkowski@intel.com>
> Sent: Wednesday, April 28, 2021 3:42 PM
> To: dev@dpdk.org; Zhang, Roy Fan <roy.fan.zhang@intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal@intel.com>; gakhil@marvell.com
> Cc: Dybkowski, AdamX <adamx.dybkowski@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@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@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@intel.com>
> > ---
Series applied to dpdk-next-crypto
Cc: stable@dpdk.org for both patches.
@@ -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 {