@@ -188,6 +188,13 @@ typedef struct odp_ipsec_inbound_config_t {
* Configuration options for IPSEC outbound processing
*/
typedef struct odp_ipsec_outbound_config_t {
+ /** Default destination queue for IPSEC events
+ *
+ * When outbound SA lookup fails in the asynchronous mode,
+ * resulting IPSEC events are enqueued into this queue.
+ */
+ odp_queue_t default_queue;
+
/** Flags to control L3/L4 checksum insertion as part of outbound
* packet processing. Packet must have set with valid L3/L4 offsets.
* Checksum configuration is ignored for packets that checksum cannot
If SA lookup fails for outbound IPsec packet in async mode, there is no way to report it back to application except using default queue (which does not exist at this moment). Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> --- include/odp/api/spec/ipsec.h | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.11.0