summaryrefslogtreecommitdiff
path: root/Documentation/ABI/stable/sysfs-driver-dma-idxd
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2021-06-04 00:57:35 +0300
committerVinod Koul <vkoul@kernel.org>2021-07-14 09:50:56 +0300
commite753a64bee753136087dfd70b37fdd199e942ea9 (patch)
tree277d9f5bd9500c2ee8d69b417802574b366f4515 /Documentation/ABI/stable/sysfs-driver-dma-idxd
parent0dcfe41e9a4ca759ccc87a48e3bb9cc3b08ff1e8 (diff)
downloadlinux-e753a64bee753136087dfd70b37fdd199e942ea9.tar.xz
dmaengine: idxd: Add wq occupancy information to sysfs attribute
Add occupancy information to wq sysfs attribute. Attribute will show wq occupancy data if "WQ Occupancy Support" field in WQCAP is 1. It displays the number of entries currently in this WQ. This is provided as an estimate and should not be relied on to determine whether there is space in the WQ. The data is to provide information to user apps for flow control. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/162275745546.1857062.8765615879420582018.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/ABI/stable/sysfs-driver-dma-idxd')
-rw-r--r--Documentation/ABI/stable/sysfs-driver-dma-idxd7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd b/Documentation/ABI/stable/sysfs-driver-dma-idxd
index d431e2d00472..adb0c93e8dfc 100644
--- a/Documentation/ABI/stable/sysfs-driver-dma-idxd
+++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd
@@ -211,6 +211,13 @@ Contact: dmaengine@vger.kernel.org
Description: Indicate whether ATS disable is turned on for the workqueue.
0 indicates ATS is on, and 1 indicates ATS is off for the workqueue.
+What: /sys/bus/dsa/devices/wq<m>.<n>/occupancy
+Date May 25, 2021
+KernelVersion: 5.14.0
+Contact: dmaengine@vger.kernel.org
+Description: Show the current number of entries in this WQ if WQ Occupancy
+ Support bit WQ capabilities is 1.
+
What: /sys/bus/dsa/devices/engine<m>.<n>/group_id
Date: Oct 25, 2019
KernelVersion: 5.6.0