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.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -31,6 +31,7 @@ enum idxd_scmd_stat { · 30 unmodified lines | |||
| 31 | IDXD_SCMD_WQ_IRQ_ERR = 0x80100000, | 31 | IDXD_SCMD_WQ_IRQ_ERR = 0x80100000, |
| 32 | IDXD_SCMD_WQ_USER_NO_IOMMU = 0x80110000, | 32 | IDXD_SCMD_WQ_USER_NO_IOMMU = 0x80110000, |
| 33 | IDXD_SCMD_DEV_EVL_ERR = 0x80120000, | 33 | IDXD_SCMD_DEV_EVL_ERR = 0x80120000, |
| 34 | IDXD_SCMD_WQ_NO_DRV_NAME = 0x80200000, | ||
| 34 | }; | 35 | }; |
| 35 | 36 | ||
| 36 | #define IDXD_SCMD_SOFTERR_MASK 0x80000000 | 37 | #define IDXD_SCMD_SOFTERR_MASK 0x80000000 |