get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2414/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2414,
    "url": "https://patches.dpdk.org/api/patches/2414/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421780083-4923-1-git-send-email-repk@triplefau.lt/",
    "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": "<1421780083-4923-1-git-send-email-repk@triplefau.lt>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421780083-4923-1-git-send-email-repk@triplefau.lt",
    "date": "2015-01-20T18:54:43",
    "name": "[dpdk-dev] eal/common: Fix enabled core number with core list argument",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3ebc78187ee553727597d011ee95c85767f7e224",
    "submitter": {
        "id": 158,
        "url": "https://patches.dpdk.org/api/people/158/?format=api",
        "name": "Remi Pommarel",
        "email": "repk@triplefau.lt"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421780083-4923-1-git-send-email-repk@triplefau.lt/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2414/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2414/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 2AC045AA5;\n\tTue, 20 Jan 2015 19:50:39 +0100 (CET)",
            "from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net\n\t[217.70.183.197]) by dpdk.org (Postfix) with ESMTP id 0D1E75A76\n\tfor <dev@dpdk.org>; Tue, 20 Jan 2015 19:50:38 +0100 (CET)",
            "from mfilter39-d.gandi.net (mfilter39-d.gandi.net [217.70.178.170])\n\tby relay5-d.mail.gandi.net (Postfix) with ESMTP id 01BC841C07A;\n\tTue, 20 Jan 2015 19:50:38 +0100 (CET)",
            "from relay5-d.mail.gandi.net ([217.70.183.197])\n\tby mfilter39-d.gandi.net (mfilter39-d.gandi.net [10.0.15.180])\n\t(amavisd-new, port 10024)\n\twith ESMTP id dw7GE-zi7DsU; Tue, 20 Jan 2015 19:50:35 +0100 (CET)",
            "from localhost (gimmebre.ws [78.232.94.57])\n\t(Authenticated sender: repk@triplefau.lt)\n\tby relay5-d.mail.gandi.net (Postfix) with ESMTPSA id ABB5341C061;\n\tTue, 20 Jan 2015 19:50:35 +0100 (CET)"
        ],
        "X-Virus-Scanned": "Debian amavisd-new at mfilter39-d.gandi.net",
        "X-Originating-IP": "78.232.94.57",
        "From": "Remi Pommarel <repk@triplefau.lt>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 20 Jan 2015 19:54:43 +0100",
        "Message-Id": "<1421780083-4923-1-git-send-email-repk@triplefau.lt>",
        "X-Mailer": "git-send-email 2.0.1",
        "Subject": "[dpdk-dev] [PATCH] eal/common: Fix enabled core number with core\n\tlist argument",
        "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>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When using core list argument to define which core to enable (ie -l) the\ncore_num field of the rte configuration is not updated the same way as using\ncoremask. This causes rte_lcore_num() to yield different value from the one\nusing coremask.\n\nSigned-off-by: Remi Pommarel <repk@triplefau.lt>\n---\n lib/librte_eal/common/eal_common_options.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c\nindex e2810ab..67e02dc 100644\n--- a/lib/librte_eal/common/eal_common_options.c\n+++ b/lib/librte_eal/common/eal_common_options.c\n@@ -268,6 +268,9 @@ eal_parse_corelist(const char *corelist)\n \tif (count == 0)\n \t\treturn -1;\n \n+\t/* Update the count of enabled logical cores of the EAL configuration */\n+\tcfg->lcore_count = count;\n+\n \tlcores_parsed = 1;\n \treturn 0;\n }\n",
    "prefixes": [
        "dpdk-dev"
    ]
}