git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cryptodev: fix C11 extensions in exported header
[dpdk.git]
/
lib
/
librte_cryptodev
/
rte_crypto.h
diff --git
a/lib/librte_cryptodev/rte_crypto.h
b/lib/librte_cryptodev/rte_crypto.h
index
0908368
..
10fe080
100644
(file)
--- a/
lib/librte_cryptodev/rte_crypto.h
+++ b/
lib/librte_cryptodev/rte_crypto.h
@@
-266,8
+266,9
@@
rte_crypto_op_alloc(struct rte_mempool *mempool, enum rte_crypto_op_type type)
* @param nb_ops Number of crypto operations to allocate
*
* @returns
* @param nb_ops Number of crypto operations to allocate
*
* @returns
- * - On success returns a valid rte_crypto_op structure
- * - On failure returns NULL
+ * - nb_ops if the number of operations requested were allocated.
+ * - 0 if the requested number of ops are not available.
+ * None are allocated in this case.
*/
static inline unsigned
*/
static inline unsigned