From patchwork Thu Mar 1 21:00:45 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: 130423 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3285131edc; Thu, 1 Mar 2018 13:09:02 -0800 (PST) X-Google-Smtp-Source: AG47ELurwSBO91sYUkH/r7ic02SgXZNi7Z9p7qkAcqO14n3m3AFbZTLi/MPfefijGKNoC+awQthn X-Received: by 10.200.20.149 with SMTP id l21mr5295032qtj.156.1519938542713; Thu, 01 Mar 2018 13:09:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519938542; cv=none; d=google.com; s=arc-20160816; b=0DaHVAzWHtkU2wdaeqwqML5SsVLXR7M1DkLvmY0B/wmPnVIfmCjBpujqF/TlZPfBAZ vaMHbWaJ1/hD7e7iOWmvLWWQ7v9U1dm6p20r6FO0bCkQbSuefzEohS58gmUZgtcCzdS7 TTgoQ3lUa3YkTe+sG2rGBYxOS3BABhxGp2eCDamYfa2BMOmz1vs6AF3uv9bsB/yU5BpY sAL70bjog1V6RdFGcjby6uVP0Sx90fCEY7II/Qc37TDqLU4FWhujYXO529NMwAEllHC4 Jh34AYVxxARLEurHG2hETJzPzBxztyx1OhR/Cgcqt2OcFI/UyJhJkmtPet6IOU3hPWBO Ii+g== 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=aHDBiFa7saXzOfwzHgnorq5GWa2wDW/Qiw/Ivsqd9BE=; b=GzspBOqzQWz93F0RlzdjxVBnmZKl0ugZaYdMA5Z4Qac/IVL9FktFRYqIqK5RdFzdmF KN5yq2fk4ooYuQx55VIAkBHspddNC+X8zjv2jDYAFOskAHuqFXA9RKN5Uz26h0A58r7F iwsagqjgIPT+nJYoEoW6nib/RYzdsx2IotPUoTfcDPy7H+LsGX9rLVydkq7b8nqZnk53 ypiiYGiN7YzF7Pw0n82T5YrZmmpLgmYkqh6Qav/0iSuqghoiHae/5drkiNs09mzA4Fbc B/ywUwlC7We0BKFcsu4pWpoSXx3VsSsA7Hn7f3STLA77TrfQhGDzLNNngUTMDDailc1s nK5A== 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 z27si2300478qth.483.2018.03.01.13.09.02; Thu, 01 Mar 2018 13:09:02 -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 5F3E1609A8; Thu, 1 Mar 2018 21:09:02 +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 F41ED627B7; Thu, 1 Mar 2018 21:01:55 +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 7BA766277B; Thu, 1 Mar 2018 21:01:26 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 3499062785 for ; Thu, 1 Mar 2018 21:01:11 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 66B9E2D84A06 for ; Fri, 2 Mar 2018 00:01:02 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UJAlBISqO5-12Ke6ToY; Fri, 02 Mar 2018 00:01:02 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BpjAadXdWb-112uA1kh; Fri, 02 Mar 2018 00:01:01 +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, 2 Mar 2018 00:00:45 +0300 Message-Id: <1519938053-24031-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519938053-24031-1-git-send-email-odpbot@yandex.ru> References: <1519938053-24031-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 505 Subject: [lng-odp] [PATCH v2 5/13] 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 Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 505 (muvarov:devel/master_merge_api-next) ** https://github.com/Linaro/odp/pull/505 ** Patch: https://github.com/Linaro/odp/pull/505.patch ** Base sha: 284f52d72ec19df3774c7409780f1f9eea33b8e6 ** Merge commit sha: 5da68bf06572d3d0651c37cbba03aa91995ec465 **/ 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,