From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 9F90C5AA7 for ; Wed, 11 May 2016 16:26:18 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id a17so85990613wme.0 for ; Wed, 11 May 2016 07:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=Re+iSBbPLKEpC2epsuPQmsh44j4Fhvs7huWlonPr7D4=; b=ERvrKsF1Yk3QGWE7sog1kuwNFAToROoCagrQI49yJCx1nT4ZgGHEgZiUkYL4HzZgW0 vqQoOFicE6tFpbefYuFeDn3kxDqIieyJLjKrYTVytr+p5T/31Lpz8mibwrfywxm92MBw saCFe1UJdFPP5HVSfVMlyZ3gVKip2Iwa1LrMCUqj4daLOUon3raT8MIxUoVUQGyfZa7j ad9R+CNUgWkSQWnQhjhwbgiaVsRx31j+QgUuVYs3NiadQqdu/fEylgb0GeOFoVxVovkf dou6Xye/Vr67r9Ytj9uxqKkpZ/3thZWHOvML2oLW+1KBDXl0B/UzlgHNcjFjbQCbnSSg OyZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Re+iSBbPLKEpC2epsuPQmsh44j4Fhvs7huWlonPr7D4=; b=THxc48doJ2qC7qgw2TR7xoOH94X02FGStmcd9NYrJ5Nq72VSUDhI2Z5lpaxeW5Fs+t BT49PT9PD6Kip+tGaS60bejOEPdqMhWWw7FWIc+9K60K1Cq8eer3JMHy/9g2idbxi82O MeAFIY4eH6iXJPVJ57C8KYVJ/iJq3WI9qHd5ABg1B3YjpWczWC4t48+Dx9Blk+wV1U6P UeQwyiHVFcKLJeSqa0XR/rR45PQspGI87iTp+jjP1VXnbwU5lvyCTqvtd13oOovCAC2u Tkp50J1zmU+HtPJdZsesVfBspRYNwQOLlNRWYts7Y4ENNSm77MLKtcZTjIZv1STIl7Db aGzA== X-Gm-Message-State: AOPr4FV9FKvMa/y/+ZkouBEqHYumOZcB3AfOz1J0rk9aHWmz9yHspDvyIN2dkbGs2tV1lTS2 X-Received: by 10.28.149.205 with SMTP id x196mr402619wmd.67.1462976778497; Wed, 11 May 2016 07:26:18 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o4sm8368474wjx.45.2016.05.11.07.26.17 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 07:26:17 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 11 May 2016 16:26:09 +0200 Message-Id: <1462976770-6780-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462976770-6780-1-git-send-email-thomas.monjalon@6wind.com> References: <1462383137-24045-1-git-send-email-thomas.monjalon@6wind.com> <1462976770-6780-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH v2 3/4] app/test: remove unused constants X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 14:26:18 -0000 Signed-off-by: Thomas Monjalon --- app/test/test_lpm6.c | 2 -- app/test/test_memcpy.c | 15 --------------- app/test/test_mempool.c | 2 -- app/test/test_ring.c | 2 -- 4 files changed, 21 deletions(-) diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c index 9545982..458a10b 100644 --- a/app/test/test_lpm6.c +++ b/app/test/test_lpm6.c @@ -113,8 +113,6 @@ rte_lpm6_test tests6[] = { }; #define NUM_LPM6_TESTS (sizeof(tests6)/sizeof(tests6[0])) -#define RTE_LPM6_TBL24_NUM_ENTRIES (1 << 24) -#define RTE_LPM6_LOOKUP_SUCCESS 0x04000000 #define MAX_DEPTH 128 #define MAX_RULES 1000000 #define NUMBER_TBL8S (1 << 16) diff --git a/app/test/test_memcpy.c b/app/test/test_memcpy.c index b2bb4e0..8195e20 100644 --- a/app/test/test_memcpy.c +++ b/app/test/test_memcpy.c @@ -37,10 +37,7 @@ #include #include -#include #include -#include - #include #include "test.h" @@ -65,18 +62,6 @@ static size_t buf_sizes[TEST_VALUE_RANGE]; #define SMALL_BUFFER_SIZE TEST_VALUE_RANGE #endif /* TEST_VALUE_RANGE == 0 */ - -/* - * Arrays of this size are used for measuring uncached memory accesses by - * picking a random location within the buffer. Make this smaller if there are - * memory allocation errors. - */ -#define LARGE_BUFFER_SIZE (100 * 1024 * 1024) - -/* How many times to run timing loop for performance tests */ -#define TEST_ITERATIONS 1000000 -#define TEST_BATCH_SIZE 100 - /* Data is aligned on this many bytes (power of 2) */ #define ALIGNMENT_UNIT 32 diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 893d5d0..f439834 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -71,8 +71,6 @@ * put them back in the pool. */ -#define N 65536 -#define TIME_S 5 #define MEMPOOL_ELT_SIZE 2048 #define MAX_KEEP 16 #define MEMPOOL_SIZE ((rte_lcore_count()*(MAX_KEEP+RTE_MEMPOOL_CACHE_MAX_SIZE))-1) diff --git a/app/test/test_ring.c b/app/test/test_ring.c index 4f8dc8f..9095e59 100644 --- a/app/test/test_ring.c +++ b/app/test/test_ring.c @@ -100,8 +100,6 @@ #define RING_SIZE 4096 #define MAX_BULK 32 -#define N 65536 -#define TIME_S 5 static rte_atomic32_t synchro; -- 2.7.0