From patchwork Thu Jul 13 09:00:06 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: 107646 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1941680qge; Thu, 13 Jul 2017 02:01:38 -0700 (PDT) X-Received: by 10.200.40.207 with SMTP id j15mr3277898qtj.186.1499936498862; Thu, 13 Jul 2017 02:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499936498; cv=none; d=google.com; s=arc-20160816; b=qQXBRn7sUc26JPWz/7bG5RrbXwX42PnD2tybG1DUca+rmo9T/Ww0uWlWPRALs7WUB6 evpfgL+IgzzA18tYS+zmzo3J37SHF7cGYneiz6QdznfdLw3et+TBfNcsoXjoKYXUR98L a2yOWzaym9mnP6cyYgR9QR3cE9e1yPPw7dNcvSb6UdpEYMJVHwy0Zu4hCARYKQjS/S7e Gulgg8c2OV1C4QNvK2wTNs8hCayf5lFEjxyu/ybOueJa+C6OL6x+OEgnN5W2ZmzGHw9B JQBuVb6HxzLQye1GMswQfVh9i/kWPQFmgbVKaIPSiWIs93w+b53wRvJ136RIMZ9jy+t5 LOEw== 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=yf/lOUMcIqsBSh1E3krHeW/Mps/RltvF80tPsGAgBaI=; b=gRSHRkLNiICyF14lVhcmxh6lsF+Bo25ZVb0gnThOZLViOZRX0x/pNvN9don3G7ddQW vknySESoK6T+76v0Jp3gloCSggpOqojqUnJWMdJudCRAfVik93+ul2cUUgU/gSqufS14 5MQcL4tBa51TzUz/qlaQM/bVzLeVH/aVAvM9uiWVyh1IWUDSot2hWH6/aCUcGYfDG0Rl m+Usli0905I9ZtdJHYZLJce34aN4jFwFODRqzJjeP9U8QvULGU5VnyJ7XI/7mSsiin2M 8gsVsdf44ccLpTeCc0E6uttIF9iIMOabTfM4DmhOQahybdbL9e3kBiCGH5uzJcHXyDU/ A/hw== 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 74si4622243qkj.257.2017.07.13.02.01.38; Thu, 13 Jul 2017 02:01:38 -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 8AA9660C20; Thu, 13 Jul 2017 09:01:38 +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 C61A560732; Thu, 13 Jul 2017 09:01:15 +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 2114D6064A; Thu, 13 Jul 2017 09:01:13 +0000 (UTC) Received: from forward1h.cmail.yandex.net (forward1h.cmail.yandex.net [87.250.230.16]) by lists.linaro.org (Postfix) with ESMTPS id 40C9B60732 for ; Thu, 13 Jul 2017 09:00:31 +0000 (UTC) Received: from smtp1m.mail.yandex.net (smtp1m.mail.yandex.net [IPv6:2a02:6b8:0:2519::121]) by forward1h.cmail.yandex.net (Yandex) with ESMTP id B29A120F99 for ; Thu, 13 Jul 2017 12:00:29 +0300 (MSK) Received: from smtp1m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1m.mail.yandex.net (Yandex) with ESMTP id 43F6463C0EDF for ; Thu, 13 Jul 2017 12:00:28 +0300 (MSK) Received: by smtp1m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id IUVCTPty2Z-0MHWUSUL; Thu, 13 Jul 2017 12:00:22 +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 12:00:06 +0300 Message-Id: <1499936406-1838-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499936406-1838-1-git-send-email-odpbot@yandex.ru> References: <1499936406-1838-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 75 Subject: [lng-odp] [PATCH API-NEXT v4 1/1] api: ipsec: add retain header capability 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: 0aeadccbe282b287d9cad51386cd0993293dce6c **/ include/odp/api/spec/ipsec.h | 6 ++++++ 1 file changed, 6 insertions(+) Reviewed-by: Petri Savolainen Reviewed-by: Balasubramanian Manoharan Reviewed-by: Dmitry Eremin-Solenikov diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index e602e4b8..54491b12 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) in inbound inline + * processed 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.