[dpdk-dev] [PATCH v3 1/2] cryptodev: add api for attach-detach session with queue pair

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Mar 28 14:58:52 CEST 2017



> -----Original Message-----
> From: akhil.goyal at nxp.com [mailto:akhil.goyal at nxp.com]
> Sent: Friday, March 24, 2017 9:29 AM
> To: dev at dpdk.org
> Cc: Gonzalez Monroy, Sergio; Doherty, Declan; De Lara Guarch, Pablo;
> Trahe, Fiona; hemant.agrawal at nxp.com; Akhil Goyal
> Subject: [PATCH v3 1/2] cryptodev: add api for attach-detach session with
> queue pair
> 
> From: Akhil Goyal <akhil.goyal at nxp.com>
> 
> HW based crypto drivers may only support limited number of
> sessions per queue pair. This requires support for attaching
> sessions to specific queue pair.  New APIs  are introduced to
> attach/detach a session with/from a particular queue pair.
> These are optional APIs.
> 
> Application can call attach API after creating a session
> and can call detach API before deleting a session.
> 
> Application needs to check if max_nb_sessions_per_qp > 0,
> then it should call the attach API.
> 
> max_nb_sessions_per_qp = 0 means infinite sessions per qp
> 
> Signed-off-by: Akhil Goyal <akhil.goyal at nxp.com>
> Acked-by: Fiona Trahe <fiona.trahe at intel.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo


More information about the dev mailing list