[dpdk-dev] [PATCH] cryptodev: Add useful comment to _sym_session

Billy O'Mahony billy.o.mahony at intel.com
Mon Nov 27 12:40:28 CET 2017


Signed-off-by: Billy O'Mahony <billy.o.mahony at intel.com>
---
 lib/librte_cryptodev/rte_cryptodev.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h
index dade554..879bd71 100644
--- a/lib/librte_cryptodev/rte_cryptodev.h
+++ b/lib/librte_cryptodev/rte_cryptodev.h
@@ -890,7 +890,10 @@ rte_cryptodev_enqueue_burst(uint8_t dev_id, uint16_t qp_id,
 }
 
 
-/** Cryptodev symmetric crypto session */
+/** Cryptodev symmetric crypto session
+ * Each session is derived from a fixed xform chain. Therefore each session
+ * has a fixed algo, key, op-type, digest_len etc.
+ */
 struct rte_cryptodev_sym_session {
 	__extension__ void *sess_private_data[0];
 	/**< Private session material */
-- 
2.7.4



More information about the dev mailing list