On Thu, 3 Jan 2019 20:16:17 +0000 Konstantin Ananyev <[email protected]> wrote:
> Add 'uint64_t opaque_data' inside struct rte_cryptodev_sym_session. > That allows upper layer to easily associate some user defined > data with the session. > > Signed-off-by: Konstantin Ananyev <[email protected]> > Acked-by: Fiona Trahe <[email protected]> > Acked-by: Mohammad Abdul Awal <[email protected]> > Acked-by: Declan Doherty <[email protected]> > Acked-by: Akhil Goyal <[email protected]> > --- > lib/librte_cryptodev/rte_cryptodev.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_cryptodev/rte_cryptodev.h > b/lib/librte_cryptodev/rte_cryptodev.h > index 4099823f1..009860e7b 100644 > --- a/lib/librte_cryptodev/rte_cryptodev.h > +++ b/lib/librte_cryptodev/rte_cryptodev.h > @@ -954,6 +954,8 @@ rte_cryptodev_enqueue_burst(uint8_t dev_id, uint16_t > qp_id, > * has a fixed algo, key, op-type, digest_len etc. > */ > struct rte_cryptodev_sym_session { > + uint64_t opaque_data; > + /**< Opaque user defined data */ > __extension__ void *sess_private_data[0]; > /**< Private symmetric session material */ > }; This will cause ABI breakage.

