summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2017-08-03 02:02:36 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-08-08 12:21:32 +0200
commitb17def6c2b74c92d5d888988cf4d9665b054fed9 (patch)
tree256468d1569b35c5c268a724a9bccccf3f9e0974
parent1983b990def13ed4bdefe088c31664463010a275 (diff)
downloaddpdk-b17def6c2b74c92d5d888988cf4d9665b054fed9.zip
dpdk-b17def6c2b74c92d5d888988cf4d9665b054fed9.tar.gz
dpdk-b17def6c2b74c92d5d888988cf4d9665b054fed9.tar.xz
doc: announce API change in crypto driver allocation
rte_cryptodev_allocate_driver() function gets one parameter (rte_driver), as the cryptodev_driver structure is allocated inside the function with rte_malloc. This function is called from a constructor function, when crypto PMDs are registered. If malloc fails, there is no way to recover from it, so it is better to allocate this structure statically, in each PMD. Therefore, it is required to add an extra parameter in this function, to also get a pointer to this structure. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 2f2f0d2..11a9d09 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -106,6 +106,12 @@ Deprecation Notices
- ``rte_cryptodev_vdev_pmd_init``
+* cryptodev: the following function will have an extra parameter, passing a
+ statically allocated crypto driver structure, instead of calling malloc,
+ in 17.11:
+
+ - ``rte_cryptodev_allocate_driver``
+
* librte_table: The ``key_mask`` parameter will be added to all the hash tables
that currently do not have it, as well as to the hash compute function prototype.
The non-"do-sig" versions of the hash tables will be removed