DMA Engine development
 help / color / mirror / Atom feed
* [PATCH] dmaengine: idxd: fix hw descriptor fields for delta record
@ 2020-06-03 17:27 Dave Jiang
  2020-06-24  6:23 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jiang @ 2020-06-03 17:27 UTC (permalink / raw)
  To: vkoul; +Cc: dmaengine, mona.hossain

Fix the hw descriptor fields for delta record in user exported idxd.h
header. Missing the "expected result mask" field.

Reproted-by: Mona Hossain <mona.hossain@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
---
 0 files changed

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;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dmaengine: idxd: fix hw descriptor fields for delta record
  2020-06-03 17:27 [PATCH] dmaengine: idxd: fix hw descriptor fields for delta record Dave Jiang
@ 2020-06-24  6:23 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2020-06-24  6:23 UTC (permalink / raw)
  To: Dave Jiang; +Cc: dmaengine, mona.hossain

On 03-06-20, 10:27, Dave Jiang wrote:
> Fix the hw descriptor fields for delta record in user exported idxd.h
> header. Missing the "expected result mask" field.
> 
> Reproted-by: Mona Hossain <mona.hossain@intel.com>

/sReproted-by/Reported

Applied with fix!

-- 
~Vinod

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-24  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-03 17:27 [PATCH] dmaengine: idxd: fix hw descriptor fields for delta record Dave Jiang
2020-06-24  6:23 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox