> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Thursday, August 3, 2017 2:03 AM
> To: tho...@monjalon.net; jerin.ja...@caviumnetworks.com;
> akhil.go...@nxp.com; hemant.agra...@nxp.com; Trahe, Fiona
> <fiona.tr...@intel.com>; Jain, Deepak K <deepak.k.j...@intel.com>;
> Griffin, John <john.grif...@intel.com>; Doherty, Declan
> <declan.dohe...@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com>
> Subject: [PATCH] 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.
>
> - ``rte_cryptodev_create_vdev``
> +
> +* 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``
> --
> 2.9.4
Acked-by: Deepak Kumar Jain <deepak.k.j...@intel.com>