mbox series

[0/8] crypto: hisilicon - supports to configure function's QoS for ACC

Message ID 1623402410-63906-1-git-send-email-yekai13@huawei.com (mailing list archive)
Headers show
Series crypto: hisilicon - supports to configure function's QoS for ACC | expand

Message

yekai (A) June 11, 2021, 9:06 a.m. UTC
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(-)

Comments

Herbert Xu June 17, 2021, 8:01 a.m. UTC | #1
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.