aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/ipsec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/api/spec/ipsec.h')
-rw-r--r--include/odp/api/spec/ipsec.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index f66758341..11cbfe65d 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -364,6 +364,9 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
+ /** Support for returning completion packets as vectors */
+ odp_pktin_vector_capability_t vector;
+
/** Maximum anti-replay window size. */
uint32_t max_antireplay_ws;
@@ -455,6 +458,16 @@ typedef struct odp_ipsec_config_t {
*/
odp_bool_t stats_en;
+ /**
+ * Packet vector configuration for async and inline operations
+ *
+ * This packet vector configuration affects packets delivered to
+ * the application through the default queue and the SA destination
+ * queues. It does not affect packets delivered through pktio
+ * input queues.
+ */
+ odp_pktin_vector_config_t vector;
+
} odp_ipsec_config_t;
/**
@@ -1178,6 +1191,9 @@ void odp_ipsec_sa_param_init(odp_ipsec_sa_param_t *param);
*
* Create a new IPSEC SA according to the parameters.
*
+ * The parameter structure as well as all key, address and other memory
+ * buffers pointed to by it can be freed after the call.
+ *
* @param param IPSEC SA parameters
*
* @return IPSEC SA handle