On 12/10/2014 05:12 PM, Robbie King wrote: > @@ -761,9 +766,9 @@ pkt_disposition_e do_ipsec_in_classify(odp_packet_t pkt, > */ > static > pkt_disposition_e do_ipsec_in_finish(odp_packet_t pkt, > - pkt_ctx_t *ctx) > + pkt_ctx_t *ctx, > + odp_crypto_compl_event_t event) > { > - odp_buffer_t event; > odp_crypto_compl_status_t cipher_rc; > odp_crypto_compl_status_t auth_rc; > odph_ipv4hdr_t *ip; > @@ -771,8 +776,8 @@ pkt_disposition_e do_ipsec_in_finish(odp_packet_t pkt, > int trl_len = 0; > > /* Check crypto result */ > - event = odp_packet_to_buffer(pkt); > odp_crypto_get_operation_compl_status(event, &cipher_rc, &auth_rc); > + odp_crypto_release_compl_event(event);
If operation is done synchronously but out of place, then 'pkt' is an old packet. -- Taras Kondratiuk _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp