Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp225756pxj; Thu, 17 Jun 2021 01:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMk7djG2P4Zmfg9du/l2W50qsiFRqtZDa3C9g3Aud2kepKt6S+xOk/MO/+DrhStNqNOPjE X-Received: by 2002:a02:c906:: with SMTP id t6mr3420117jao.117.1623916969154; Thu, 17 Jun 2021 01:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623916969; cv=none; d=google.com; s=arc-20160816; b=sY8SUbD5gS5siBzTyrBAtOGdr2cppv68IEi/8u4LlpefolLEYgRcfgtvyly5cHBYuX MBq2JQJKIUy4GZf4BO9Tb1wj2BNomzkeooOSxdH2AEEI7NeUIrHgV3J9uQVhAxP1bOVN mhIvq6F/9tNjA2MZfVsErAYZWQ/YQ8RepJuJq6gzKIGfUceQ0whOWDMfKJBslo/M3KCv DgaIKXyT976vdLj+IqtV67Xa6nx1tFQd18KB1xgkVL9b0t/BDYlMJSgzC7TjO85xaJs8 cS0a7eye6Xl4mebtFg9znt5vDr5+6+BcuyO7I7sj4/NbfWnmgptP/1vh12R6F7o4HszG E6iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pFsZlrDHEFj96c17bPz25zuEDGU1a4VNVFfHYTeDEgo=; b=ZFd4qLAj+njEwZ5qRnCrjtQeTLdo+lR0Tewz6LIjdIhNYsbusEUQjSu91BrEsgv3xV I1QYHlvB30498pkW8zl30KN0shqOHmcbblMcoaTGMbhvc03QaezegEDIIkDmBKqqN8xl M2F9vuCt3fVbWRbRJRRLACgABc1H+DsnHunkdG6NnqCkg82ZS2iX5wnV5hIEHgHDULx+ Xq+PREeDGoi3OHP7HGjjoeIOvzZZ7vh4EKbWs1Ni7TItbO2W2mhevJnDd/4YLhpC2+Xo Gy0ogQui6dcz5BHvgDFgwWg6DLDgxfr/L1MjWlf+XKPdPkfKKmGi6/OwsaKJMRN0Tfym 9zpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si5274577jar.85.2021.06.17.01.02.37; Thu, 17 Jun 2021 01:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbhFQIDq (ORCPT + 99 others); Thu, 17 Jun 2021 04:03:46 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:50732 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230283AbhFQIDc (ORCPT ); Thu, 17 Jun 2021 04:03:32 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1ltmxo-0003k1-Ht; Thu, 17 Jun 2021 16:01:24 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1ltmxn-0002oE-RU; Thu, 17 Jun 2021 16:01:23 +0800 Date: Thu, 17 Jun 2021 16:01:23 +0800 From: Herbert Xu To: Kai Ye Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, wangzhou1@hisilicon.com Subject: Re: [PATCH 0/8] crypto: hisilicon - supports to configure function's QoS for ACC Message-ID: <20210617080123.GE10662@gondor.apana.org.au> References: <1623402410-63906-1-git-send-email-yekai13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1623402410-63906-1-git-send-email-yekai13@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 05:06:42PM +0800, Kai Ye wrote: > Based on the Token bucket algorithm. The QM can limit the throughput > of functions in Kunpeng930. By the device debugfs node that named > "alg_qos", the ACC driver supports to configue each function's QoS > in the host. Based on the communication between pf and vf, the driver > supports reading each function's QoS in the host and VM also by the > debugfs node. > > Kai Ye (8): > crypto: hisilicon/qm - supports writing QoS int the Host > crypto: hisilicon/qm - add the "alg_qos" file node > crypto: hisilicon/qm - merges the work initialization process into a > single function > crypto: hisilicon/qm - add pf ping single vf function > crypto: hisilicon/qm - supports to inquiry each function's QoS > crypto: hisilicon/sec - adds the max shaper type rate > crypto: hisilicon/hpre - adds the max shaper type rate > crypto: hisilicon/zip - adds the max shaper type rate > > drivers/crypto/hisilicon/hpre/hpre_main.c | 7 + > drivers/crypto/hisilicon/qm.c | 909 +++++++++++++++++++++++------- > drivers/crypto/hisilicon/qm.h | 14 + > drivers/crypto/hisilicon/sec2/sec_main.c | 7 + > drivers/crypto/hisilicon/zip/zip_main.c | 11 + > 5 files changed, 757 insertions(+), 191 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