DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private session data
@ 2018-05-22 10:36 Fiona Trahe
  2018-05-22 11:07 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Fiona Trahe @ 2018-05-22 10:36 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, fiona.trahe, akhil.goyal

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
---
 lib/librte_cryptodev/rte_cryptodev.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h
index 2fb6563..eb6c66f 100644
--- a/lib/librte_cryptodev/rte_cryptodev.h
+++ b/lib/librte_cryptodev/rte_cryptodev.h
@@ -952,7 +952,9 @@ struct rte_cryptodev_sym_session *
 
 /**
  * Frees private data for the device id, based on its device type,
- * returning it to its mempool.
+ * returning it to its mempool. It is the application's responsibility
+ * to ensure that private session data is not cleared while there are
+ * still in-flight operations using it.
  *
  * @param   dev_id   ID of device that uses the session.
  * @param   sess     Session containing the reference to the private data
-- 
1.7.0.7

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private session data
  2018-05-22 10:36 [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private session data Fiona Trahe
@ 2018-05-22 11:07 ` De Lara Guarch, Pablo
  2018-05-22 12:44   ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2018-05-22 11:07 UTC (permalink / raw)
  To: Trahe, Fiona, dev; +Cc: akhil.goyal



> -----Original Message-----
> From: Trahe, Fiona
> Sent: Tuesday, May 22, 2018 11:37 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Trahe, Fiona
> <fiona.trahe@intel.com>; akhil.goyal@nxp.com
> Subject: [PATCH] lib/crypto: clarify when it's ok to clear private session data
> 
> Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private session data
  2018-05-22 11:07 ` De Lara Guarch, Pablo
@ 2018-05-22 12:44   ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2018-05-22 12:44 UTC (permalink / raw)
  To: De Lara Guarch, Pablo, Trahe, Fiona, dev; +Cc: akhil.goyal



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of De Lara Guarch, Pablo
> Sent: Tuesday, May 22, 2018 12:08 PM
> To: Trahe, Fiona <fiona.trahe@intel.com>; dev@dpdk.org
> Cc: akhil.goyal@nxp.com
> Subject: Re: [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private
> session data
> 
> 
> 
> > -----Original Message-----
> > From: Trahe, Fiona
> > Sent: Tuesday, May 22, 2018 11:37 AM
> > To: dev@dpdk.org
> > Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Trahe,
> > Fiona <fiona.trahe@intel.com>; akhil.goyal@nxp.com
> > Subject: [PATCH] lib/crypto: clarify when it's ok to clear private
> > session data
> >
> > Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-22 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22 10:36 [dpdk-dev] [PATCH] lib/crypto: clarify when it's ok to clear private session data Fiona Trahe
2018-05-22 11:07 ` De Lara Guarch, Pablo
2018-05-22 12:44   ` De Lara Guarch, Pablo

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).