> -----Original Message----- > From: akhil.go...@nxp.com [mailto:akhil.go...@nxp.com] > Sent: Friday, March 24, 2017 9:29 AM > To: dev@dpdk.org > Cc: Gonzalez Monroy, Sergio; Doherty, Declan; De Lara Guarch, Pablo; > Trahe, Fiona; hemant.agra...@nxp.com; Akhil Goyal > Subject: [PATCH v3 1/2] cryptodev: add api for attach-detach session with > queue pair > > From: Akhil Goyal <akhil.go...@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.go...@nxp.com> > Acked-by: Fiona Trahe <fiona.tr...@intel.com>
Applied to dpdk-next-crypto. Thanks, Pablo