From patchwork Thu Sep 14 20:59:59 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: 112651 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp1042482edb; Thu, 14 Sep 2017 14:07:35 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAI6n8RYsUT3glhZ+yGXI5ZwSl5f/khfuDQHQ9OD1XcbEr+rtmxm2ojdbTmNfPeWIg7Pime X-Received: by 10.200.27.98 with SMTP id p31mr34025227qtk.149.1505423255481; Thu, 14 Sep 2017 14:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505423255; cv=none; d=google.com; s=arc-20160816; b=mCOugITOo7JDh8kCYJwTOrbwUURfmL4b1PNASTm3ZERb4zV1UTyiUhQD3E62kB8N2+ V80J31gQsvoeruAx3yJOllFAWPXQGRnZ3J4bJZ7gY7/R+Ymqu0V94jlugA27eYcWMyGk eHfmT6bidU4uS+D5B0QbI5m4B8Z9u74gjZTFkK88jXqHrIwOxTx4DqwrU0Nee39W9jnT hds1LirOyJoNlYQmQ2zclwXzCN9ndPVkBD4eAQFIfMody7UTDGNzzJHca0qnbYT1fyMQ 9eX1EJtSGfF3A4aPQj9slT9gAXUINim1B2fZBoj22mohwDAYf3VFvwUcPs3UVOgvN5fq 92MQ== 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=fw2dTwHLbtNZ2vPZw4dF26tPWjsbTphzl1oXb5LK8OA=; b=UcOZrPzlnezvua0xVnUybDY5T1/xnQq9N91LNYfcI2D8HlA3rAIUHbQ/8ScmJcCcBw RJEZWDGK1r9SC3pPN/Tk/LDS0Dngpw1u+LeFgqbiAomTTdrIrd5xkHdtdDoNB6foN+Ow iaOnRvk8vkC7F/YGnHcjIsYbXhRmm89lkFh4O9+lTVbElAAEV1ilNKi3rP155udo5IAk UZi9cY/kprw0TfrqIhbLGAZUUee9YppuPKCcPr+1Oc4gtJdwWAjGKpLkLeCrum5rNyIK 1SRbgcL/lOTs5gmRmlDRR067Gk1if6IZXtYy7ur84a76uo4BF+3tJvvy1jQv1x5xauRc s8Yw== 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 t75si7930464qki.235.2017.09.14.14.07.34; Thu, 14 Sep 2017 14:07:35 -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 C8D30609A6; Thu, 14 Sep 2017 21:07:34 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 2AE7360B14; Thu, 14 Sep 2017 21:01:50 +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 AB8E5609EB; Thu, 14 Sep 2017 21:01:46 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 325C660948 for ; Thu, 14 Sep 2017 21:00:28 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward103p.mail.yandex.net (Yandex) with ESMTP id EA69E2182672 for ; Fri, 15 Sep 2017 00:00:26 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8ooZD5XY7j-0QLuU6Wd; Fri, 15 Sep 2017 00:00:26 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wNwc7KZcGv-0Qm0udLp; Fri, 15 Sep 2017 00:00:26 +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, 14 Sep 2017 23:59:59 +0300 Message-Id: <1505422809-5632-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505422809-5632-1-git-send-email-odpbot@yandex.ru> References: <1505422809-5632-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 179 Subject: [lng-odp] [PATCH API-NEXT v1 9/19] 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 Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** Email created from pull request 179 (muvarov:api-next) ** https://github.com/Linaro/odp/pull/179 ** Patch: https://github.com/Linaro/odp/pull/179.patch ** Base sha: 6b6253c30f88c80bf632436ff06c1b000860a2f1 ** Merge commit sha: ada61f5ba5f940d03a95893940c21028d4c75d19 **/ 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 28bc12b0d..898dac878 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);