From patchwork Wed Feb 21 18:00:01 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: 129122 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp898915ljc; Wed, 21 Feb 2018 10:05:05 -0800 (PST) X-Google-Smtp-Source: AH8x226xWAncpv1G4rNfMyvcH8OTfaSAsKIuyU0CndGpE0ax85El5VYuVsRxuETf7PthZi+7RXW3 X-Received: by 10.237.55.33 with SMTP id i30mr6697764qtb.202.1519236305547; Wed, 21 Feb 2018 10:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519236305; cv=none; d=google.com; s=arc-20160816; b=wT8bJByYQjqWeK8WXc0+MAK2hroC0cwB+GjY8XGoDQsWlRBOwBB2xFJ8btG9BB6mRs lJ/6rFON1Iwfpyod0ztx8xZOt6n4M9bZCTeBV5GKB+wMtQ5kVH71l2iAIpaY4Dnn4zps vnT0b52u66gD1hKMUkMo//zN3pyDOPq7I2iIsbUYTVgF+4sEubtepRZtAbM/ozdYIjmA N4FsS3bJTgvXBFhoRD1w0ma1Y71rsyt/ueJEksYK1UQvYM36O3PqAFYZj1u2b6RyS5du XIgQX9C+O5DwdEBct+WVHbW7ho1f34GxS8KNyOTERUuWnTkEf7SgEzDtYTXCnAkR0Hpd SXBQ== 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=7j0YQadsr5FqlbYrxbaB9Eq9bVHbueKvjhQC/g2s/T0=; b=uHa5p/PiKJR7yK0GVdM9uEHGmDnu4IegkCvNemaYV/IaG7l70nmbQ2N4DmW3vEM7Tw nHSTA5f+NIalzVyif/R8TWtCTo13fyVWKjGSThjsxv1YxPLYxjpVlzCi6FKQj2FRsIOn 8hb7njR2ZBNv9VcR9HE2Z/YKq0NEluNu096t8iXVM2GU/m6Z3S+hpQZ5AdmNJnU7CBiq sGPP1R9Yp/llUBZD/AZjUHOlcyU7kNTDhORRDRGTwmw0jj/XOZkEhZImCd+G2Fgx7Ilq ajDgmYfWgb1IeCuzgzU+ZvTNL1ySsJkdCD3/zSXmDcGG2p4lhWNMr8NOVqCT2WGSKQR6 wWGA== 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 c39si1406867qta.272.2018.02.21.10.05.05; Wed, 21 Feb 2018 10:05:05 -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 25B58617BA; Wed, 21 Feb 2018 18:05:05 +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 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 049A6617C6; Wed, 21 Feb 2018 18:01:53 +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 1908761703; Wed, 21 Feb 2018 18:01:41 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 8A7BE616E8 for ; Wed, 21 Feb 2018 18:01:26 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 36B2E5D83968 for ; Wed, 21 Feb 2018 21:01:25 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id jmXBZLxXY4-1PMC1dwW; Wed, 21 Feb 2018 21:01:25 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pTqHAnOINC-1I94O3SV; Wed, 21 Feb 2018 21:01:18 +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 21:00:01 +0300 Message-Id: <1519236011-14987-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519236011-14987-1-git-send-email-odpbot@yandex.ru> References: <1519236011-14987-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 494 Subject: [lng-odp] [PATCH API-NEXT v2 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: 0b6ae2680a00027c3958ebcafbbcf92642a68f5e **/ 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,