From patchwork Fri Mar 24 13:40:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Garapati X-Patchwork-Id: 95938 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp50657qgd; Fri, 24 Mar 2017 06:40:48 -0700 (PDT) X-Received: by 10.36.43.194 with SMTP id h185mr3124159ita.121.1490362848319; Fri, 24 Mar 2017 06:40:48 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s80si2640641ioi.211.2017.03.24.06.40.47; Fri, 24 Mar 2017 06:40:48 -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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 961FF60926; Fri, 24 Mar 2017 13:40:46 +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, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 7D882606B5; Fri, 24 Mar 2017 13:40:43 +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 6BF18607A6; Fri, 24 Mar 2017 13:40:42 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) by lists.linaro.org (Postfix) with ESMTPS id 416F36069E for ; Fri, 24 Mar 2017 13:40:41 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id z15so1198022lfd.1 for ; Fri, 24 Mar 2017 06:40:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=p9k5gwyRDqH7erWSDmHAmMl0FjbU62FZvenqUjAP8VE=; b=UQFM0qBVGRnC5x3hhbgU1tqU30KH7/4d7nvoP13s/Y4E89yWivxRDU01w63mD0SvYR cz7o11d0/bprFn3132hReRksEbsXlrBnbQsRNEev+KUEIRsAnxZa5HAblgGpJYlmSaCy joUHsTa0ypPOOmkxEivdjcKR9Xq+tH+cHkDw+adFYzqjzShEmPwecSk/vDh/JV0HuO2L 3kwKWBetpjRyzyYiRCpbZdzxCFbjIfVqec5jv0QmqH2P6bW8ihLTkcAiqSRfwC6S1BSx cBRdwAmABfsRELhHFWo9K2JW6lin0V9M7jZAtfSW+biBPayA51Ug8g75dUmH8MVSNFgt EW3Q== X-Gm-Message-State: AFeK/H0m1qtwnj/rM+mquLQBoDpybStYr/+S95peWVR4jnJDvnnhGYlvbVyP4E4Rr8BPFIfDmKj0UTtm X-Received: by 10.25.34.87 with SMTP id i84mr4458815lfi.140.1490362839864; Fri, 24 Mar 2017 06:40:39 -0700 (PDT) Received: from elxahtkds32.localdomain (host-95-192-15-142.mobileonline.telia.com. [95.192.15.142]) by smtp.gmail.com with ESMTPSA id f2sm383658ljb.20.2017.03.24.06.40.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 06:40:39 -0700 (PDT) From: Balakrishna Garapati To: lng-odp@lists.linaro.org Date: Fri, 24 Mar 2017 14:40:38 +0100 Message-Id: <1490362838-21800-1-git-send-email-balakrishna.garapati@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [lng-odp] [PATCH] test: performance: lower the MAX_PKT_SIZE to 1518 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" "bench_packet_tailroom" test fails on odp-dpdk with the pkt size 2048 leaving no space for tailroom. Signed-off-by: Balakrishna Garapati --- test/common_plat/performance/odp_bench_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 diff --git a/test/common_plat/performance/odp_bench_packet.c b/test/common_plat/performance/odp_bench_packet.c index 7a3a004..6b73423 100644 --- a/test/common_plat/performance/odp_bench_packet.c +++ b/test/common_plat/performance/odp_bench_packet.c @@ -35,7 +35,7 @@ #define TEST_MIN_PKT_SIZE 64 /** Maximum test packet size */ -#define TEST_MAX_PKT_SIZE 2048 +#define TEST_MAX_PKT_SIZE 1518 /** Number of test runs per individual benchmark */ #define TEST_REPEAT_COUNT 1000 @@ -78,7 +78,7 @@ ODP_STATIC_ASSERT((TEST_ALIGN_OFFSET + TEST_ALIGN_LEN) <= TEST_MIN_PKT_SIZE, /** Test packet sizes */ const uint32_t test_packet_len[] = {WARM_UP, TEST_MIN_PKT_SIZE, 128, 256, 512, - 1024, 1518, TEST_MAX_PKT_SIZE}; + 1024, TEST_MAX_PKT_SIZE}; /** * Parsed command line arguments