> > /**
> > @@ -385,13 +547,35 @@ typedef enum odp_ipsec_lookup_mode_t {
> > ODP_IPSEC_LOOKUP_DISABLED = 0,
> >
> > /** Inbound SA lookup is enabled. Lookup matches only SPI value.
> > - * SA lookup failure status (error.sa_lookup) is reported
> through
> > + * In inline mode, a lookup miss directs the packet back to
> normal
> > + * packet input interface processing. In other modes, the SA
> lookup
> > + * failure status (error.sa_lookup) is reported through
> > * odp_ipsec_packet_result_t. */
>
> You mean, lookup miss will be reported:
> - for lookaside, async mode -> "default_queue"
> - for lookaside, sync mode -> "odp_ipsec_op_result_t" of the operation
> - for inline mode: "normal packet input"
> ?
It's the same struct (odp_ipsec_op_result_t) in both sync and async cases. In
the first case it's an output param, in the second case it's carried as an
event.
-Petri