From patchwork Thu Jul 13 07: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: 107554 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1843107qge; Thu, 13 Jul 2017 00:01:01 -0700 (PDT) X-Received: by 10.200.36.205 with SMTP id t13mr3002403qtt.147.1499929261265; Thu, 13 Jul 2017 00:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499929261; cv=none; d=google.com; s=arc-20160816; b=WyEEVNBVY5sO7K2fA7DS51vxM8YzSfnC7Tr3iCeALfnk9031LxAZEfKfuvVcxFlOdj JeRWLa0Kteeaj9grUDEm6a7IL8MLyArs65O7loizkGLwwipZqCV3CgKev9d0Ae7/p3md wskKFQQdY0szhraduYQ6vfn7TC8oy/qw/m8YiKuAs71HkXkRF1ky0gHz7duZBII5d9Hb 3oRbCMh/hhPhCO97oqp52g82o3OLfONvB59C8l/wb/yOPlewb5y6VfcSaWW4T9Kf1H+i 1icaCoNVFYkJi07OaLPYGdzdaEbP2+LZFPnJ259IrwQgoQQq3sZbRGW37oEe7UrJl/Va 4mVQ== 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=1oAV7L6FYkPJWIcnYcAq/G0C5FhdmUsSpAs7iBVoEMY=; b=ApduSZ87aK3mtvu9p3Ule/5ZZrnbMwBFccz/oa1OeDLFjPfImhcYVevQ8TKMr+k2aL rsKcQySX+8SbQ+kHrQ/kqpaCCLz6a0jrNy2zs0mdA8oR0T0CoL0fEGWz/v5RE6C7Oogu LqRfg0dJSUVVNTI0Mz5CCpOW1c2B7aYU0YxDWQhr3xXzjzZVLqPKgxDZKNvaNGTL7XQY 7a/P4WNGDX5MwXZM/TiEKWTli7B9Wrj398PD3XIM1xRkMjB9WVQ8qknRG/nzXWStGibg aqKH/DGo8mW5KCvnJqrXWBBlLdnMFOGgGrvhf0JwiMFVpb3SYBJsHSgyXL2vlrHsK5Nk OOew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 85si3336535qkz.7.2017.07.13.00.01.00; Thu, 13 Jul 2017 00:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 D6B1F607C8; Thu, 13 Jul 2017 07:01:00 +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,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 BAB8D60A4E; Thu, 13 Jul 2017 07:00:51 +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 04C9A608BB; Thu, 13 Jul 2017 07:00:48 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 68A4960725 for ; Thu, 13 Jul 2017 07:00:28 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 3A9C620E93 for ; Thu, 13 Jul 2017 10:00:26 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 251CE6C00FD1 for ; Thu, 13 Jul 2017 10:00:16 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OPCPxjExve-0FYqiXeX; Thu, 13 Jul 2017 10:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 13 Jul 2017 10:00:05 +0300 Message-Id: <1499929205-1106-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499929205-1106-1-git-send-email-odpbot@yandex.ru> References: <1499929205-1106-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 75 Subject: [lng-odp] [PATCH API-NEXT v1 1/1] Adding additonal capability options to IPSEC APIs. 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: Nikhil Agarwal Signed-off-by: Nikhil Agarwal --- /** Email created from pull request 75 (NikhilA-Linaro:ipsec_api) ** https://github.com/Linaro/odp/pull/75 ** Patch: https://github.com/Linaro/odp/pull/75.patch ** Base sha: ee5be324411a7520528a367967c28fc529d3bc2e ** Merge commit sha: 7f2ead9944d55f404a62dfe0ea064e485075c3bf **/ include/odp/api/spec/ipsec.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index e602e4b8..82d5a9cf 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -262,6 +262,12 @@ typedef struct odp_ipsec_capability_t { */ odp_support_t pipeline_cls; + /** + * Support of retaining outer headers (retain_outer) of resulting + * inbound packets + */ + odp_support_t retain_header; + /** Maximum number of different destination CoSes in classification * pipelining. The same CoS may be used for many SAs. This is equal or * less than 'max_cos' capability in classifier API.