Imported Upstream version 16.11
[deb_dpdk.git] / examples / ipsec-secgw / ipsec.c
index 1e87d0d..f49143b 100644 (file)
@@ -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;