From patchwork Thu Sep 14 09:00:01 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: 112513 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp513228qgf; Thu, 14 Sep 2017 02:04:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCKZiRwPZYpb5l0PKI0FPwfdSTur9kTwePTgzBUxsTiwxkf9TpZ+fPIR71SAaGfqCQGxi3F X-Received: by 10.55.95.6 with SMTP id t6mr1758716qkb.192.1505379882437; Thu, 14 Sep 2017 02:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505379882; cv=none; d=google.com; s=arc-20160816; b=H/AZbnropZnno9eWse3lnqTQfb408nPQKRsBjf3mUxFnsbOXBB3+J0ccV2wGsfSNO/ SWOE7kvz9TmYwvOJAPLekQHcjPfRIrR7k6GcaMGySL7eqfBv+N+SUIszc3xJHNNGt4qY r1wYucaeMCqwkyH0GHS4l80BAWeIevQjeCuT6T+XvRAR6p9ZKRgw137eyPN8NavZzcpR FpiwlKQs3dR/Zje0d6CVR2g7mpEsEQtGycCXRBq6hI5H2PyGOIG+b4hmEyIQVuaTH5h5 AWxbOf0qmP+70wTf03efbcBNaarrR2AdjupJl9CvTus7XmBayuSlAMyX3byYqsTz2v5U FJpw== 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=5eJQhiREjFCeR4OHLfmnOtB9Z78S2weTDMTKyrM1pu4=; b=fnsYFJdb5IuwRxlZv4mJ535b3OvygzVQZZPstHTsOJQWzNB3UgWpRstG1UFUXSXnbV gMERuOUUuvla1obHVb/emz9XBCDAIOgLXQabpF6Hktw6Tmcr6R/Rl3jLOi2kfetvV1P6 k7HYB++Nbe46WyMpYl8II+/PiNpTLFd8fP33McS392vWX7AsIC3ye+EQWYzOfq5PIqoe ZEHfO4oz5oQsHtaHJG5mhkqZ/KSNa/Jq2RxaOmIbwRT6R3tn+ra4PSAE4TwFJxe10vmZ uVs066AkR2J2DSjGNZ0CGlZcloB5Tqunx0B5l6zsDh9vi9hc4UrUD3W2emZ82adgCKn8 cjWg== 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 q1si5055721qtc.489.2017.09.14.02.04.42; Thu, 14 Sep 2017 02:04:42 -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 1678B63574; Thu, 14 Sep 2017 09:04:42 +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 85D1C609ED; Thu, 14 Sep 2017 09:01:10 +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 29F47609B3; Thu, 14 Sep 2017 09:00:58 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 2952A60646 for ; Thu, 14 Sep 2017 09:00:48 +0000 (UTC) Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward103p.mail.yandex.net (Yandex) with ESMTP id B592E2185A8B for ; Thu, 14 Sep 2017 12:00:46 +0300 (MSK) Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Oh9o9Csyzu-0k4W3J8H; Thu, 14 Sep 2017 12:00:46 +0300 Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Aoyyu0Wxlx-0kXGT5vU; Thu, 14 Sep 2017 12:00:46 +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 12:00:01 +0300 Message-Id: <1505379610-1146-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505379610-1146-1-git-send-email-odpbot@yandex.ru> References: <1505379610-1146-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 170 Subject: [lng-odp] [PATCH v3 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: 3baec92b29f68295264bb3a780277f7f1b6cbb83 **/ 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);