cryptodev: update symmetric session structure
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 10 Jan 2019 14:50:19 +0000 (14:50 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commite764cd72a9bc697b84b055ad3cbb723860e256e4
treeba36bff6852ab530fb90f30cca07b1702ff6be33
parent0b60386ac353835485d2ea8add8c059cfeae9d58
cryptodev: update symmetric session structure

This patch updates the rte_cryptodev_sym_session structure for
cryptodev library. The updates include a changed session private
data array and an added nb_drivers field. They are used to
calculate the correct session header size and ensure safe access
of the session private data.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
doc/guides/prog_guide/img/cryptodev_sym_sess.svg
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_02.rst
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h
lib/librte_cryptodev/rte_cryptodev_pmd.h