From patchwork Wed Oct 18 08:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 116238 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5782746qgn; Wed, 18 Oct 2017 01:00:50 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RmtxqW5gc/QMco+lbMaXg8KfQ+OiIMLJCDxnnJmzfcTssuiwV3EHYTFCI08pjGehDYzkfC X-Received: by 10.36.124.72 with SMTP id a69mr9712458itd.135.1508313650202; Wed, 18 Oct 2017 01:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508313650; cv=none; d=google.com; s=arc-20160816; b=P36Tow0vI+lg/y/3zfw/vyj+jdEqt5WCOn8KHtZ8FLskzcB79eW8kjXY0l71LMi4AH RL2UugyjXRetitFmvA/WykcuA3kPAgqADWvBdS4Py7OL4BfBHkg7x6AY7LvZsbOgB6xK 5X/sXTyf/c9+PnCWJPJzRuBFOhMYCY+tR+gnNspvCU67p5AFeQnjlKB13LyxGrOL7aI8 EY7WN8hWx8LCEIS9kX/AEwCfoUkwU0KgYW7c8NJYaS4vAgvp/OL1/kigKwzdy0/dcM0l KjJEHe19fOz+djlL3YPBy6r4tE9Zhgu0OxAMKmpggHC9IiB4eNFDrOt0VdVrbQQZAH0V x2Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=pIIpXf8RZx4hq1gNih/FkfWAknoiEVEnk8to9Seaqys=; b=JxyOuoXPLM8dcu+oYUbxk0WxGiZq34S3WDIgErhEKuPKOH+NPu9Va+eyjj0G1zIUms mh7Qa7JpbMAMM7GoCcCpLkxxwgw1y8BN4xeqi281Vx1xbXp59vzTN9u2l5qftZ3zq5dx RH1Dhol/B6qBkwA9uzmX+xzSm9BTduoNqnkPhl0NJtvcC3fI1FcU5O4Tjll7X537VV4U XTihv4LTutFfGoBSaetnXAkSnVMShgyLblSeLmrBCQPBuPcIooFXx1I2P6uDmy68J7N0 z5N9Q6aXI1PklAhL1wvgz1ERHqBEXeAIKeG/4ZV/KcVuJdNqXEOGaQsjMIDEOPl3BCrs nN6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 6si8344406itc.0.2017.10.18.01.00.49; Wed, 18 Oct 2017 01:00:50 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 587C66296C; Wed, 18 Oct 2017 08:00:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 39C4D628DB; Wed, 18 Oct 2017 08:00:40 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 32B67629D9; Wed, 18 Oct 2017 08:00:35 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 9A7CE62A63 for ; Wed, 18 Oct 2017 08:00:22 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward100o.mail.yandex.net (Yandex) with ESMTP id AD12B2A22594 for ; Wed, 18 Oct 2017 11:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hesT2EE1K9-0KKmhJ4U; Wed, 18 Oct 2017 11:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kknKxv5MpH-0JbCUKbh; Wed, 18 Oct 2017 11:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 18 Oct 2017 11:00:05 +0300 Message-Id: <1508313605-23108-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508313605-23108-1-git-send-email-odpbot@yandex.ru> References: <1508313605-23108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 238 Subject: [lng-odp] [PATCH API-NEXT v1 1/1] api: ipsec: move pipeline SA param to inbound substructrure X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov 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 --- /** 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 --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