diff options
author | Dave Jiang <dave.jiang@intel.com> | 2020-06-03 19:27:48 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-06-24 08:23:34 +0200 |
commit | 0b8975bdc0cc5310d48d9bdd871cefebe1f94c99 (patch) | |
tree | 63f35a5d6be56d205668f8e7460a80f5ec56dd13 /include | |
parent | dmaengine: ti: k3-udma: add missing put_device() call in of_xudma_dev_get() (diff) | |
download | linux-0b8975bdc0cc5310d48d9bdd871cefebe1f94c99.tar.xz linux-0b8975bdc0cc5310d48d9bdd871cefebe1f94c99.zip |
dmaengine: idxd: fix hw descriptor fields for delta record
Fix the hw descriptor fields for delta record in user exported idxd.h
header. Missing the "expected result mask" field.
Reported-by: Mona Hossain <mona.hossain@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159120526866.65385.536565786678052944.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/idxd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h index 1f412fbf561b..e103c1434e4b 100644 --- a/include/uapi/linux/idxd.h +++ b/include/uapi/linux/idxd.h @@ -110,9 +110,12 @@ struct dsa_hw_desc { uint16_t rsvd1; union { uint8_t expected_res; + /* create delta record */ struct { uint64_t delta_addr; uint32_t max_delta_size; + uint32_t delt_rsvd; + uint8_t expected_res_mask; }; uint32_t delta_rec_size; uint64_t dest2; |