[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Mar 2023 12:52:16 -0600
From: Tom Zanussi <tom.zanussi@...ux.intel.com>
To: herbert@...dor.apana.org.au, davem@...emloft.net,
fenghua.yu@...el.com, vkoul@...nel.org
Cc: dave.jiang@...el.com, tony.luck@...el.com,
wajdi.k.feghali@...el.com, james.guilford@...el.com,
kanchana.p.sridhar@...el.com, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, dmaengine@...r.kernel.org
Subject: [PATCH 06/16] dmaengine: idxd: Add private_data to struct idxd_wq
Add a void * to idxd_wqs for user-defined context data.
Signed-off-by: Tom Zanussi <tom.zanussi@...ux.intel.com>
---
drivers/dma/idxd/idxd.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h
index 719f9f1662ad..e55213b5153e 100644
--- a/drivers/dma/idxd/idxd.h
+++ b/drivers/dma/idxd/idxd.h
@@ -216,6 +216,8 @@ struct idxd_wq {
u32 max_batch_size;
char driver_name[WQ_NAME_SIZE + 1];
+
+ void *private_data;
};
struct idxd_engine {
--
2.34.1
Powered by blists - more mailing lists