Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/94264/?format=api
https://patches.dpdk.org/api/patches/94264/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210616025459.22717-6-joyce.kong@arm.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": "<20210616025459.22717-6-joyce.kong@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210616025459.22717-6-joyce.kong@arm.com", "date": "2021-06-16T02:54:56", "name": "[v2,5/8] test/mempool: remove unused variable for lcores sync", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f31d5f3422956289615e7ac0b8111f78223aee19", "submitter": { "id": 970, "url": "https://patches.dpdk.org/api/people/970/?format=api", "name": "Joyce Kong", "email": "joyce.kong@arm.com" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210616025459.22717-6-joyce.kong@arm.com/mbox/", "series": [ { "id": 17343, "url": "https://patches.dpdk.org/api/series/17343/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17343", "date": "2021-06-16T02:54:51", "name": "use GCC's C11 atomic builtins for test", "version": 2, "mbox": "https://patches.dpdk.org/series/17343/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/94264/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/94264/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9FB29A0C45;\n\tWed, 16 Jun 2021 04:56:07 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D26C0410FF;\n\tWed, 16 Jun 2021 04:55:57 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id EC16441103\n for <dev@dpdk.org>; Wed, 16 Jun 2021 04:55:55 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 63FBD13A1;\n Tue, 15 Jun 2021 19:55:55 -0700 (PDT)", "from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com\n [10.169.208.222])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 42F7C3F694;\n Tue, 15 Jun 2021 19:55:52 -0700 (PDT)" ], "From": "Joyce Kong <joyce.kong@arm.com>", "To": "thomas@monjalon.net, david.marchand@redhat.com,\n stephen@networkplumber.org,\n olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru,\n harry.van.haaren@intel.com, honnappa.nagarahalli@arm.com,\n ruifeng.wang@arm.com", "Cc": "dev@dpdk.org,\n\tnd@arm.com", "Date": "Tue, 15 Jun 2021 21:54:56 -0500", "Message-Id": "<20210616025459.22717-6-joyce.kong@arm.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210616025459.22717-1-joyce.kong@arm.com>", "References": "<20210604094624.31308-1-joyce.kong@arm.com>\n <20210616025459.22717-1-joyce.kong@arm.com>", "Subject": "[dpdk-dev] [PATCH v2 5/8] test/mempool: remove unused variable for\n lcores sync", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Remove the unused synchro variable as there is no lcores\nsync in mempool function test.\n\nSigned-off-by: Joyce Kong <joyce.kong@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test/test_mempool.c | 5 -----\n 1 file changed, 5 deletions(-)", "diff": "diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c\nindex 3adadd673..7675a3e60 100644\n--- a/app/test/test_mempool.c\n+++ b/app/test/test_mempool.c\n@@ -20,7 +20,6 @@\n #include <rte_eal.h>\n #include <rte_per_lcore.h>\n #include <rte_lcore.h>\n-#include <rte_atomic.h>\n #include <rte_branch_prediction.h>\n #include <rte_mempool.h>\n #include <rte_spinlock.h>\n@@ -57,8 +56,6 @@\n \t\tgoto label;\t\t\t\t\t\t\\\n \t} while (0)\n \n-static rte_atomic32_t synchro;\n-\n /*\n * save the object number in the first 4 bytes of object data. All\n * other bytes are set to 0.\n@@ -491,8 +488,6 @@ test_mempool(void)\n \t};\n \tconst char *default_pool_ops = rte_mbuf_best_mempool_ops();\n \n-\trte_atomic32_init(&synchro);\n-\n \t/* create a mempool (without cache) */\n \tmp_nocache = rte_mempool_create(\"test_nocache\", MEMPOOL_SIZE,\n \t\tMEMPOOL_ELT_SIZE, 0, 0,\n", "prefixes": [ "v2", "5/8" ] }{ "id": 94264, "url": "