From patchwork Wed May 10 21:00:04 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: 99021 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp422323qge; Wed, 10 May 2017 14:01:22 -0700 (PDT) X-Received: by 10.55.140.134 with SMTP id o128mr2121958qkd.79.1494450082530; Wed, 10 May 2017 14:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494450082; cv=none; d=google.com; s=arc-20160816; b=V9JSxOWsONunOiXyjK3Eh1zoWFVEwtTdBlx7djRBRr8hmt308FjHNnQ6MVZ1aDK5pP 5mO3slWIOnhRbKWDf0J4eJhOJqVKAiCH9/wZl2GB5M/ryZdXIeF0Nn74CuatUrrnhIc5 3lEuy7bUOucfR+AyiVHy1ZYgdcex/qEAI2h6rof4ymqeaSC1RP3SIqrIlXkM3WDrovUd rw2xqTiYtptMInSixbHsMyB9SGmcCdG/nNYQa9f3jyqZqCVWWUTeKLB8pKQWnd2sy17D IgBz+AtLd+da05eO7zXqVc5yIAy6a/br8O3nF23j+mKNKBNMX0JrX9OhC0khSWDg9zfD rEOw== 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=gga+0oMefHXS/SPtJRvaIUDaCTWxbxBxplemN5I8/pI=; b=hfS2qjgAXxk0Qyy24WPYU19JxhmDzHdzmu12BP4VtBp4p7uzxjdj1qLW/DYfx46kHI 9dQZR3cZxfENrCPyHYsyK5G8JBkPLYNrlV439SNIo7GcTV6Weq86O/dNm0E8yxSWptdR I/KFHTtZm7QccVVdklPHh835FXO3LBGR1DJs6Cy6ptKTFY0YjcaYu7OaTlqOIVyAVHE4 Uh9V8ZzTkMmtBx3ZeQAfHEgnIC3z0XpCxYIAUfvw9wWTaUtcPuToUt/2nLJz8YvjNFoN TST1AfGRxNVHdj0kRtyPenGGTO8VJ4s2n1M6zaXNdWB+x3me6+cecs2oL9eCvxM5loRD lSsw== 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 r1si106029qkd.110.2017.05.10.14.01.22; Wed, 10 May 2017 14:01:22 -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 270EC60692; Wed, 10 May 2017 21:01:22 +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 4EB7C606A4; Wed, 10 May 2017 21: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 060FE6068A; Wed, 10 May 2017 21:00:52 +0000 (UTC) Received: from forward4h.cmail.yandex.net (forward4h.cmail.yandex.net [87.250.230.101]) by lists.linaro.org (Postfix) with ESMTPS id D55DC6067B for ; Wed, 10 May 2017 21:00:50 +0000 (UTC) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b6:8]) by forward4h.cmail.yandex.net (Yandex) with ESMTP id 37AA320987 for ; Thu, 11 May 2017 00:00:49 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id 138A9132005C for ; Thu, 11 May 2017 00:00:48 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id thuiNXMeCB-0lrefdQt; Thu, 11 May 2017 00: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: Thu, 11 May 2017 00:00:04 +0300 Message-Id: <1494450005-17547-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1494450005-17547-1-git-send-email-odpbot@yandex.ru> References: <1494450005-17547-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 26 Subject: [lng-odp] [PATCH API-NEXT v1 1/2] 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: 6eb5ba103d81883b2b55945c58214b903bfac64d **/ include/odp/api/spec/ipsec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index e83494d..150e691 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; + /** IP Authenticated Header (ODP_IPSEC_AH) support */ + odp_support_t proto_ah; + /** * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of * resulting inbound packets