Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/81833/?format=api
https://patches.dpdk.org/api/patches/81833/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201022220525.1532249-3-thomas@monjalon.net/", "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": "<20201022220525.1532249-3-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20201022220525.1532249-3-thomas@monjalon.net", "date": "2020-10-22T22:05:21", "name": "[2/5] mem: fix config name in error logs", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3b5905949f5b1566e19ad07c0620667d11ad3938", "submitter": { "id": 685, "url": "https://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "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/20201022220525.1532249-3-thomas@monjalon.net/mbox/", "series": [ { "id": 13228, "url": "https://patches.dpdk.org/api/series/13228/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13228", "date": "2020-10-22T22:05:19", "name": "cleanup comments and logs about config options", "version": 1, "mbox": "https://patches.dpdk.org/series/13228/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/81833/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/81833/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 D6198A04DD;\n\tFri, 23 Oct 2020 00:06:21 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7FE6E72E9;\n\tFri, 23 Oct 2020 00:05:40 +0200 (CEST)", "from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com\n [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id CF6B072E1;\n Fri, 23 Oct 2020 00:05:38 +0200 (CEST)", "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailnew.nyi.internal (Postfix) with ESMTP id 7DE8E5803F5;\n Thu, 22 Oct 2020 18:05:37 -0400 (EDT)", "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Thu, 22 Oct 2020 18:05:37 -0400", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 153193064674;\n Thu, 22 Oct 2020 18:05:36 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=JYvShnFZFo2ax\n MY2zsPO62RrisKZsZHAoMlJ1nsNQUQ=; b=lkc9yHXHKdKSxn6NrAtxVwtWGXi6V\n ApZXE2kN0dXo1cUDpVNV+sBHEJcwBH53iE75Bul7nj+rL+7rFXCdw3DINytzFFFO\n 1WO2l2AmOaLFXzzQYpqZIQ81FhmQf79PtaZEyGh++sWje1427VP/N+q2R8SnIp7j\n a9ghz36PPCOjg9Y2ir5IpYyf1g24snC7t+ZfjgV3/6cgfTF924l/VriO/fTSnxRx\n j38/0NYK3DsE0N2bYk82/WBePuH8k4Ep31WLWU+iYSUEfEDgdgT4/I8VjitjfbTv\n h0tgfJBqg0OAW8OHKi5cOlfMk4VcRyteUxNJz3l2MQV68ZGKdM7XMWofg==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm1; bh=JYvShnFZFo2axMY2zsPO62RrisKZsZHAoMlJ1nsNQUQ=; b=c+AOJRLM\n qqYTsGtNXrt/iZoUgKP4raeF/Z+LXin0m9geEjE/Q10za0H5atTUdbh5B59WKCPl\n ut+ZqjmbHkS5L3/6kKVC0/d81JINh8kM8vtv97CbCRU7FZ6aAPxIgiaDBvEYG45a\n pVLQuSlMdCn+xlBKfEui5Vid6ypfFKsJ1jVon5k4K1Fnp+JU4o77XXITeleIA1zP\n zLz9YsF5YyBUH2y9xFk2j3D1aKoSX5uM3UVW8yCkGfC71zTLtMJdW6F0D+4OQfSl\n lx9e/Aw8IXAS08pcmynYIhl+8Geg+uMrXI5Ky1XNjkwQlAIxQ3E4TQunJsEejTOI\n DZenE6q4fuxArQ==" ], "X-ME-Sender": "<xms:MQKSXzsRTbYdqPQBhxlGv5riOXiIXFney-OTmDmGw38wIw4DLdZ2Hg>\n <xme:MQKSX0d0pTBv-R7aw93WVCe_yE7jcpbCZHymOHyf_Fj1H-M6rV3k6-o-WjLhkjoHA\n tUt0R15R_Otfpj6rw>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedrjeelgddtiecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd\n ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm\n ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtveehfe\n fhteelfefgieevgfffveefjeegtdfguedthedtgeevnecukfhppeejjedrudefgedrvddt\n fedrudekgeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh\n hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght", "X-ME-Proxy": "<xmx:MQKSX2ykvhdJg_krWxXahYGJftGCDPHqFqTENmh4r8uzl08aUAkE1g>\n <xmx:MQKSXyN2WOQQPsDASuT4aUiy3_P-z5zQRuwL2FoiMrJ_6kS17NUxRQ>\n <xmx:MQKSXz-DVTLXOGOfqRXVVUpGUVgQy_pddkl5Ddc3cso-BRJ1iRvSCA>\n <xmx:MQKSX6ZlU3Autq9su5BYKMmqa_sgfKAssWXAeIpQcTm0iGvtkppUaw>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com, david.marchand@redhat.com,\n bruce.richardson@intel.com, anatoly.burakov@intel.com,\n olivier.matz@6wind.com, ciara.power@intel.com, akhil.goyal@nxp.com,\n fiona.trahe@intel.com, john.griffin@intel.com, deepak.k.jain@intel.com,\n stable@dpdk.org", "Date": "Fri, 23 Oct 2020 00:05:21 +0200", "Message-Id": "<20201022220525.1532249-3-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.28.0", "In-Reply-To": "<20201022220525.1532249-1-thomas@monjalon.net>", "References": "<20201022220525.1532249-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 2/5] mem: fix config name in error logs", "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": "When introducing the new option CONFIG_RTE_MAX_MEM_MB_PER_TYPE,\nsome logs were referencing a wrong name: CONFIG_RTE_MAX_MEM_PER_TYPE.\n\nFixes: 66cc45e293ed (\"mem: replace memseg with memseg lists\")\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_eal/freebsd/eal_memory.c | 2 +-\n lib/librte_eal/linux/eal_memory.c | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_eal/freebsd/eal_memory.c b/lib/librte_eal/freebsd/eal_memory.c\nindex b8b337a554..8d4b26b9b8 100644\n--- a/lib/librte_eal/freebsd/eal_memory.c\n+++ b/lib/librte_eal/freebsd/eal_memory.c\n@@ -174,7 +174,7 @@ rte_eal_hugepage_init(void)\n \t\t\tif (msl_idx == RTE_MAX_MEMSEG_LISTS) {\n \t\t\t\tRTE_LOG(ERR, EAL, \"Could not find space for memseg. Please increase %s and/or %s in configuration.\\n\",\n \t\t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEMSEG_PER_TYPE),\n-\t\t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEM_PER_TYPE));\n+\t\t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEM_MB_PER_TYPE));\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t\tarr = &msl->memseg_arr;\ndiff --git a/lib/librte_eal/linux/eal_memory.c b/lib/librte_eal/linux/eal_memory.c\nindex 3e47efe582..df0f07ee7e 100644\n--- a/lib/librte_eal/linux/eal_memory.c\n+++ b/lib/librte_eal/linux/eal_memory.c\n@@ -714,7 +714,7 @@ remap_segment(struct hugepage_file *hugepages, int seg_start, int seg_end)\n \tif (msl_idx == RTE_MAX_MEMSEG_LISTS) {\n \t\tRTE_LOG(ERR, EAL, \"Could not find space for memseg. Please increase %s and/or %s in configuration.\\n\",\n \t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEMSEG_PER_TYPE),\n-\t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEM_PER_TYPE));\n+\t\t\t\tRTE_STR(CONFIG_RTE_MAX_MEM_MB_PER_TYPE));\n \t\treturn -1;\n \t}\n \n", "prefixes": [ "2/5" ] }{ "id": 81833, "url": "