Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/12688/?format=api
https://patches.dpdk.org/api/patches/12688/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1462976770-6780-4-git-send-email-thomas.monjalon@6wind.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1462976770-6780-4-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1462976770-6780-4-git-send-email-thomas.monjalon@6wind.com", "date": "2016-05-11T14:26:09", "name": "[dpdk-dev,v2,3/4] app/test: remove unused constants", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "822a74404178d4980dc28f549b1c25a6e23140c6", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1462976770-6780-4-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/12688/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/12688/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 10975677C;\n\tWed, 11 May 2016 16:26:21 +0200 (CEST)", "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 9F90C5AA7\n\tfor <dev@dpdk.org>; Wed, 11 May 2016 16:26:18 +0200 (CEST)", "by mail-wm0-f41.google.com with SMTP id a17so85990613wme.0\n\tfor <dev@dpdk.org>; Wed, 11 May 2016 07:26:18 -0700 (PDT)", "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\to4sm8368474wjx.45.2016.05.11.07.26.17\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tWed, 11 May 2016 07:26:17 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=Re+iSBbPLKEpC2epsuPQmsh44j4Fhvs7huWlonPr7D4=;\n\tb=ERvrKsF1Yk3QGWE7sog1kuwNFAToROoCagrQI49yJCx1nT4ZgGHEgZiUkYL4HzZgW0\n\tvqQoOFicE6tFpbefYuFeDn3kxDqIieyJLjKrYTVytr+p5T/31Lpz8mibwrfywxm92MBw\n\tsaCFe1UJdFPP5HVSfVMlyZ3gVKip2Iwa1LrMCUqj4daLOUon3raT8MIxUoVUQGyfZa7j\n\tad9R+CNUgWkSQWnQhjhwbgiaVsRx31j+QgUuVYs3NiadQqdu/fEylgb0GeOFoVxVovkf\n\tdou6Xye/Vr67r9Ytj9uxqKkpZ/3thZWHOvML2oLW+1KBDXl0B/UzlgHNcjFjbQCbnSSg\n\tOyZA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Re+iSBbPLKEpC2epsuPQmsh44j4Fhvs7huWlonPr7D4=;\n\tb=THxc48doJ2qC7qgw2TR7xoOH94X02FGStmcd9NYrJ5Nq72VSUDhI2Z5lpaxeW5Fs+t\n\tBT49PT9PD6Kip+tGaS60bejOEPdqMhWWw7FWIc+9K60K1Cq8eer3JMHy/9g2idbxi82O\n\tMeAFIY4eH6iXJPVJ57C8KYVJ/iJq3WI9qHd5ABg1B3YjpWczWC4t48+Dx9Blk+wV1U6P\n\tUeQwyiHVFcKLJeSqa0XR/rR45PQspGI87iTp+jjP1VXnbwU5lvyCTqvtd13oOovCAC2u\n\tTkp50J1zmU+HtPJdZsesVfBspRYNwQOLlNRWYts7Y4ENNSm77MLKtcZTjIZv1STIl7Db\n\taGzA==", "X-Gm-Message-State": "AOPr4FV9FKvMa/y/+ZkouBEqHYumOZcB3AfOz1J0rk9aHWmz9yHspDvyIN2dkbGs2tV1lTS2", "X-Received": "by 10.28.149.205 with SMTP id x196mr402619wmd.67.1462976778497; \n\tWed, 11 May 2016 07:26:18 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "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>\n\t<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 <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n app/test/test_lpm6.c | 2 --\n app/test/test_memcpy.c | 15 ---------------\n app/test/test_mempool.c | 2 --\n app/test/test_ring.c | 2 --\n 4 files changed, 21 deletions(-)", "diff": "diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c\nindex 9545982..458a10b 100644\n--- a/app/test/test_lpm6.c\n+++ b/app/test/test_lpm6.c\n@@ -113,8 +113,6 @@ rte_lpm6_test tests6[] = {\n };\n \n #define NUM_LPM6_TESTS (sizeof(tests6)/sizeof(tests6[0]))\n-#define RTE_LPM6_TBL24_NUM_ENTRIES (1 << 24)\n-#define RTE_LPM6_LOOKUP_SUCCESS 0x04000000\n #define MAX_DEPTH 128\n #define MAX_RULES 1000000\n #define NUMBER_TBL8S (1 << 16)\ndiff --git a/app/test/test_memcpy.c b/app/test/test_memcpy.c\nindex b2bb4e0..8195e20 100644\n--- a/app/test/test_memcpy.c\n+++ b/app/test/test_memcpy.c\n@@ -37,10 +37,7 @@\n #include <stdlib.h>\n \n #include <rte_common.h>\n-#include <rte_cycles.h>\n #include <rte_random.h>\n-#include <rte_malloc.h>\n-\n #include <rte_memcpy.h>\n \n #include \"test.h\"\n@@ -65,18 +62,6 @@ static size_t buf_sizes[TEST_VALUE_RANGE];\n #define SMALL_BUFFER_SIZE TEST_VALUE_RANGE\n #endif /* TEST_VALUE_RANGE == 0 */\n \n-\n-/*\n- * Arrays of this size are used for measuring uncached memory accesses by\n- * picking a random location within the buffer. Make this smaller if there are\n- * memory allocation errors.\n- */\n-#define LARGE_BUFFER_SIZE (100 * 1024 * 1024)\n-\n-/* How many times to run timing loop for performance tests */\n-#define TEST_ITERATIONS 1000000\n-#define TEST_BATCH_SIZE 100\n-\n /* Data is aligned on this many bytes (power of 2) */\n #define ALIGNMENT_UNIT 32\n \ndiff --git a/app/test/test_mempool.c b/app/test/test_mempool.c\nindex 893d5d0..f439834 100644\n--- a/app/test/test_mempool.c\n+++ b/app/test/test_mempool.c\n@@ -71,8 +71,6 @@\n * put them back in the pool.\n */\n \n-#define N 65536\n-#define TIME_S 5\n #define MEMPOOL_ELT_SIZE 2048\n #define MAX_KEEP 16\n #define MEMPOOL_SIZE ((rte_lcore_count()*(MAX_KEEP+RTE_MEMPOOL_CACHE_MAX_SIZE))-1)\ndiff --git a/app/test/test_ring.c b/app/test/test_ring.c\nindex 4f8dc8f..9095e59 100644\n--- a/app/test/test_ring.c\n+++ b/app/test/test_ring.c\n@@ -100,8 +100,6 @@\n \n #define RING_SIZE 4096\n #define MAX_BULK 32\n-#define N 65536\n-#define TIME_S 5\n \n static rte_atomic32_t synchro;\n \n", "prefixes": [ "dpdk-dev", "v2", "3/4" ] }{ "id": 12688, "url": "