> -----Original Message----- > From: Dybkowski, AdamX <[email protected]> > Sent: Wednesday, April 28, 2021 3:42 PM > To: [email protected]; Zhang, Roy Fan <[email protected]>; Kusztal, > ArkadiuszX <[email protected]>; [email protected] > Cc: Dybkowski, AdamX <[email protected]> > 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 <[email protected]> > --- > 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 <[email protected]>

