Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/291/?format=api
http://patches.dpdk.org/api/patches/291/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409567471-18978-1-git-send-email-david.marchand@6wind.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": "<1409567471-18978-1-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1409567471-18978-1-git-send-email-david.marchand@6wind.com", "date": "2014-09-01T10:31:11", "name": "[dpdk-dev] testpmd: fix crash in txonly mode and when using tx_first", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "1c9b1fd30bf64326d2e2e3cc2baec082fafffaef", "submitter": { "id": 3, "url": "http://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1409567471-18978-1-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/291/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/291/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<david.marchand@6wind.com>", "Received": [ "from mail-wi0-f177.google.com (mail-wi0-f177.google.com\n\t[209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 22801B3A7\n\tfor <dev@dpdk.org>; Mon, 1 Sep 2014 12:26:53 +0200 (CEST)", "by mail-wi0-f177.google.com with SMTP id cc10so5811804wib.10\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:31:20 -0700 (PDT)", "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tgk17sm24370533wic.16.2014.09.01.03.31.18 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:31:19 -0700 (PDT)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=QVq5dntyWaD3DHsHUyW9VjGhCi2JeWvUkGndTBRfgsw=;\n\tb=I1S71L5IcP+g+K2swbfDM/Ad69kXKD13yonsbjI9cxB3EUdgymOvPjCJORMg0W7c6+\n\topp01wAYKOb7wYv6XpfBlRPfpsjyfBppd4piAQmm4Mq2LCRTPWrmdtgjFos1GYILP52D\n\tZjmPJnx7+T5xXBCSJTwqaxDSOGZdcX1S7Qd9O5TD5MZR7sLfnmXccdkmM1wkQpyLLVo/\n\t5rEr3GHJlWQs9dl57td+9r0VbBrgTdqJB7fRQixAUeuWM+2La65hkoOeZhGRt2ke1wH0\n\tl8XWOmQlGOmGGal5kqAxUAf6dtYKOz7cOWNr0YG5vfR+t1JYEuaqkHfu8vwbDjnzbVjW\n\t8UeQ==", "X-Gm-Message-State": "ALoCoQlHSxQlHVaML4SU8I2fieQpa0IqpQKIFQuPkgIt9fvegBuPg4gbNbiG1l62bEnPEIUXLZYZ", "X-Received": "by 10.194.7.136 with SMTP id j8mr30552257wja.62.1409567480032;\n\tMon, 01 Sep 2014 03:31:20 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Date": "Mon, 1 Sep 2014 12:31:11 +0200", "Message-Id": "<1409567471-18978-1-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.7.10.4", "Subject": "[dpdk-dev] [PATCH] testpmd: fix crash in txonly mode and when using\n\ttx_first", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "X-List-Received-Date": "Mon, 01 Sep 2014 10:26:53 -0000" }, "content": "From: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n\nThis crash was believed fixed by commit 5886ae07d211e4b5e49806dd183812beb31c67ad,\nbut the actual issue is that the core ID provided to rte_lcore_to_socket_id() is\nwrong. It must be looked up in fwd_lcores_cpuids[].\n\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n app/test-pmd/testpmd.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex a112559..8f5f9ad 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -614,7 +614,9 @@ init_config(void)\n \t * Records which Mbuf pool to use by each logical core, if needed.\n \t */\n \tfor (lc_id = 0; lc_id < nb_lcores; lc_id++) {\n-\t\tmbp = mbuf_pool_find(rte_lcore_to_socket_id(lc_id));\n+\t\tmbp = mbuf_pool_find(\n+\t\t\trte_lcore_to_socket_id(fwd_lcores_cpuids[lc_id]));\n+\n \t\tif (mbp == NULL)\n \t\t\tmbp = mbuf_pool_find(0);\n \t\tfwd_lcores[lc_id]->mbp = mbp;\n", "prefixes": [ "dpdk-dev" ] }{ "id": 291, "url": "