[v2] cryptodev: add missing doc
Checks
Commit Message
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(+)
Comments
> 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
@@ -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);