examples/ipsec-secgw: attach session-qp
authorAkhil Goyal <akhil.goyal@nxp.com>
Fri, 24 Mar 2017 09:29:21 +0000 (14:59 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commitc5aa9617c02d95792d3a899d3fd8bfa3377dcf75
tree10da99d65ab03831ba22edb2e32bbc5eb783dfad
parentd816fdea557c997b24650807bb7616907c418864
examples/ipsec-secgw: attach session-qp

adding support for attaching session to queue pairs.
This is required as underlying crypto driver may only
support limited number of sessions per queue pair
if max_nb_sessions_per_qp > 0, session should be
attached to a particular qp.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
examples/ipsec-secgw/ipsec.c