From patchwork Mon Feb 26 15: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: 129659 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp297291lja; Mon, 26 Feb 2018 07:03:15 -0800 (PST) X-Google-Smtp-Source: AG47ELvhyBE5k4Fl0ge3rZDBdYMyGesWVPsn6EsbvVkfpSZpKZXZZSlEPo6jvP9hpJpgbwaVNtY8 X-Received: by 2002:a25:ea10:: with SMTP id p16-v6mr7325793ybd.422.1519657395510; Mon, 26 Feb 2018 07:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519657395; cv=none; d=google.com; s=arc-20160816; b=j73MsAzD+5v6EeRfkvSwvgvNUksSVcU6kTNxg95tVKavaYQh80q79NCGcULPKQTdZx kUArZAmhHnpQC7iI5mQ2pz4BD6cmrmcM0NHvCCdVsxknlu5HpQMJtX6MyqbLpHMAClY+ XDOOsYYBGqGmCpph3S8NkTLjMx3VT5AGVuVKSDTt9m/WOWxP+Pm2xY1qUGCS02QHLOf4 fE+HmY8P1IXLl+kToWtIkkOK18/7jgO5wisSz23VJQ60lxP9qhziX8p4cO4XSFz5z2Ga fWecFhE51cPP8/uORGcjs1+reYXRphCvOq41NA0YHQOS8q/hGRFE3AcpaKnlAAgeeJC2 5TAQ== 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=Hg/goNMZTWL4bPGTLjbZ+oqyd9H9gJZX72jfQ2hNVik=; b=FLq50sTv/CH5x6maAVQHpoY1nCgaY+jIcjKHcIXRc5WaeCOzOgURRnYAg1zG4XPGE8 1c61OF1csaNL1Lo7md6n9DfnZE6Bfl7+aHHuEod7KUw+fKwkaf9dCKINmkPN+a6enT9j ShY4jlfs+jLPnQNbNVTpfcQdjSCkTMaEVMP0ph4OJ2DbG+m6jKYq9s7FkE4lpRlD68qS 8nqXzK/BOBc3Eo2LpgNlhUrdhxCFH+hGqWI8dXRuCz2gRHsNxGlYpgdIr+d2ukaGpqFV R8r1kz2zK2/55gmHv2LhReEfIPMnKNf9ac31yFcOOgk7LpElduqaskZemxl+PAR+1ijA i8qA== 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 e191si545474ywh.416.2018.02.26.07.03.14; Mon, 26 Feb 2018 07:03:15 -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 DF9C16082D; Mon, 26 Feb 2018 15:03:14 +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 8C7D8608A9; Mon, 26 Feb 2018 15:00:37 +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 E7BD4617BF; Mon, 26 Feb 2018 15:00:21 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id C3BE261797 for ; Mon, 26 Feb 2018 15:00:14 +0000 (UTC) Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward101o.mail.yandex.net (Yandex) with ESMTP id B4DC81344BF6 for ; Mon, 26 Feb 2018 18:00:13 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id G19jk9GBLU-0DQKDtQd; Mon, 26 Feb 2018 18:00:13 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kHvqsGsU0k-0DT8J0PD; Mon, 26 Feb 2018 18:00:13 +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: Mon, 26 Feb 2018 18:00:01 +0300 Message-Id: <1519657209-30140-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519657209-30140-1-git-send-email-odpbot@yandex.ru> References: <1519657209-30140-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 502 Subject: [lng-odp] [PATCH API-NEXT v1 3/11] 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 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch: https://github.com/Linaro/odp/pull/502.patch ** Base sha: c91eae61d19350dd19aacf18c1148c9491398c14 ** Merge commit sha: 8c909084626ccef140542645cd34549ce7f4bcde **/ 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,