* [PATCH] cryptodev: add missing doc
@ 2023-09-07 13:00 Anoob Joseph
2023-09-11 10:15 ` Thomas Monjalon
2023-09-12 10:42 ` [PATCH v2] " Anoob Joseph
0 siblings, 2 replies; 4+ messages in thread
From: Anoob Joseph @ 2023-09-07 13:00 UTC (permalink / raw)
To: Akhil Goyal, Thomas Monjalon; +Cc: Jerin Jacob, dev
Description for rte_cryptodev_get_sec_ctx is missing. Add the same.
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
lib/cryptodev/rte_cryptodev.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h
index ba730373fb..8876e0427f 100644
--- a/lib/cryptodev/rte_cryptodev.h
+++ b/lib/cryptodev/rte_cryptodev.h
@@ -973,6 +973,15 @@ struct rte_cryptodev_cb_rcu {
/**< RCU QSBR variable per queue pair */
};
+/**
+ * Get the security context for the cryptodev.
+ *
+ * @param dev_id
+ * The device identifier.
+ * @return
+ * - NULL on error.
+ * - Pointer to security context on success.
+ */
void *
rte_cryptodev_get_sec_ctx(uint8_t dev_id);
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cryptodev: add missing doc
2023-09-07 13:00 [PATCH] cryptodev: add missing doc Anoob Joseph
@ 2023-09-11 10:15 ` Thomas Monjalon
2023-09-12 10:42 ` [PATCH v2] " Anoob Joseph
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2023-09-11 10:15 UTC (permalink / raw)
To: Akhil Goyal, Anoob Joseph; +Cc: Jerin Jacob, dev
07/09/2023 15:00, Anoob Joseph:
> Description for rte_cryptodev_get_sec_ctx is missing. Add the same.
>
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Looks like a fix, please add "Fixes:" line.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] cryptodev: add missing doc
2023-09-07 13:00 [PATCH] cryptodev: add missing doc Anoob Joseph
2023-09-11 10:15 ` Thomas Monjalon
@ 2023-09-12 10:42 ` Anoob Joseph
2023-09-19 5:59 ` Akhil Goyal
1 sibling, 1 reply; 4+ messages in thread
From: Anoob Joseph @ 2023-09-12 10:42 UTC (permalink / raw)
To: Akhil Goyal, Thomas Monjalon; +Cc: Jerin Jacob, dev
Description for rte_cryptodev_get_sec_ctx is missing. Add the same.
Fixes: eadb4fa1e1fe ("cryptodev: support security APIs")
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
lib/cryptodev/rte_cryptodev.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h
index 9246df90ef..9017a56cd0 100644
--- a/lib/cryptodev/rte_cryptodev.h
+++ b/lib/cryptodev/rte_cryptodev.h
@@ -971,6 +971,15 @@ struct rte_cryptodev_cb_rcu {
/**< RCU QSBR variable per queue pair */
};
+/**
+ * Get the security context for the cryptodev.
+ *
+ * @param dev_id
+ * The device identifier.
+ * @return
+ * - NULL on error.
+ * - Pointer to security context on success.
+ */
void *
rte_cryptodev_get_sec_ctx(uint8_t dev_id);
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH v2] cryptodev: add missing doc
2023-09-12 10:42 ` [PATCH v2] " Anoob Joseph
@ 2023-09-19 5:59 ` Akhil Goyal
0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2023-09-19 5:59 UTC (permalink / raw)
To: Anoob Joseph, Thomas Monjalon; +Cc: Jerin Jacob Kollanukkaran, dev, stable
> Subject: [PATCH v2] cryptodev: add missing doc
Title updated as "cryptodev: fix missing doc"
>
> Description for rte_cryptodev_get_sec_ctx is missing. Add the same.
>
> Fixes: eadb4fa1e1fe ("cryptodev: support security APIs")
>
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Cc: stable@dpdk.org
Applied to dpdk-next-crypto
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-19 5:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 13:00 [PATCH] cryptodev: add missing doc Anoob Joseph
2023-09-11 10:15 ` Thomas Monjalon
2023-09-12 10:42 ` [PATCH v2] " Anoob Joseph
2023-09-19 5:59 ` Akhil Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).