From patchwork Tue Nov 28 14: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: 119865 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1746617qgn; Tue, 28 Nov 2017 06:03:05 -0800 (PST) X-Google-Smtp-Source: AGs4zMageX+nBdASlzIXboNtmAH0NPKuyuqGPvzPRcGVSP6RVHpUBNS2LJT767n4wEO+APdPAkF4 X-Received: by 10.37.96.65 with SMTP id u62mr24801900ybb.516.1511877784922; Tue, 28 Nov 2017 06:03:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511877784; cv=none; d=google.com; s=arc-20160816; b=gl+0K/Bnovvkl5vxq1XREqSl327d+aVdSWb/UoDjxnynWqCZEKIWj1p3fjSYVKKoxt oY8aNWzYGje3YUTh1C+7CgY4Hvg4rnvUjpKSQoJB06KigcIhi/f/zWQCOFAfxT7OXsTk 7xg128ajSTTh3GqlcDDbGnOODvyJCojfyun7kGLvL9MBb3iEe5wS+c7CcxYfFIDy2IeW RU7BnDJCdu3FMW+7AV35wEEqd665Fvdk7v6UGHkHzM4J5gVcabmhjFmO3kcZ6+jKY7B6 C8n72pojgGFMwLn7L36i93HyV88clMaGtiR7liEin62fFAsfjXjfBe/ZQol2wH1akp60 rBTw== 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=hXZZotsTqu58lUy4URn15lR5e83z/dH3eyc8JhkBggg=; b=r5/Gzp6R+1fVS4lBL1uLQj2ztbiLWI9LmR6rzIcgY+mzj1omvGK/wUTowiZQCYJarj igC5o4k1sUl0z+watdTGtkpvuQrNz3SQXY2BJ+6+euPFOcazUSHQPqdrmt5/ktlqmqjN O6akWU7PLNuLcoUGxhkOwfko59BaYNFmDtfjimpGZSAVhvSFopB3lqUvGk/xhHw/V7Bg p+WuG8A1Td/u6iWXV+18TdXUVWQRYidTcmyP5OSlhmbIOsEbasMsxUNftld6glB+DMOo fM2RzwNPccWyzb3l1twKXxuTmVRip3G05eibxeQtRRmsKhTbB1mJ5wamTeWuO34mZQGU ljtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id b5si2162257ybk.203.2017.11.28.06.03.04; Tue, 28 Nov 2017 06:03:04 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 49F826098B; Tue, 28 Nov 2017 14:03:04 +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 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 3B15560907; Tue, 28 Nov 2017 14:00:43 +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 48658608DD; Tue, 28 Nov 2017 14:00:22 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 4FCE3608CC for ; Tue, 28 Nov 2017 14:00:11 +0000 (UTC) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward102p.mail.yandex.net (Yandex) with ESMTP id A98F64306040 for ; Tue, 28 Nov 2017 17:00:09 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 32yIOEjg5D-09n4oK0k; Tue, 28 Nov 2017 17:00:09 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id R6uPpMU1hR-08Qa1lel; Tue, 28 Nov 2017 17:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 28 Nov 2017 17:00:05 +0300 Message-Id: <1511877607-32699-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511877607-32699-1-git-send-email-odpbot@yandex.ru> References: <1511877607-32699-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 311 Subject: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: add capability for ESN support 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 ESN support is marked as SHOULD by RFC 4302/4303, so add capability for ESN support. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 311 (lumag:ipsec-caps) ** https://github.com/Linaro/odp/pull/311 ** Patch: https://github.com/Linaro/odp/pull/311.patch ** Base sha: 4cb02e1caccb9179575e95448fd46979e17d0905 ** Merge commit sha: aa57ba9cce8dd6a7ae0d02117c362aa07d0985a4 **/ 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 4a33af8ea..c1307194e 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -260,6 +260,9 @@ typedef struct odp_ipsec_capability_t { /** IP Authenticated Header (ODP_IPSEC_AH) support */ odp_support_t proto_ah; + /** Extended Sequence Numbers support */ + odp_support_t esn; + /** * Support of pipelined classification (ODP_IPSEC_PIPELINE_CLS) of * resulting inbound packets