From mboxrd@z Thu Jan 1 00:00:00 1970 From: Billy O'Mahony Subject: [PATCH] cryptodev: Add useful comment to _sym_session Date: Mon, 27 Nov 2017 11:40:28 +0000 Message-ID: <1511782828-19964-1-git-send-email-billy.o.mahony@intel.com> Cc: Billy O'Mahony To: pablo.de.lara.guarch@intel.com, dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id EBF63201 for ; Mon, 27 Nov 2017 12:40:33 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Billy O'Mahony --- 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