From patchwork Thu Jul 13 07:00:18 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: 107555 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1843619qge; Thu, 13 Jul 2017 00:01:30 -0700 (PDT) X-Received: by 10.237.51.70 with SMTP id u64mr2982482qtd.211.1499929290340; Thu, 13 Jul 2017 00:01:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499929290; cv=none; d=google.com; s=arc-20160816; b=oy7N70M7mOMXFPzONzEa1G47QMtwec2c8DeE3m2RcTr4n4kljHeoipZuC0opatA1UW 9ZUd/xraD9x5EBFJW5B8E3ggVsNyy0RUTjK64G3QVx+F95ZFrAUK22GGc2M+6hbOZzjr HXJPd3CtBmsZscsW6uGoh9x4EqssSkNcnwxBAPYBBwZ+NO4khKSPW1Jn3BHlTg55lXQf T3ZRaTlmZg+jIw+i5S3u3T8/ToL/zc3Dma7UVr28lcKlyvJ1mEljclXlGWjQyIiYh/BN CeyZf2Cyb4l7D/NFxXxbBGwEkgsXfuj08QqGLcQQ6TQEcApGFpu761/mlcTK+5lTZKnr TdEA== 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=ILg6fMLdasBh4lu49lmPK8o96NvP+eBpq657xTGh95c=; b=Jiu0GMCIlm++MeJ7fQw8uXF364soLU4C91PWDPX0VILOwd7RAVoH9q9tA41ImxkNdm erWNThJD1bDznQ2B+GmIq3ldxcZmNS7fI08lSHTcMN/qeofUgu26L3J0wVMfb4g/+MlD +rd81y04N5VWXaYQ0pDN04Tbsb5HX574awRvJpPf4jnAjPZpiGAckiej6RQUU34xYD/3 vbpOA9SxtAEtjeaqfW5EbUpDIUx2vYbgsx4AAax1wMtBxJ1V/yNPbp+huGal6+3xQbsZ C5J3bl1qZKXf7PG5bQmUEliFBWpJvjOmQQE2HSkxhJ+gUnYsjx4OVR/3lJyS7sk3ZTQ3 uwaQ== 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 k39si4305932qte.213.2017.07.13.00.01.29; Thu, 13 Jul 2017 00:01:30 -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 C9E2260BFE; Thu, 13 Jul 2017 07:01:29 +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 86F5F60688; Thu, 13 Jul 2017 07:01:04 +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 2CC8460688; Thu, 13 Jul 2017 07:01:01 +0000 (UTC) Received: from forward3m.cmail.yandex.net (forward3m.cmail.yandex.net [5.255.216.21]) by lists.linaro.org (Postfix) with ESMTPS id 4BF2460725 for ; Thu, 13 Jul 2017 07:00:48 +0000 (UTC) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward3m.cmail.yandex.net (Yandex) with ESMTP id 061382174D for ; Thu, 13 Jul 2017 10:00:47 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 177B01A80062 for ; Thu, 13 Jul 2017 10:00:28 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PpzXbyo93d-0S7W7MlP; Thu, 13 Jul 2017 10:00:28 +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:18 +0300 Message-Id: <1499929218-1167-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499929218-1167-1-git-send-email-odpbot@yandex.ru> References: <1499929218-1167-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 12 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 12 (NikhilA-Linaro:api-next) ** https://github.com/Linaro/odp/pull/12 ** Patch: https://github.com/Linaro/odp/pull/12.patch ** Base sha: ee5be324411a7520528a367967c28fc529d3bc2e ** Merge commit sha: 9707a5a9286600a44e06e0a4cb809b6f1fda0a3e **/ include/odp/api/spec/ipsec.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index e602e4b8..59272226 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -262,12 +262,24 @@ 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. */ uint32_t max_cls_cos; + /** Maximum number of different destination queues that can be used as + * IPsec destination queues. The same queue may be used for many SAs. + * This is equal or less than 'max_queue' capability in classifier API. + */ + uint32_t max_ipsec_queues; + /** Soft expiry limit in seconds support * * 0: Limit is not supported