OSDN Git Service

crypto: hisilicon/qm - supports writing QoS int the host
authorKai Ye <yekai13@huawei.com>
Fri, 11 Jun 2021 09:06:43 +0000 (17:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Jun 2021 07:07:31 +0000 (15:07 +0800)
commit72b010dc33b9598883bc84d40b0a9d07c16f5e39
tree3b775b808f14adf4eac3ceb9ab4bb02334aa2e4a
parent10ff9976d06fc6a11f512755d500ab2860cbe650
crypto: hisilicon/qm - supports writing QoS int the host

Based on the Token bucket algorithm. The HAC driver supports to configure
each function's QoS in the host. The driver supports writing QoS by the
debugfs node that named "alg_qos". The qos value is 1~1000.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm.h