From patchwork Wed Feb 21 16:59:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 129104 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp838223ljc; Wed, 21 Feb 2018 09:01:57 -0800 (PST) X-Google-Smtp-Source: AH8x225JHqtDA6PMzC8+E8JlxRg0skcX5BGt7PCBPI5bTYjh1OoOXGzqDHEN8q6l+BK5aXrf2WJ6 X-Received: by 2002:a25:a126:: with SMTP id z35-v6mr2651659ybh.482.1519232517301; Wed, 21 Feb 2018 09:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519232517; cv=none; d=google.com; s=arc-20160816; b=V0DN8rFVU6oYHoH3l/LmuHF+1qgbZrSXQ/edL55T+Pp2jzPO6maRJi1qIaVtfToYX1 SpDlO7IyC1lv+tzba3ay1Lnwc/FcYp2IQsP+htilXC7d/6YPmOgpR1MeRXKJtMoQ6RPR WvpoBgG0ZSh7n/lsRF/hjbvwaoGA/mNIOIfBG7K2ZNMQPOyk25+iaBts4AaT2N2g3jOz CYh8IbUbaqyvukJ0UOVrazum7Ku63OL0cXYMkB54naNN5GYTti0RUXr/KnSCS/uT6xWC U4SO3Y7QM26aMP+ej3YGPuoLJiaLbjoj7w+uvH47A4J5BS45370s11RWnlrEn1ha1O5d BhpQ== 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=fnWOAKeBzll+M8mMJc0DwZQ83y196RdO1e39eBtcI1Q=; b=c5yTu58NUauODoXXRU2bH+29Ad0ojcUK4Yqj3YS9wb54uMzLxlUb4e38oe3SPSv5H7 3wx7TzofKr4wZzTzPib0X9X5g8P4G8FyekU+C0s9dyGN8jjXRYT11Gqf0buYSmjd4wh0 DpOrotrzliwpeh4AzcjYDWJn4T1cIWjVfHPku7pvSFpqqR3bLlIX1I4BCY8je30wgOty 3wW2v9o68xI0TKJTRbo3Ixqv++gJT2sWatl284BncX8JxOsbs5cMNVHSYdhElq5jluee ouG290p4mrE2/Shzt3V6rB1oXsU2BrbWiOQRmshKE/oi2lfi4sN8sXAetavT45E2kijP 7wXg== 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 d7si772254ybk.305.2018.02.21.09.01.56; Wed, 21 Feb 2018 09:01:57 -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 AF84B617E2; Wed, 21 Feb 2018 17:01:56 +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 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 DF4DD617BE; Wed, 21 Feb 2018 17:00:24 +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 03C5F617AD; Wed, 21 Feb 2018 17:00:18 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id E6CDE61777 for ; Wed, 21 Feb 2018 17:00:15 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward102p.mail.yandex.net (Yandex) with ESMTP id D3ACA4305C9E for ; Wed, 21 Feb 2018 20:00:14 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZcsZpztYW0-0EFK66dS; Wed, 21 Feb 2018 20:00:14 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id yTStk9eEsG-0Eu4p2Ba; Wed, 21 Feb 2018 20:00:14 +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: Wed, 21 Feb 2018 19:59:58 +0300 Message-Id: <1519232408-28445-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519232408-28445-1-git-send-email-odpbot@yandex.ru> References: <1519232408-28445-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 494 Subject: [lng-odp] [PATCH API-NEXT v1 5/15] validation: ipsec: set frag_mode flag 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 494 (lumag:ipsec-tfc-imp) ** https://github.com/Linaro/odp/pull/494 ** Patch: https://github.com/Linaro/odp/pull/494.patch ** Base sha: ea2afab619ae74108a03798bc358fdfcd29fdd88 ** Merge commit sha: 7bc900650676584bfb99c8a92c3d8812b458f172 **/ test/validation/api/ipsec/ipsec_test_out.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/validation/api/ipsec/ipsec_test_out.c b/test/validation/api/ipsec/ipsec_test_out.c index 2850ddfa4..911987388 100644 --- a/test/validation/api/ipsec/ipsec_test_out.c +++ b/test/validation/api/ipsec/ipsec_test_out.c @@ -572,7 +572,8 @@ static void test_out_ipv4_ah_sha256_frag_check(void) ipsec_test_part test2 = { .pkt_in = &pkt_ipv4_icmp_0, .num_opt = 1, - .opt = { .frag_mode = ODP_IPSEC_FRAG_DISABLED, }, + .opt = { .flag.frag_mode = 1, + .frag_mode = ODP_IPSEC_FRAG_DISABLED, }, .out_pkt = 1, .out = { { .status.warn.all = 0, @@ -665,7 +666,8 @@ static void test_out_ipv4_esp_null_sha256_frag_check(void) ipsec_test_part test2 = { .pkt_in = &pkt_ipv4_icmp_0, .num_opt = 1, - .opt = { .frag_mode = ODP_IPSEC_FRAG_DISABLED, }, + .opt = { .flag.frag_mode = 1, + .frag_mode = ODP_IPSEC_FRAG_DISABLED, }, .out_pkt = 1, .out = { { .status.warn.all = 0,