From patchwork Wed May 10 21: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: 99022 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp422505qge; Wed, 10 May 2017 14:01:45 -0700 (PDT) X-Received: by 10.55.71.139 with SMTP id u133mr7233598qka.317.1494450105680; Wed, 10 May 2017 14:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494450105; cv=none; d=google.com; s=arc-20160816; b=rWUkKn/hwGzPbAOF4oNjW3S8vDR4NfTOf1XaXvbBt4ljgH8I3NzwLiGI2bTe4Kle7y sCNAkH/bioFx7O9yes12sTLMDH/U3DLUTk8jzteFRxi321fpwUCsNOewrnicSwGflCq0 W5OGqCaZmbR9CCmTFDPOfdQjFNwbBSJr593ee7t15ZIuF4GPTQTZzXmEVWfJreMJyuS2 g79LsR1TWyG2IAEqQJB7r0dZNUBODaRQAs/lv03cKr0XugJ57w0oN58ltm4m/G/BBGOR nPAabmnI9LIkA5DIVDSV9tlvfEpUkeRh1MCx2wA5S49ADT8Gt2sEj//EHywG3iY1/yJN oalQ== 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=LhPF4kv7jUW5h4nYu2oq62iBwkYavhP+aLfhzq3ETgI=; b=cLMwYoWQZCig8PqClF6MUQAlYul+FTIIHJTa7r8sZp6NwWapMJypbnGjrifWA+Mihv KtajHCb41Y9zMTnnndoXPj8JJn6dR08hSp30BVxGjhHprqk5PP2CYP2VZepNw18Bhs2E hmT4iVzKgEHcVofxEcnUXGjA1UGEo5qrK6EGoVwB2SYyYxBQuT9QX24/vfJagT8iBfUX 66NJ88R+bfCFBvWMU/h5NDgKiBo1jYFwPEe/sHAkFHetY4guamZKa4G0ZOnJPjCklm/j rgDZlU1cJ1qJ4nQD+QlqNzutKbcuPQLs176ezU1ExV+67g3WXf7HeUQPBB1UBYzFwy/H VlXg== 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 n74si87058qke.273.2017.05.10.14.01.45; Wed, 10 May 2017 14:01:45 -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 54E6260737; Wed, 10 May 2017 21:01:45 +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 207706068A; Wed, 10 May 2017 21: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 3E2746094A; Wed, 10 May 2017 21:00:59 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 6C9C060521 for ; Wed, 10 May 2017 21:00:52 +0000 (UTC) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [77.88.29.86]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 5696220788 for ; Thu, 11 May 2017 00:00:50 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id 12E56132004E for ; Thu, 11 May 2017 00:00:49 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id thuiNXMeCB-0nr4gOuo; Thu, 11 May 2017 00:00:49 +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:05 +0300 Message-Id: <1494450005-17547-3-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 2/2] api: ipsec: split INLINE capability into in and out pair 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 Unlike SYNC/ASYNC operation modes, it well might be that the implementation provides only INLINE support only for inbound or outbound packets. Let's split the capability into two new caps. 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 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 150e691..daef2f2 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -241,8 +241,17 @@ typedef struct odp_ipsec_capability_t { */ odp_support_t op_mode_async; - /** Inline IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE) support */ - odp_support_t op_mode_inline; + /** + * Inline inbound IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE) + * support + */ + odp_support_t op_mode_inline_in; + + /** + * Inline outgoing IPSEC operation mode (ODP_IPSEC_OP_MODE_INLINE) + * support + */ + odp_support_t op_mode_inline_out; /** IP Authenticated Header (ODP_IPSEC_AH) support */ odp_support_t proto_ah;