diff mbox series

[API-NEXT,v1,1/1] api: ipsec: move pipeline SA param to inbound substructrure

Message ID 1508313605-23108-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/1] api: ipsec: move pipeline SA param to inbound substructrure | expand

Commit Message

Github ODP bot Oct. 18, 2017, 8 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


SA param pipeline is related only to inbound configuration. If at some
point it will be possible to configure destination for outbound
operation, it will be done through a separate param. Move pipeline into
inbound params substructure.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 238 (lumag:ipsec-pipeline)
 ** https://github.com/Linaro/odp/pull/238
 ** Patch: https://github.com/Linaro/odp/pull/238.patch
 ** Base sha: edca8cd1e55898826f79383b689c2c4bd2c28b3a
 ** Merge commit sha: d264e2c4064fe0e188ac3eba9b6f1174198c6a26
 **/
 include/odp/api/spec/ipsec.h | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index ddcdf75bb..26e852fca 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -633,14 +633,6 @@  typedef struct odp_ipsec_sa_param_t {
 	/** SPI value */
 	uint32_t spi;
 
-	/** Select pipelined destination for resulting events
-	 *
-	 *  Asynchronous and inline modes generate events. Select where
-	 *  those events are sent. Inbound SAs may choose to use pipelined
-	 *  classification. The default value is ODP_IPSEC_PIPELINE_NONE.
-	 */
-	odp_ipsec_pipeline_t pipeline;
-
 	/** Destination queue for IPSEC events
 	 *
 	 *  Operations in asynchronous or inline mode enqueue resulting events
@@ -690,6 +682,15 @@  typedef struct odp_ipsec_sa_param_t {
 			 */
 			uint32_t antireplay_ws;
 
+			/** Select pipelined destination for resulting events
+			 *
+			 * Asynchronous and inline modes generate events.
+			 * Select where those events are sent. Inbound SAs may
+			 * choose to use pipelined classification. The default
+			 * value is ODP_IPSEC_PIPELINE_NONE.
+			 */
+			odp_ipsec_pipeline_t pipeline;
+
 			/** Classifier destination CoS for resulting packets
 			 *
 			 *  Successfully decapsulated packets are sent to