Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124883/?format=api
https://patches.dpdk.org/api/patches/124883/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230309045738.1261000-3-honnappa.nagarahalli@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": "<20230309045738.1261000-3-honnappa.nagarahalli@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230309045738.1261000-3-honnappa.nagarahalli@arm.com", "date": "2023-03-09T04:57:36", "name": "[2/4] mempool: clarify comments for mempool cache implementation", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "54f7953be0d3bee878639acb97dd08d7e01cf543", "submitter": { "id": 1045, "url": "https://patches.dpdk.org/api/people/1045/?format=api", "name": "Honnappa Nagarahalli", "email": "honnappa.nagarahalli@arm.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/20230309045738.1261000-3-honnappa.nagarahalli@arm.com/mbox/", "series": [ { "id": 27298, "url": "https://patches.dpdk.org/api/series/27298/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=27298", "date": "2023-03-09T04:57:34", "name": "Small corrections in mempool", "version": 1, "mbox": "https://patches.dpdk.org/series/27298/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/124883/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/124883/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 8B9C641E2F;\n\tThu, 9 Mar 2023 05:58:03 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9379042B71;\n\tThu, 9 Mar 2023 05:58:00 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id D6B8341611\n for <dev@dpdk.org>; Thu, 9 Mar 2023 05:57:57 +0100 (CET)", "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 D10DBFEC;\n Wed, 8 Mar 2023 20:58:40 -0800 (PST)", "from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com\n [10.118.14.10])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3ECD93F67D;\n Wed, 8 Mar 2023 20:57:57 -0800 (PST)" ], "From": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>", "To": "mb@smartsharesystems.com, olivier.matz@6wind.com,\n konstantin.v.ananyev@yandex.ru", "Cc": "dev@dpdk.org, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com,\n kamalakshitha.aligeri@arm.com, wathsala.vithanage@arm.com, nd@arm.com", "Subject": "[PATCH 2/4] mempool: clarify comments for mempool cache\n implementation", "Date": "Wed, 8 Mar 2023 22:57:36 -0600", "Message-Id": "<20230309045738.1261000-3-honnappa.nagarahalli@arm.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230309045738.1261000-1-honnappa.nagarahalli@arm.com>", "References": "<20230309045738.1261000-1-honnappa.nagarahalli@arm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Clarify that the mempool cache create and free API implementations\nwork on user owned mempool caches.\n\nSigned-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Kamalakshitha Aligeri <kamalakshitha.aligeri@arm.com>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n lib/mempool/rte_mempool.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c\nindex cf5dea2304..a46d855dbf 100644\n--- a/lib/mempool/rte_mempool.c\n+++ b/lib/mempool/rte_mempool.c\n@@ -757,9 +757,9 @@ mempool_cache_init(struct rte_mempool_cache *cache, uint32_t size)\n }\n \n /*\n- * Create and initialize a cache for objects that are retrieved from and\n- * returned to an underlying mempool. This structure is identical to the\n- * local_cache[lcore_id] pointed to by the mempool structure.\n+ * Create and initialize a user owned cache for objects that are retrieved\n+ * from and returned to an underlying mempool. This structure is identical\n+ * to the local_cache[lcore_id] pointed to by the mempool structure.\n */\n struct rte_mempool_cache *\n rte_mempool_cache_create(uint32_t size, int socket_id)\n@@ -786,9 +786,9 @@ rte_mempool_cache_create(uint32_t size, int socket_id)\n }\n \n /*\n- * Free a cache. It's the responsibility of the user to make sure that any\n- * remaining objects in the cache are flushed to the corresponding\n- * mempool.\n+ * Free a user owned cache. It's the responsibility of the user to make\n+ * sure that any remaining objects in the cache are flushed to the\n+ * corresponding mempool.\n */\n void\n rte_mempool_cache_free(struct rte_mempool_cache *cache)\n", "prefixes": [ "2/4" ] }{ "id": 124883, "url": "