Documentation: update debugfs doc for Hisilicon SEC
authorKai Ye <yekai13@huawei.com>
Tue, 4 Jan 2022 08:29:17 +0000 (16:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Jan 2022 05:51:09 +0000 (16:51 +1100)
Update documentation describing DebugFS for function's QoS limiting.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/ABI/testing/debugfs-hisi-sec

index 58cfa35..2bf84ce 100644 (file)
@@ -14,6 +14,16 @@ Description: One SEC controller has one PF and multiple VFs, each function
                qm refers to.
                Only available for PF.
 
+What:          /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos
+Date:          Jun 2021
+Contact:       linux-crypto@vger.kernel.org
+Description:   The <bdf> is related the function for PF and VF.
+               SEC driver supports to configure each function's QoS, the driver
+               supports to write <bdf> value to alg_qos in the host. Such as
+               "echo <bdf> value > alg_qos". The qos value is 1~1000, means
+               1/1000~1000/1000 of total QoS. The driver reading alg_qos to
+               get related QoS in the host and VM, Such as "cat alg_qos".
+
 What:          /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
 Date:          Oct 2019
 Contact:       linux-crypto@vger.kernel.org