* [RFC] lib/cryptodev: update API documentation for aux_flags
@ 2025-08-27 9:43 Radu Nicolau
0 siblings, 0 replies; only message in thread
From: Radu Nicolau @ 2025-08-27 9:43 UTC (permalink / raw)
To: dev; +Cc: kai.ji, Radu Nicolau, Akhil Goyal, Fan Zhang
Update the API documentation description of rte_crypto_op field
aux_flags as to allow PMDs to define driver-specific flags.
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
lib/cryptodev/rte_crypto.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/cryptodev/rte_crypto.h b/lib/cryptodev/rte_crypto.h
index dcf4a36fb2..38c8acbf4c 100644
--- a/lib/cryptodev/rte_crypto.h
+++ b/lib/cryptodev/rte_crypto.h
@@ -116,6 +116,10 @@ struct rte_crypto_op {
* the status is RTE_CRYPTO_OP_STATUS_SUCCESS.
* In case of errors, the value of this field is undefined.
*
+ * In addition to RTE_CRYPTO_OP_AUX_FLAGS_* the PMDs can define
+ * their own optional auxiliary flags as needed, set by the
+ * application and to be used for driver-specific purposes.
+ *
* With TLS record offload (RTE_SECURITY_PROTOCOL_TLS_RECORD),
* application may provide the extra padding required for the plaintext
* provided. This field can be used for passing the same in units of 8B.
--
2.50.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-27 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-27 9:43 [RFC] lib/cryptodev: update API documentation for aux_flags Radu Nicolau
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).