From patchwork Fri Sep 8 14: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: 112081 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp361064qgf; Fri, 8 Sep 2017 07:01:41 -0700 (PDT) X-Google-Smtp-Source: AOwi7QChP1igaPdscORAPbPdxORRL3pleAnod/bHmZ4V/pRl6oP9SvLeL8zMBq9WTX8zpThaBynI X-Received: by 10.200.56.184 with SMTP id f53mr3872039qtc.139.1504879301347; Fri, 08 Sep 2017 07:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504879301; cv=none; d=google.com; s=arc-20160816; b=YK5KUuQQ6yb+42Ubeb+zqb24ybgQ5LofYKh6FTlYj0DCmzaDqeQ8H1JlUfkTZ6E8MS caPU3j0dddS16POFq9oBoYa9xm3dV4DAYjnqLZM9bllgm+GayPdHGoG50r5tyTs8gvR0 PpTYtduGd4vtvq6x4HCx9h4DUToFFxZr3AUU7khg1OeLDxRl00DBvhfqsJ+Oe7JXpA03 7k2MPGVLgCTnGOpQdt6K+qlzI+5RrK/igIiC/MCtBuDlCKta2Gjl4enIRAHmeiIe6sqc mUT3a9n4ND7Av0OUaKZr3EzBSI0lwT//C8XKmDgWHacmYr780LHp+neZIYpvMoUpjhkK 4hfA== 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=94PfLEyfio6dvoYZU3lNnThGBjH/x18j6bWt7foh/9w=; b=MpIsfuRl6vcdZgetfZtxlj/w+ZWj2WbEF7WbNijiMEyNGigfiGQ2vW8qM9sZFdQTWu zvHOtB6gmzL51xvRUEdvccx9/oTfXJhQoYK1wbE9goFb+VV+lAFGUhlKPBCHQV4iO1Qv /0YSKhoNizhSbHVOGU1Qz5MiuymJoOBduD3DvmvNlt7qzba5QcGHMtNB8c9BRxn/4YFp dbjBanCceF3mhqL+EdDc5HFDJNiECKXgdYFjimeY3QwchmBYG4a3W1+Tq58fmIfmzzv0 UBAwXhd6nP/ycgmw255n+okN4MBepkKRmJF3E+aeMLfZJWZeK98CuolfU/TVfMDnDI5F kUfA== 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 12si2183416qtz.236.2017.09.08.07.01.41; Fri, 08 Sep 2017 07:01:41 -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 1972060D6B; Fri, 8 Sep 2017 14:01:41 +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 2668762CE2; Fri, 8 Sep 2017 14:00:34 +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 C714660A4D; Fri, 8 Sep 2017 14:00:22 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 79E8C60730 for ; Fri, 8 Sep 2017 14:00:20 +0000 (UTC) Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward102o.mail.yandex.net (Yandex) with ESMTP id EC9535A05004 for ; Fri, 8 Sep 2017 17:00:18 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback6g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VDhoSyg9oA-0InaA8Td; Fri, 08 Sep 2017 17:00:18 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id IwYlQdvFwh-0IK8Uv7M; Fri, 08 Sep 2017 17:00:18 +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: Fri, 8 Sep 2017 17:00:03 +0300 Message-Id: <1504879212-3689-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504879212-3689-1-git-send-email-odpbot@yandex.ru> References: <1504879212-3689-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 170 Subject: [lng-odp] [PATCH v1 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: 360c1d34b52a2356619b9290811862b9de41de00 ** Merge commit sha: e19cce86ab00ccd959d2c3c82c0786ec6da19ba7 **/ 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);