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

