From: Sergio Gonzalez Monroy Date: Thu, 29 Sep 2016 15:44:08 +0000 (+0100) Subject: examples/ipsec-secgw: reset crypto operation status X-Git-Tag: spdx-start~5704 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a60c05b5408c2b74303a2d73bbea6667086405b6;p=dpdk.git examples/ipsec-secgw: reset crypto operation status Signed-off-by: Sergio Gonzalez Monroy Acked-by: Pablo de Lara --- diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c index 1e87d0dffa..f49143b9f0 100644 --- a/examples/ipsec-secgw/ipsec.c +++ b/examples/ipsec-secgw/ipsec.c @@ -124,6 +124,7 @@ ipsec_enqueue(ipsec_xform_fn xform_func, struct ipsec_ctx *ipsec_ctx, priv->sa = sa; priv->cop.type = RTE_CRYPTO_OP_TYPE_SYMMETRIC; + priv->cop.status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED; rte_prefetch0(&priv->sym_cop); priv->cop.sym = &priv->sym_cop;