From patchwork Wed Apr 28 14:41:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dybkowski, AdamX" X-Patchwork-Id: 92337 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0D072A0C3F; Wed, 28 Apr 2021 16:41:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C766D40697; Wed, 28 Apr 2021 16:41:50 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0AE3C40147 for ; Wed, 28 Apr 2021 16:41:48 +0200 (CEST) IronPort-SDR: AVCLPc3NyAYLmHFNA3H472IU8Xv6aMXpIUHFDGwJnpXF1jzDlt/5JwJ7bdT0COsxn8clLYh09D BdjAUPAxFfPw== X-IronPort-AV: E=McAfee;i="6200,9189,9968"; a="184237197" X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="184237197" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2021 07:41:46 -0700 IronPort-SDR: lBlQSa4AK5krY2helwRDOqvZbFkQxYLsBKK5JSAxD0dXZwxtko35iUaQXTnzc2DM/i1kRC575B ILDD+5mrA8sA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="458217117" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by fmsmga002.fm.intel.com with ESMTP; 28 Apr 2021 07:41:40 -0700 From: Adam Dybkowski To: dev@dpdk.org, roy.fan.zhang@intel.com, arkadiuszx.kusztal@intel.com, gakhil@marvell.com Cc: Adam Dybkowski Date: Wed, 28 Apr 2021 15:41:41 +0100 Message-Id: <20210428144142.85929-1-adamx.dybkowski@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH 1/2] common/qat: increase IM buffer size for QAT GEN3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Fan Zhang --- 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 {