From patchwork Tue Sep 12 13:00:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 112310 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp5164077qgf; Tue, 12 Sep 2017 06:06:50 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAtLkXy7q3ljbia4TS+gGdQI16lTWCQQZL8pAq8lGYYBBAaFdVWEAzNPRGOMgy4vCVHItSu X-Received: by 10.200.52.118 with SMTP id v51mr19885840qtb.252.1505221610047; Tue, 12 Sep 2017 06:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505221610; cv=none; d=google.com; s=arc-20160816; b=rM/y94aAjbK7eKrBrmUhxiFvwiWXbZFVXmM/CerGkOpx0gWlszWDiKUAHuPNhxT+Ya zDGrQhTRhJnqBYjS11ZAn1Axt3KYfXX9wEwX5rxPbRh4/3YHkQ72R/XFoKq6/cp4CKI/ KW/GtXfbrsnRw4QyWONgCuopJiDCx8QgQWUuz7fajcw7GjRzBivAAzK0Vqvl71d7b+Sk F/2DQaGooEFjcE2CwWbcrTLI9K8E2RG10ohUlTspkpkmTrd8549E7rtHTEbqOiK0twBW WsjXyQ1/Eq6IoOgsE+bppYnN3SLeR4+XCiXAhMSOopXwz27XcD+jGVoHvPKXy2Uco4J/ ThqQ== 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=kJu2cfWUtVLZ+RbUQyiLJS6l3zNmCX4yfdJcNDSlVhU=; b=qa8lA4wAlXzPhzpv7Fm83DKDISmtgxAu2laLJOPNU9J5UdmzvTn+rzx0N/J5567Ql0 2qWejM2DHUoLdPZI529OL8F1bTOYneYWAQ14I5RUjo2YzqmI38J6C1T9GzGjY5Gl9ys7 oWL0fU/NklFfQKzxUKh4tpiDMngnUZTs9tT5fULuP649bSpkawjrW0E/nDtRu3Y6Q0m4 MRhF6ZeQDIMCkdJNUYhxUffLicx7gierD2lv/oOS3kv1bLhEeekom/qujXE+apH7OqfH HgJmshBthRfu/P4ke3yyxdytKV7ejDV5ezci9URYZRoAjst7mK2oxgKWgV0uE0j+iPJG rdww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s51si4845539qtc.233.2017.09.12.06.06.49; Tue, 12 Sep 2017 06:06:50 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 3679C62AE3; Tue, 12 Sep 2017 13:06:49 +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,URIBL_BLOCKED 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 61A0762AE4; Tue, 12 Sep 2017 13:01:11 +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 949FA61613; Tue, 12 Sep 2017 13:00:44 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id C9C1661BC5 for ; Tue, 12 Sep 2017 13:00:35 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 0686543020A2 for ; Tue, 12 Sep 2017 16:00:34 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PtLwO4uHiS-0XNexjkd; Tue, 12 Sep 2017 16:00:33 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id eAiz36RVVp-0XH8Rdlx; Tue, 12 Sep 2017 16:00:33 +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, 12 Sep 2017 16:00:03 +0300 Message-Id: <1505221212-27163-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505221212-27163-1-git-send-email-odpbot@yandex.ru> References: <1505221212-27163-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 170 Subject: [lng-odp] [PATCH v2 2/11] validation: packet: relax small concat test 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: Petri Savolainen Limit number of consecutive small concat to fraction of the number of packets in the pool. An implementation linking packets together (no copy) cannot be expected to support one byte concats up to max packet size. Signed-off-by: Petri Savolainen --- /** Email created from pull request 170 (psavol:master-packet-ref-rework) ** https://github.com/Linaro/odp/pull/170 ** Patch: https://github.com/Linaro/odp/pull/170.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: bab9e010b5432ba0f2ff0651313a85a6a1b563c2 **/ test/common_plat/validation/api/packet/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c index 28bc12b0..898dac87 100644 --- a/test/common_plat/validation/api/packet/packet.c +++ b/test/common_plat/validation/api/packet/packet.c @@ -1376,7 +1376,7 @@ void packet_test_concat_small(void) int ret; uint8_t *data; uint32_t i; - uint32_t len = 32000; + uint32_t len = PACKET_POOL_NUM / 4; uint8_t buf[len]; CU_ASSERT_FATAL(odp_pool_capability(&capa) == 0);