Skip to content

Commit

Permalink
cryptodev: add missing doc for security context
Browse files Browse the repository at this point in the history
[ upstream commit 1e71cb205047fd7f151018179279de92b2e92fa2 ]

Description for rte_cryptodev_get_sec_ctx is missing. Add the same.

Fixes: eadb4fa ("cryptodev: support security APIs")

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
  • Loading branch information
anoobj authored and bluca committed Oct 18, 2023
1 parent de3a0ab commit 3578199
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/librte_cryptodev/rte_cryptodev.h
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,15 @@ struct rte_cryptodev {
/**< Flag indicating the device is attached */
} __rte_cache_aligned;

/**
* 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);

Expand Down

0 comments on commit 3578199

Please sign in to comment.