diff options
| author | Dave Jiang <dave.jiang@intel.com> | 2021-03-22 16:36:25 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-21 13:13:17 +0200 |
| commit | 7f9b39e7e4e817498aa0072b6e47367052053d80 (patch) | |
| tree | 5cdb675399b8f3f0d99892fd07463a4679b50c9a /include/uapi/linux/idxd.h | |
| parent | 02981a44a0e402089775416371bd2e0c935685f8 (diff) | |
dmaengine: idxd: fix delta_rec and crc size field for completion record
[ Upstream commit 4ac823e9cd85f66da274c951d21bf9f6b714b729 ]
The delta_rec_size and crc_val in the completion record should
be 32bits and not 16bits.
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Reported-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/161645618572.2003490.14466173451736323035.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/idxd.h')
| -rw-r--r-- | include/uapi/linux/idxd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h index 236d437947bc..e33997b4d750 100644 --- a/include/uapi/linux/idxd.h +++ b/include/uapi/linux/idxd.h @@ -247,8 +247,8 @@ struct dsa_completion_record { uint32_t rsvd2:8; }; - uint16_t delta_rec_size; - uint16_t crc_val; + uint32_t delta_rec_size; + uint32_t crc_val; /* DIF check & strip */ struct { |
