diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-09-08 22:10:45 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-10-04 09:30:34 +0200 |
commit | 7af1e0aceeb321cbc90fcf6fa0bec8870290377f (patch) | |
tree | 3d1ed889e0783836af5e8b09b1d056870480b65c /include/uapi | |
parent | dmaengine: fsl-edma: Annotate struct struct fsl_edma_engine with __counted_by (diff) | |
download | linux-7af1e0aceeb321cbc90fcf6fa0bec8870290377f.tar.xz linux-7af1e0aceeb321cbc90fcf6fa0bec8870290377f.zip |
dmaengine: idxd: add wq driver name support for accel-config user tool
With the possibility of multiple wq drivers that can be bound to the wq,
the user config tool accel-config needs a way to know which wq driver to
bind to the wq. Introduce per wq driver_name sysfs attribute where the user
can indicate the driver to be bound to the wq. This allows accel-config to
just bind to the driver using wq->driver_name.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230908201045.4115614-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/idxd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h index 606b52e88ce3..3d1987e1bb2d 100644 --- a/include/uapi/linux/idxd.h +++ b/include/uapi/linux/idxd.h @@ -31,6 +31,7 @@ enum idxd_scmd_stat { IDXD_SCMD_WQ_IRQ_ERR = 0x80100000, IDXD_SCMD_WQ_USER_NO_IOMMU = 0x80110000, IDXD_SCMD_DEV_EVL_ERR = 0x80120000, + IDXD_SCMD_WQ_NO_DRV_NAME = 0x80200000, }; #define IDXD_SCMD_SOFTERR_MASK 0x80000000 |