From patchwork Tue Feb 27 20: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: 129846 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp209802lja; Tue, 27 Feb 2018 12:01:56 -0800 (PST) X-Google-Smtp-Source: AG47ELu6Sfkr4emjb5vx3RLU7m2KTtIoYEyw7j9nmqUfRafLUrszW3qjuAjtqcbpUfL7ln30zWO0 X-Received: by 10.200.8.93 with SMTP id x29mr24338416qth.240.1519761716130; Tue, 27 Feb 2018 12:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519761716; cv=none; d=google.com; s=arc-20160816; b=fja/8Oe0GDw0Y7YaYw0s1Oyg9mrCy1ZCQrdhtBcJ+HrsuhTleAEEpPNxlArDv0KTMh fSPMZtNjEtL+f7+Vejvdm2mylPtjzimtVk8KlZFq0PFTkp0kbyO1lHkfCkOdnR5LgKVB n506WXskyd2po515YbOLQTD6KJHYEZrG8G30sq3bcvgw1EWy4Ob1/N9SnT8lJil2mrx5 OkidYQWxWjuqmWaWA63xGxzAS+09WqlGHH5K5hE+I4Wqa92MVG0gyu/vMs+4qMZOdb+E jG/PS3di0SqTiV05GNfvzdlCSCNGt0f3HbSAQ2s7kXBYwzvYZeo6f3cK3wi15FBCcm+I cF5Q== 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=0YQEunqyrKACVkKTP2Gg93BBAuheiG21rqarC+y5mE0=; b=JX/GNppvYjQ6opG1r3Ij438sSy8Kp5I4AdfmMC5gw2ihaaVLe8rWsK+MXeQEnLHPEv LlMq9H6aBxxZLfLmRVVzSPn5IpcJy3zCn46RswvGq7jYSidjgfaUWKnK9frp11pCy/Jn HjJJx2z7MkDwR97tspFPQCcqJaQeGtxeJOTYbK6KuwX2lR/6Ee+dPkw9y/syFvI/+pHy DoL4tab4q1FWo4KWqo0y8X89rGWR+vocA4BuKiaBjz5sCHKkRtpUyoyd8rAb8oj3bUGF Rc8nc8vpb6QpRSeyKwenbjV8wAPxMolsZv3mHzFeB5aew3Ywln88H73XoEd4w0VNsXIQ bjaw== 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 o63si943496qtd.423.2018.02.27.12.01.54; Tue, 27 Feb 2018 12:01:56 -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 6DC38617AF; Tue, 27 Feb 2018 20:01:54 +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 D5EF361761; Tue, 27 Feb 2018 20:00:28 +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 B90556173F; Tue, 27 Feb 2018 20:00:16 +0000 (UTC) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by lists.linaro.org (Postfix) with ESMTPS id E66456173E for ; Tue, 27 Feb 2018 20:00:14 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 6B4C056030DA for ; Tue, 27 Feb 2018 23:00:13 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id spvsxv4AAW-0DoK2Qct; Tue, 27 Feb 2018 23:00:13 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Upcczghx1N-0CQuUjnv; Tue, 27 Feb 2018 23:00:12 +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: Tue, 27 Feb 2018 23:00:01 +0300 Message-Id: <1519761609-20848-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519761609-20848-1-git-send-email-odpbot@yandex.ru> References: <1519761609-20848-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 502 Subject: [lng-odp] [PATCH API-NEXT v3 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: ce5c4f9e7ce9fe504451c29429b9ae9fb68083ae ** Merge commit sha: fcd6960c97fe9a0a399be4f3418ba3dd83134544 **/ 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,