Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64083/?format=api
http://patches.dpdk.org/api/patches/64083/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191220150839.17994-2-arturx.trybula@intel.com/", "project": { "id": 1, "url": "http://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": "<20191220150839.17994-2-arturx.trybula@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191220150839.17994-2-arturx.trybula@intel.com", "date": "2019-12-20T15:08:39", "name": "[v2,1/1] eal: improve user notification for too low memzone segments", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9ebea2f7cf9fe6f27cf8397ae099c8960b45f998", "submitter": { "id": 1327, "url": "http://patches.dpdk.org/api/people/1327/?format=api", "name": "Artur Trybula", "email": "arturx.trybula@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191220150839.17994-2-arturx.trybula@intel.com/mbox/", "series": [ { "id": 7917, "url": "http://patches.dpdk.org/api/series/7917/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7917", "date": "2019-12-20T15:08:38", "name": "eal: user notification improvement", "version": 2, "mbox": "http://patches.dpdk.org/series/7917/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64083/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/64083/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 83B16A04F3;\n\tFri, 20 Dec 2019 16:10:32 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7053A37A2;\n\tFri, 20 Dec 2019 16:10:25 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 865341C01\n for <dev@dpdk.org>; Fri, 20 Dec 2019 16:10:22 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 20 Dec 2019 07:10:22 -0800", "from atrybulx-mobl.ger.corp.intel.com (HELO\n build-VirtualBox.isw.intel.com) ([10.103.104.115])\n by fmsmga001.fm.intel.com with ESMTP; 20 Dec 2019 07:10:20 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,336,1571727600\"; d=\"scan'208\";a=\"222507088\"", "From": "Artur Trybula <arturx.trybula@intel.com>", "To": "dev@dpdk.org, fiona.trahe@intel.com, shallyv@marvell.com,\n anatoly.burakov@intel.com, adamx.dybkowski@intel.com,\n marcinx.danilewicz@intel.com, arturx.trybula@intel.com, akhil.goyal@nxp.com", "Date": "Fri, 20 Dec 2019 16:08:39 +0100", "Message-Id": "<20191220150839.17994-2-arturx.trybula@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191220150839.17994-1-arturx.trybula@intel.com>", "References": "<20191216154406.3827-1-arturx.trybula@intel.com>\n <20191220150839.17994-1-arturx.trybula@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 1/1] eal: improve user notification for too\n\tlow memzone segments", "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 <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": "In case of too low number of memzone segements user notification\nwas misleading. This patch improves the description by providing\nbetter explanation about the cause.\n\nSigned-off-by: Artur Trybula <arturx.trybula@intel.com>\n---\n lib/librte_eal/common/eal_common_memzone.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c\nindex 99b8d6531..86f61369b 100644\n--- a/lib/librte_eal/common/eal_common_memzone.c\n+++ b/lib/librte_eal/common/eal_common_memzone.c\n@@ -71,7 +71,9 @@ memzone_reserve_aligned_thread_unsafe(const char *name, size_t len,\n \n \t/* no more room in config */\n \tif (arr->count >= arr->len) {\n-\t\tRTE_LOG(ERR, EAL, \"%s(): No more room in config\\n\", __func__);\n+\t\tRTE_LOG(ERR, EAL,\n+\t\t\"%s(): Number of requested memzone segments exceeds RTE_MAX_MEMZONE\\n\",\n+\t\t\t__func__);\n \t\trte_errno = ENOSPC;\n \t\treturn NULL;\n \t}\n", "prefixes": [ "v2", "1/1" ] }{ "id": 64083, "url": "