Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45149/?format=api
https://patches.dpdk.org/api/patches/45149/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537550255-252066-3-git-send-email-yipeng1.wang@intel.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": "<1537550255-252066-3-git-send-email-yipeng1.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1537550255-252066-3-git-send-email-yipeng1.wang@intel.com", "date": "2018-09-21T17:17:30", "name": "[v2,2/7] test/hash: more accurate hash perf test output", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4a664a94da2b71982ebc2e817020adb069378723", "submitter": { "id": 754, "url": "https://patches.dpdk.org/api/people/754/?format=api", "name": "Wang, Yipeng1", "email": "yipeng1.wang@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1537550255-252066-3-git-send-email-yipeng1.wang@intel.com/mbox/", "series": [ { "id": 1449, "url": "https://patches.dpdk.org/api/series/1449/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1449", "date": "2018-09-21T17:17:28", "name": "hash: add extendable bucket and partial key hashing", "version": 2, "mbox": "https://patches.dpdk.org/series/1449/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/45149/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/45149/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2B7934CA6;\n\tSat, 22 Sep 2018 02:22:22 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 539931DA4\n\tfor <dev@dpdk.org>; Sat, 22 Sep 2018 02:22:12 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Sep 2018 17:22:10 -0700", "from skx-yipeng.jf.intel.com ([10.54.81.175])\n\tby orsmga006.jf.intel.com with ESMTP; 21 Sep 2018 17:22:10 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,287,1534834800\"; d=\"scan'208\";a=\"76346598\"", "From": "Yipeng Wang <yipeng1.wang@intel.com>", "To": "bruce.richardson@intel.com", "Cc": "dev@dpdk.org, yipeng1.wang@intel.com, michel@digirati.com.br,\n\thonnappa.nagarahalli@arm.com", "Date": "Fri, 21 Sep 2018 10:17:30 -0700", "Message-Id": "<1537550255-252066-3-git-send-email-yipeng1.wang@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1537550255-252066-1-git-send-email-yipeng1.wang@intel.com>", "References": "<1536253745-133104-1-git-send-email-yipeng1.wang@intel.com>\n\t<1537550255-252066-1-git-send-email-yipeng1.wang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 2/7] test/hash: more accurate hash perf test\n\toutput", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Edit the printf information when error happens to be more\naccurate and informative.\n\nSigned-off-by: Yipeng Wang <yipeng1.wang@intel.com>\n---\n test/test/test_hash_perf.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/test/test/test_hash_perf.c b/test/test/test_hash_perf.c\nindex 9ed7125..4d00c20 100644\n--- a/test/test/test_hash_perf.c\n+++ b/test/test/test_hash_perf.c\n@@ -248,7 +248,7 @@ timed_adds(unsigned with_hash, unsigned with_data, unsigned table_index)\n \t\t\t\t\t\t(const void *) keys[i],\n \t\t\t\t\t\tsignatures[i], data);\n \t\t\tif (ret < 0) {\n-\t\t\t\tprintf(\"Failed to add key number %u\\n\", ret);\n+\t\t\t\tprintf(\"H+D: Failed to add key number %u\\n\", i);\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t} else if (with_hash && !with_data) {\n@@ -258,7 +258,7 @@ timed_adds(unsigned with_hash, unsigned with_data, unsigned table_index)\n \t\t\tif (ret >= 0)\n \t\t\t\tpositions[i] = ret;\n \t\t\telse {\n-\t\t\t\tprintf(\"Failed to add key number %u\\n\", ret);\n+\t\t\t\tprintf(\"H: Failed to add key number %u\\n\", i);\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t} else if (!with_hash && with_data) {\n@@ -266,7 +266,7 @@ timed_adds(unsigned with_hash, unsigned with_data, unsigned table_index)\n \t\t\t\t\t\t(const void *) keys[i],\n \t\t\t\t\t\tdata);\n \t\t\tif (ret < 0) {\n-\t\t\t\tprintf(\"Failed to add key number %u\\n\", ret);\n+\t\t\t\tprintf(\"D: Failed to add key number %u\\n\", i);\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t} else {\n@@ -274,7 +274,7 @@ timed_adds(unsigned with_hash, unsigned with_data, unsigned table_index)\n \t\t\tif (ret >= 0)\n \t\t\t\tpositions[i] = ret;\n \t\t\telse {\n-\t\t\t\tprintf(\"Failed to add key number %u\\n\", ret);\n+\t\t\t\tprintf(\"Failed to add key number %u\\n\", i);\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t}\n@@ -442,7 +442,7 @@ timed_deletes(unsigned with_hash, unsigned with_data, unsigned table_index)\n \t\tif (ret >= 0)\n \t\t\tpositions[i] = ret;\n \t\telse {\n-\t\t\tprintf(\"Failed to add key number %u\\n\", ret);\n+\t\t\tprintf(\"Failed to delete key number %u\\n\", i);\n \t\t\treturn -1;\n \t\t}\n \t}\n", "prefixes": [ "v2", "2/7" ] }{ "id": 45149, "url": "