From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 57227A0597; Wed, 8 Apr 2020 17:43:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1F1E1C036; Wed, 8 Apr 2020 17:43:49 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 907851C02A for ; Wed, 8 Apr 2020 17:43:48 +0200 (CEST) IronPort-SDR: Ryb5KCh1xKJxLvm9I39zBhBstq18XPJthlciwJ9D2EsyTJlstWExxR53dN2pXXJpPiupNcj2BD e86AoGN9U71A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2020 08:43:47 -0700 IronPort-SDR: GxYjzlFp5HrOfm+j50qO/VXJdDzkCPT27oK9dXHYTHXe9Ql3En2MB1fjdEA+5zT3BhBr4tmagD JdoJGG7/ZcXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,359,1580803200"; d="scan'208";a="398238371" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga004.jf.intel.com with ESMTP; 08 Apr 2020 08:43:47 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Apr 2020 08:43:46 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 8 Apr 2020 08:43:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGBCyRu44r0i66zIxp5sb99yYx24Cm1r873GbH5tbUThsXOP7HmcSCZOVEhjEBAZz8CgjlOOERF+6MPZbSSTWeMUTg1br84kDGsoprZ3yzEjlKrp/UuAYTb6rzNpyqglMZPicfCukN6jwSIM1Xj1MBlNp3cyQYVtsltRFzlktQ/5a04LhRwV9YG9yTSkGQt8AvR8IudgLetYhFQIoHYkqIe+bRUEdYSxmzMGICViMzdrADcjrRPikH3jYOAaxuepK5VTDjrFQ9ObGkprS9d9GyksygixKfULkSSuNluK0IaWf7CWUHkIhUBEuUIQ6vAOARj/GOc+dBo0+wOdx9CEXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XZ2qZTLQ/Pck3kZfSINAQaqtI7nfMI4b0XxAcr/H5nk=; b=duwC/kUUzCVvgFhH4PJJNHxgsT7rYH2FirY5LDaRt8XBBGDlgW29pNhJHFJZujaVzA5UOc0furRZZ01wli3G9zi7EkqM7QAyjLPKDR44dDu8s3KFlZIX3j+lmxbQOOgFB0fiiBOrCCm/IAmbLgyIuCOGr0u0UdkWMu0xspkaSRSXiKUXSLViiYuaE0CE8VGrarKCdHs7nwoW/xBuYxyxxE9nvayUCchDofe5dF3w6QN21m+iv7XgI40TQg14MQRslJ4yJMa5A7KW9dnQSti0ek69paRjjbWMLfEpaddflJlidVk3VlebG7ORIxbAt3VM1dyalxl7FJoUGN/wg2MXOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XZ2qZTLQ/Pck3kZfSINAQaqtI7nfMI4b0XxAcr/H5nk=; b=hPzL89GxMjPNJjIV9fGt9lP5jUBqjL68F3K+UzOx2QFhusHjDp5C6fqDeNfjDChlphmIkHieInOWbjga+ddqg+cSmeeXt8H74PwxAetW7B9W+5t8FjaMOD1pCANkmuWz+tRtu2BkRPagvibgIxQNH9a9rrG7FkvVEqDcILzUTmY= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB2799.namprd11.prod.outlook.com (2603:10b6:805:64::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Wed, 8 Apr 2020 15:43:45 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::1893:aaa5:545f:5272]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::1893:aaa5:545f:5272%7]) with mapi id 15.20.2878.021; Wed, 8 Apr 2020 15:43:45 +0000 From: "Trahe, Fiona" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "akhil.goyal@nxp.com" CC: "Trahe, Fiona" Thread-Topic: [PATCH v2 1/2] compress/qat: im buffer too small - split op Thread-Index: AQHWDaRzA5Brhd4yO0Gu2691Nt845KhvXYcQ Date: Wed, 8 Apr 2020 15:43:45 +0000 Message-ID: References: <20200408125101.25764-1-adamx.dybkowski@intel.com> <20200408125101.25764-2-adamx.dybkowski@intel.com> In-Reply-To: <20200408125101.25764-2-adamx.dybkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=fiona.trahe@intel.com; x-originating-ip: [192.198.151.189] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c99011b9-123d-4b1a-f015-08d7dbd39f7a x-ms-traffictypediagnostic: SN6PR11MB2799: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0367A50BB1 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(376002)(39860400002)(136003)(346002)(396003)(366004)(71200400001)(7696005)(4326008)(9686003)(52536014)(107886003)(316002)(110136005)(53546011)(81166007)(5660300002)(6506007)(81156014)(76116006)(86362001)(66476007)(64756008)(66556008)(4744005)(66446008)(8676002)(26005)(66946007)(186003)(2906002)(33656002)(478600001)(55016002)(8936002)(160913001)(15963001); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vAe/pMv/Gn1K1Tlck5YadDckPCFUOLO/AtWsCZDER2bC54UwzjDxQ7inmRZypHBrEIJT3e8lN3fvbFVf216O7H4b+8fUmCY02rzTxtGYm49Ot1va8mlFxtkFDV3fcj3r83BI3EBaKZIJxRTnwWCZNmOqbuD8uC9kLqkO0yzCE/emb46aj+e6pA+857FLunVhsjSvMhiBO+fkoWCMrJYiuL1mCJEnE1k441arOaKKdreRJgl/G3Q6XlWL4i7NKx47RmvFbJeUPgonOaqSqlOKDT0lc2xO9XngfNB0CAaq5O+CN8fBtxF3ObLNJoSk8SVAcFYT4ReUZT4eTzZfPwn8Z2l6Ag07w8RkR/NQ/O4uM8+AOSrCoLGqDkaNcQvX+d/NEEEu6JjwhWlY7ZwHTIA7JNCDP+FVzMe/hrN5P0ez/uh05nc8NBx7V3SSrg7q/TQY7jBUuDSYQqqLpYXnOYkEaG1UxjMLEjXC2CB8TW0BzNKeQe8z7tI0sUe5KHGWP58emc+kjvkiZJsJgEMFmWZcLQ== x-ms-exchange-antispam-messagedata: IlYOGDiUFo24Dpsk1iMu7jVZxfo9fibDoVreqy1b4hEDE6iyVKdZfHcbTIqFhHB+gexkjWY/a/i0MN8QP/zdq9Qpd4ETiB3HMOYr1MOfotqpaHEFARcLyDN60ugEaonjxh+dCBg+k44jValpAg5ViQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c99011b9-123d-4b1a-f015-08d7dbd39f7a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2020 15:43:45.4342 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e6TpO6QCTNs2HKQtn123pjgdKgVSJ37yvlkVZRaL4DjeDeUMM5RPjX3VziSflQJXep3fuohk4LT74hHV/9xK1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2799 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 1/2] compress/qat: im buffer too small - split op X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > -----Original Message----- > From: Dybkowski, AdamX > Sent: Wednesday, April 8, 2020 1:51 PM > To: dev@dpdk.org; Trahe, Fiona ; akhil.goyal@nxp.c= om > Cc: Dybkowski, AdamX > Subject: [PATCH v2 1/2] compress/qat: im buffer too small - split op >=20 > This patch implements a special way of buffer handling when internal > QAT IM buffer is too small for Huffman dynamic compression operation. > Instead of falling back to fixed compression, the operation is now > split into multiple smaller dynamic compression requests (possible to > execute on QAT) and their results are then combined and copied into > the output buffer. This is not possible if any checksum calculation > was requested - in such case the code falls back to fixed compression > as before. >=20 > Signed-off-by: Adam Dybkowski Acked-by: Fiona Trahe