examples/ipsec-secgw: fix wrong session size
authorAnoob Joseph <anoob.joseph@caviumnetworks.com>
Fri, 7 Sep 2018 05:55:26 +0000 (11:25 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 25 Sep 2018 15:57:25 +0000 (17:57 +0200)
commit2e960c97c6b9311bea90b775e21a4b99ac1d50dc
tree72a333050c5cba38bdd9e26d02f1285bfe20cffd
parentf48cc7af02abc8a462bc0020aa76878d5238a753
examples/ipsec-secgw: fix wrong session size

Crypto devices, which support lookaside protocol, exposes security
session size in addition to the crypto private symmetric session data
size. For applications using the security capabilities, both these
sizes need to be considered.

Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Signed-off-by: Archana Muniganti <muniganti.archana@caviumnetworks.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec-secgw.c