Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp973158rdf; Wed, 22 Nov 2023 01:58:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6UWGtgtxXoJlxQMnIaIQiGuy7BbxXxU6xg+81ggRfg2s4SzQtAIEyr+bIxVppu1hfheA3 X-Received: by 2002:a05:6a20:a1a5:b0:18a:df69:eabe with SMTP id r37-20020a056a20a1a500b0018adf69eabemr4371778pzk.11.1700647120395; Wed, 22 Nov 2023 01:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700647120; cv=none; d=google.com; s=arc-20160816; b=WkOnIEX07674/dyOgUlp+raR/meis8PcsMCyaOWNTCXxFEqbC3jQRXnfskXgrgmUQD fifAN1EGabJpWwtn5d5wTlh7/fwzoSaGx8DglJwEWZgl/NRWGtW2WgExkrxK/HGG1QKf Jyj83NMGz5piFVRPuTKulCHaXL6xaNE3rk27g4We04q7zHh/mI/qeXkqc47LCeVKH6LD I8ZAMGlfxNnMZ8oEc6sH5j8edWo2v2TWqMsrbg3ErBRWEXOtpxXyWKTfIci8P2PrywPt Z3xfyUEUM7+rVdEfR+IaQe4j+5kIoqth7Ili0SnnjzJORr2vlsces1mEpRMq1StTSqg4 p0rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Cd1JVsCNmSK/I7n0YUngQNgX6QUaNyBF7JnjIBHAiZw=; fh=LlxLn7ohw/kUyLbgaIlweTo3y+gsnQtQMxHkv0FW9nU=; b=RH8iO86QxI9Zks0rMy3ZRsH3io11Q0d851X0xjFE4UBKYGCFvJh9LIUgfWrhAMxrlF rpoGHr/zPLw0vV9Vg8qxJxBFGboKEckeugeMFPqK9/+099Ek8LpLT+ba+ad8KSieErZt b8MQKxPqEwCF0R0yD6nCjHyxLahg1/sQhfj+Jpd99NTEODcXFyX35Aa8cu+nN2WCSFF5 qYzfvy6nk4TX3w0Y+DjXa7XIsgG+ZjSdxG+jRl6ifp/HoBKCRDULZG6B5BTiWP+o8/YF RDKsdPbbBiZRUkgZRvqNW9ykhmXowveP8dSL3CK/30OU5Eost6cP3kXc3LsNwDlQC5W9 R47Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i10-20020a63d44a000000b005bdc49ba91bsi12505392pgj.151.2023.11.22.01.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 01:58:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D932080E0705; Wed, 22 Nov 2023 01:57:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235117AbjKVJ5R (ORCPT + 99 others); Wed, 22 Nov 2023 04:57:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343655AbjKVJ4t (ORCPT ); Wed, 22 Nov 2023 04:56:49 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9D4C3875; Wed, 22 Nov 2023 01:56:23 -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 1r5jxv-002Ixv-TJ; Wed, 22 Nov 2023 17:56:16 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 22 Nov 2023 17:56:24 +0800 Date: Wed, 22 Nov 2023 17:56:24 +0800 From: Herbert Xu To: Chenghai Huang Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, shenyang39@huawei.com Subject: Re: [PATCH fot-next] hisilicon/zip: Add ZIP comp high perf configuration Message-ID: References: <20231121134024.114476-1-huangchenghai2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121134024.114476-1-huangchenghai2@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 01:57:32 -0800 (PST) On Tue, Nov 21, 2023 at 09:40:24PM +0800, Chenghai Huang wrote: > To meet specific application scenarios, the function of switching between > the high performance mode and the high compression mode is added. > > Use the perf_mode=0/1 configuration to set the compression high-perf mode, > 0(default, high compression mode), 1(high performance mode). > > Signed-off-by: Chenghai Huang Is it still compatible with the software algorithm implementation when in high performance mode, in both directions? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt