From patchwork Thu Mar 1 17: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: 130343 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3045763edc; Thu, 1 Mar 2018 09:03:10 -0800 (PST) X-Google-Smtp-Source: AG47ELuXV79oOFXzs/3z1t9o0E9O2vm9PO1Ch4bUl2bSeshDnwEymL+1JTwhlNBE/3E9oSToyCvr X-Received: by 10.129.121.141 with SMTP id u135mr1647729ywc.187.1519923790814; Thu, 01 Mar 2018 09:03:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519923790; cv=none; d=google.com; s=arc-20160816; b=lu7Q1NYrIYieTkt8ofNyI6iAGXH7XzZjaAGL8mxTCBuZMNVL7KfoUqfABZHyAvpxCM ovyK1CcXFgkkhG7xjKozqdHFtlpD0wvGTJzraZNsk/uHl0+J79Y8t4cyQ2E/4cBHyJcA /R1buBVnL/v7YUOLE7UMyt0hfxg47JSrKnh3HbKxcdkYceRrNPLTVtopChuwyMiX2Fi8 aYHDpKSSsV2iXrvCfcOe3GNfUDL4TCDbBjDXKkCF9F4B+V38l3L3Cfipjpixk+T4OHdN mr9o2JphP/VbwXSadFZ8rd1pFbELY/gmV/4U1xLqfZ8xLpxEJVC0ZB0lxyqfY8pYyXV6 hyVQ== 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=g5/GnUNNNrpdKcaSYJGvjpTLAitucCvHNIx1Sxjepf0=; b=dSJV2dJgZEjQ37+tmVGyVsbDycjP8lFMBbGZqi3i76O/GMpmf/eIMQemZoCD2281MN zEU9Y4faM1RmBo1YD8cICMi8TKVuHNA06B0XwYcMSIJmHebAYTK2iBmDvBm1MwdR4A+w 7xHyEoTC9Jd3nn3U11M6X0DxJAoY7lHVbQgsRBb8pLqj+1HOsDmHGHCl6Lj6+XVKIB34 wlVhWfxk301b1NbEe7LtjlnCkDBe45Ip7Rzq8+rqsP4I8M+DUZWahbN0fqt4OMZGi7vV o8SF4QRD9lEHaen32fAOlhQPb1oiV4qFLuulglzl3JU/5GJydk6gC16EMX4bHAszGv+q lJPg== 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 c14-v6si717320ybm.809.2018.03.01.09.03.10; Thu, 01 Mar 2018 09:03:10 -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 6DB89616FC; Thu, 1 Mar 2018 17:03:10 +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 CBF1C60ABA; Thu, 1 Mar 2018 17:00:51 +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 C075A61790; Thu, 1 Mar 2018 17:00:22 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 487F561789 for ; Thu, 1 Mar 2018 17:00:18 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward100p.mail.yandex.net (Yandex) with ESMTP id C03FC5105B76 for ; Thu, 1 Mar 2018 20:00:16 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id f5ivnDYi5t-0GeqYaml; Thu, 01 Mar 2018 20:00:16 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 7MkXJ9JJAA-0FCuXbHh; Thu, 01 Mar 2018 20:00:15 +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: Thu, 1 Mar 2018 20:00:01 +0300 Message-Id: <1519923609-31634-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519923609-31634-1-git-send-email-odpbot@yandex.ru> References: <1519923609-31634-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 505 Subject: [lng-odp] [PATCH v1 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: e8f50fefcd57a92e0971dc1172c5402c56b8370a **/ 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,