From patchwork Wed May 10 19: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: 99017 Delivered-To: patch@linaro.org Received: by 10.182.142.97 with SMTP id rv1csp341873obb; Wed, 10 May 2017 12:01:21 -0700 (PDT) X-Received: by 10.237.36.154 with SMTP id t26mr27065qtc.180.1494442881031; Wed, 10 May 2017 12:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494442881; cv=none; d=google.com; s=arc-20160816; b=k7sI9fQAWGH4+rnvu0k9B4N325EJWSHYLeEbrqontjopmx1tJQEtWiCMXItrV+o1m1 9PnVaGc9EMNIdutlGjUugwCUrmM3v8I4LNORTQ+ZSarkB/gDOS2PoItQ+1BMkVUlhOK3 DAd4pji2AEXKTveKBTWcDW9ysRDPqRu1r0KJYK58Ir8wHQW77r3b80Zm/QNFkgzYSIBg EUZ1X0WRSd6F4UOIouIpz35/7Oo+wnWOUbkJGVr546OP2AuigGOJlyIcnUqv17QGBB8z 44zZ+LNVDjpwUZ++HoMXFNt0ZooXH/SmwNVzk9g7XqTiRF6xDKxdeIHYaFlrMb/JRiIE kmsQ== 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=VV9hx2S+w/s05P+uVphT4MF5GXrZWk9IxRKl8tjDXsc=; b=vgbF4bAAqz/ZZ/NYNK7UWNNHTKio/yj0aLiOaf6TZmTT2yTNFzj0ZYnYR8SOuq6lEW ICLyYCUFCDUQcMN+3JxJHF8qeoIKn0Q3q3gCggaxeCGcqcdwrBuLP0vi9Q3dFI95DE5z oF2SZSTE1nxSGzA6L7LaaBeinaHaMmx+BmivR7TDJmAmgggOj0f5s1/I7ch5r5tU6tCP m66FtIaqA8EMJGNgov8BjfRM2UVLKgNpnyir2ErESodmVpXcWQhQlgu6TQIMIniLjCMO lNjtBL0t7LRPEdwNXzPM0desYk0421DxLNTWKUnMbYEk+ajNEXtApqGBgMKQeNuyTcCu uQQQ== 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 o40si3976744qtf.236.2017.05.10.12.01.20; Wed, 10 May 2017 12:01:21 -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 AEA92608F2; Wed, 10 May 2017 19:01:20 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 3DC046083B; Wed, 10 May 2017 19:00:57 +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 05BDB60647; Wed, 10 May 2017 19:00:52 +0000 (UTC) Received: from forward3o.cmail.yandex.net (forward3o.cmail.yandex.net [37.9.109.247]) by lists.linaro.org (Postfix) with ESMTPS id A08B660647 for ; Wed, 10 May 2017 19:00:51 +0000 (UTC) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [77.88.29.84]) by forward3o.cmail.yandex.net (Yandex) with ESMTP id 26CE520CA5 for ; Wed, 10 May 2017 22:00:50 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id 62531178087F for ; Wed, 10 May 2017 22:00:47 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PvVyXuKGXv-0l8m50ab; Wed, 10 May 2017 22:00:47 +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: Wed, 10 May 2017 22:00:06 +0300 Message-Id: <1494442806-16915-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494442806-16915-1-git-send-email-odpbot@yandex.ru> References: <1494442806-16915-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 26 Subject: [lng-odp] [PATCH API-NEXT v1 1/1] api: ipsec: add AH 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: Dmitry Eremin-Solenikov RFC4301 marks AH support as MAY instead of MUST. Some platforms might skip implementing AH. Thus we should provide capability to allow applications to check if AH is actually implemented or not. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 26 (lumag:ipsec-ah-cap) ** https://github.com/Linaro/odp/pull/26 ** Patch: https://github.com/Linaro/odp/pull/26.patch ** Base sha: 3ea9c1dac34e0fb4785b0d643056c731daa55e85 ** Merge commit sha: 1b298f0560ad52ebe47022df83bc185cb4a0e11d **/ include/odp/api/spec/ipsec.h | 3 +++ 1 file changed, 3 insertions(+) Reviewed-by: Balasubramanian Manoharan diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index e83494d..016d232 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -244,6 +244,9 @@ typedef struct odp_ipsec_capability_t { /** Inline IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE) support */ odp_support_t op_mode_inline; + /** Synchronous of AH (ODP_IPSEC_AH ) support */ + odp_support_t op_proto_ah; + /** * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of * resulting inbound packets