diff options
author | Dave Jiang <dave.jiang@intel.com> | 2020-11-14 01:55:05 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-12-10 10:26:44 +0300 |
commit | 92de5fa2dc39c3fba0704f7ac914e7f02eb732f2 (patch) | |
tree | b867127de4232b0d82716fd3ba773f794d8abc7e /drivers/dma/idxd/idxd.h | |
parent | 5d051f37f49d5bf04dca15fadea3a90a6a6f0f15 (diff) | |
download | linux-92de5fa2dc39c3fba0704f7ac914e7f02eb732f2.tar.xz |
dmaengine: idxd: add ATS disable knob for work queues
With the DSA spec 1.1 update, a knob to disable ATS for individually is
introduced. Add enabling code to allow a system admin to make the
configuration through sysfs.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/160530810593.1288392.2561048329116529566.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/idxd.h')
-rw-r--r-- | drivers/dma/idxd/idxd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 7e54209c433a..149934f8d097 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -123,6 +123,7 @@ struct idxd_wq { char name[WQ_NAME_SIZE + 1]; u64 max_xfer_bytes; u32 max_batch_size; + bool ats_dis; }; struct idxd_engine { |