From patchwork Fri Dec 22 00:00:09 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: 122613 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1563850qgn; Thu, 21 Dec 2017 16:05:37 -0800 (PST) X-Google-Smtp-Source: ACJfBovlp8+/tlps8vU6pGGcnxjuI2/sYXPQA46+TR76UZkU08o2Y2yviWZgHohgwEOhdL35oxTH X-Received: by 10.55.88.2 with SMTP id m2mr11446183qkb.23.1513901137056; Thu, 21 Dec 2017 16:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513901137; cv=none; d=google.com; s=arc-20160816; b=msJEunnORoWkSFUUBiMq5xAkE8/PACC08RQ4dZHUlj50SLOcOjVvF1lnDKLjRP0PhB on+ttNv9u2I8n7FAf5QtbrgbFbyTH2uw3OeA6dYm/RtffzfqFpf+lOAHpkGmqFSCoMLV zj0RvVDaKQL/OsE8NEaibIqrRUqpByocS4GCNONZD3U7MU2gTb0CAHivuR/ZSt88gmqF cMrliuX4Hb2yLJV2YYgpdBojNPRBrxMFWKRpcMm3e5cUitnaS1MyPhGBQxxotPISwN5W wOHhydkyGsLMGj57DGcrEXygLTX1f4r5MnuSEHPw4dOjPrglKTkArokNbWR1+HqGJEgm bTIA== 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=HE8wqvrJSb+nOlr5K7v1zescyQaYG+mPvYWv52ZuXHk=; b=ZBudKiitC7WCY+7/TBjDawut2KS3wCjVW91hEHElxsUiJyQsFWSt7jpqdqIJr7vZIN 8H1GQCA3SfzlYI0/dkNybF2QtDAbUm+qHDPbShddmWFjfKbVPgQIhssI0EyDUdVhplkW 0LYTLPNnu6RYBZewMVcr2yc/VuwCiYTmRpaz8kH7oKRUix08zNCbmR6hkhN6fZW/AfIK k0WwMj5B/4u36kKKZjTNZSWY4Q2waZPNlqLT1fSlAnh+Z3V8XWUCeeeI5I2nwTq9O/b8 H2rSkgh9apoTbApEM6XkoKOcZ+9mMMFgOEB06IWvbtKvcwAIDT1P921wMRr1f41Z7r5G 6fJw== 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 v6si4092719qkl.237.2017.12.21.16.05.34; Thu, 21 Dec 2017 16:05:37 -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 4DF3961524; Fri, 22 Dec 2017 00:05:34 +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_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 3D2BE616E6; Fri, 22 Dec 2017 00:04:39 +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 3AFD8616E6; Fri, 22 Dec 2017 00:04:29 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 054526099A for ; Fri, 22 Dec 2017 00:00:12 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 4A2A26A82D8F for ; Fri, 22 Dec 2017 03:00:11 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sH73b6Lh9M-0BtCNsmX; Fri, 22 Dec 2017 03:00:11 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id A2VZuDNKjZ-0A7Og8V0; Fri, 22 Dec 2017 03:00:10 +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: Fri, 22 Dec 2017 03:00:09 +0300 Message-Id: <1513900809-22248-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513900809-22248-1-git-send-email-odpbot@yandex.ru> References: <1513900809-22248-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 362 Subject: [lng-odp] [PATCH API-NEXT v2 1/1] validation: ipsec: fix two c&p errors 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 Fix two c&p errors in testsuite configuration setup/validation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 362 (lumag:fixes) ** https://github.com/Linaro/odp/pull/362 ** Patch: https://github.com/Linaro/odp/pull/362.patch ** Base sha: 177eeff39e19289e771119cfdffc515cb16f9db5 ** Merge commit sha: c813de80db7a9fd188a7563ade40bbd1e5bb7a02 **/ test/validation/api/ipsec/ipsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c index d6ce34aab..ea3cff052 100644 --- a/test/validation/api/ipsec/ipsec.c +++ b/test/validation/api/ipsec/ipsec.c @@ -136,7 +136,7 @@ int ipsec_check(odp_bool_t ah, if ((ODP_IPSEC_OP_MODE_SYNC == suite_context.inbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_sync) || - (ODP_IPSEC_OP_MODE_ASYNC == suite_context.outbound_op_mode && + (ODP_IPSEC_OP_MODE_SYNC == suite_context.outbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_sync) || (ODP_IPSEC_OP_MODE_ASYNC == suite_context.inbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_async) || @@ -888,7 +888,7 @@ int ipsec_config(odp_instance_t ODP_UNUSED inst) * in test checking function and just say that the test is inactive. */ if ((ODP_IPSEC_OP_MODE_SYNC == suite_context.inbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_sync) || - (ODP_IPSEC_OP_MODE_ASYNC == suite_context.outbound_op_mode && + (ODP_IPSEC_OP_MODE_SYNC == suite_context.outbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_sync) || (ODP_IPSEC_OP_MODE_ASYNC == suite_context.inbound_op_mode && ODP_SUPPORT_NO == capa.op_mode_async) ||