Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C899C636CC for ; Fri, 3 Feb 2023 05:04:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbjBCFEx (ORCPT ); Fri, 3 Feb 2023 00:04:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231438AbjBCFEw (ORCPT ); Fri, 3 Feb 2023 00:04:52 -0500 Received: from formenos.hmeau.com (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B530E078 for ; Thu, 2 Feb 2023 21:04:19 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pNoEo-0071RW-EF; Fri, 03 Feb 2023 13:03:51 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 03 Feb 2023 13:03:50 +0800 Date: Fri, 3 Feb 2023 13:03:50 +0800 From: Herbert Xu To: Lucas Segarra Fernandez Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, lucas.segarra.fernandez@intel.com, giovanni.cabiddu@intel.com Subject: Re: [PATCH 1/2] crypto: qat - extend buffer list logic interface Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230123104222.131643-1-lucas.segarra.fernandez@intel.com> X-Newsgroups: apana.lists.os.linux.cryptoapi Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Lucas Segarra Fernandez wrote: > Extend qat_bl_sgl_to_bufl() to allow skipping the mapping of a region > of the source and the destination scatter lists starting from byte > zero. > > This is to support the ZLIB format (RFC 1950) in the qat driver. > The ZLIB format is made of deflate compressed data surrounded by a > header and a footer. The QAT accelerators support only the deflate > algorithm, therefore the header should not be mapped since it is > inserted in software. > > Signed-off-by: Lucas Segarra Fernandez > Reviewed-by: Giovanni Cabiddu > --- > drivers/crypto/qat/qat_common/qat_bl.c | 37 ++++++++++++++++--- > drivers/crypto/qat/qat_common/qat_bl.h | 2 + > drivers/crypto/qat/qat_common/qat_comp_algs.c | 3 ++ > 3 files changed, 37 insertions(+), 5 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt