get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7647,
    "url": "https://patches.dpdk.org/api/patches/7647/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/6e6b8ae01221624e420fd2e4379ba5c038febb07.1444909165.git.pmatilai@redhat.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": "<6e6b8ae01221624e420fd2e4379ba5c038febb07.1444909165.git.pmatilai@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/6e6b8ae01221624e420fd2e4379ba5c038febb07.1444909165.git.pmatilai@redhat.com",
    "date": "2015-10-15T11:49:05",
    "name": "[dpdk-dev,2/2] eal: make the -n argument optional",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e1f7e1d242d3d749369f6f8262b7bf5a25ffc2fa",
    "submitter": {
        "id": 169,
        "url": "https://patches.dpdk.org/api/people/169/?format=api",
        "name": "Panu Matilainen",
        "email": "pmatilai@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/6e6b8ae01221624e420fd2e4379ba5c038febb07.1444909165.git.pmatilai@redhat.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7647/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7647/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 BDA51919B;\n\tThu, 15 Oct 2015 13:49:26 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id E71AE918F\n\tfor <dev@dpdk.org>; Thu, 15 Oct 2015 13:49:24 +0200 (CEST)",
            "from int-mx09.intmail.prod.int.phx2.redhat.com\n\t(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])\n\tby mx1.redhat.com (Postfix) with ESMTPS id 4F4B17B;\n\tThu, 15 Oct 2015 11:49:24 +0000 (UTC)",
            "from dhcp195.koti.laiskiainen.org.com (vpn1-4-76.ams2.redhat.com\n\t[10.36.4.76])\n\tby int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id t9FBnJfq022651; Thu, 15 Oct 2015 07:49:23 -0400"
        ],
        "From": "Panu Matilainen <pmatilai@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 15 Oct 2015 14:49:05 +0300",
        "Message-Id": "<6e6b8ae01221624e420fd2e4379ba5c038febb07.1444909165.git.pmatilai@redhat.com>",
        "In-Reply-To": [
            "<cover.1444909165.git.pmatilai@redhat.com>",
            "<cover.1444909165.git.pmatilai@redhat.com>"
        ],
        "References": [
            "<d209690bda34d966299f000d63c0451b969262b0.1444818124.git.pmatilai@redhat.com>\n\t<cover.1444909165.git.pmatilai@redhat.com>",
            "<cover.1444909165.git.pmatilai@redhat.com>"
        ],
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.22",
        "Subject": "[dpdk-dev] [PATCH 2/2] eal: make the -n argument optional",
        "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": "Obtaining the correct value of memory channels, especially from a\nrunning system, can be anything from difficult to plain impossible.\nSince the value is merely an optimization and does not affect functionality\notherwise, its pointless to force such a guess on users initially, such\nthings belong to performance tuning phase.\n\nSigned-off-by: Panu Matilainen <pmatilai@redhat.com>\n---\n lib/librte_eal/common/eal_common_options.c | 8 +-------\n 1 file changed, 1 insertion(+), 7 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c\nindex 1f459ac..a4cdbaa 100644\n--- a/lib/librte_eal/common/eal_common_options.c\n+++ b/lib/librte_eal/common/eal_common_options.c\n@@ -834,12 +834,6 @@ eal_check_common_options(struct internal_config *internal_cfg)\n \t\tRTE_LOG(ERR, EAL, \"Invalid process type specified\\n\");\n \t\treturn -1;\n \t}\n-\tif (internal_cfg->process_type == RTE_PROC_PRIMARY &&\n-\t\t\tinternal_cfg->force_nchannel == 0) {\n-\t\tRTE_LOG(ERR, EAL, \"Number of memory channels (-n) not \"\n-\t\t\t\"specified\\n\");\n-\t\treturn -1;\n-\t}\n \tif (index(internal_cfg->hugefile_prefix, '%') != NULL) {\n \t\tRTE_LOG(ERR, EAL, \"Invalid char, '%%', in --\"OPT_FILE_PREFIX\" \"\n \t\t\t\"option\\n\");\n@@ -869,7 +863,7 @@ eal_check_common_options(struct internal_config *internal_cfg)\n void\n eal_common_usage(void)\n {\n-\tprintf(\"-c COREMASK|-l CORELIST -n CHANNELS [options]\\n\\n\"\n+\tprintf(\"-c COREMASK|-l CORELIST [options]\\n\\n\"\n \t       \"EAL common options:\\n\"\n \t       \"  -c COREMASK         Hexadecimal bitmask of cores to run on\\n\"\n \t       \"  -l CORELIST         List of cores to run on\\n\"\n",
    "prefixes": [
        "dpdk-dev",
        "2/2"
    ]
}