get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 4287,
    "url": "https://patches.dpdk.org/api/patches/4287/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1428652170-19356-1-git-send-email-thomas.monjalon@6wind.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": "<1428652170-19356-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1428652170-19356-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-04-10T07:49:30",
    "name": "[dpdk-dev] scripts: test null forwarding",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9ed6678e3d1354e21012f3d7f98ab4d24821c7d4",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1428652170-19356-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/4287/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/4287/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 A79057EB0;\n\tFri, 10 Apr 2015 09:50:21 +0200 (CEST)",
            "from mail-wi0-f176.google.com (mail-wi0-f176.google.com\n\t[209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 5E5A67E23\n\tfor <dev@dpdk.org>; Fri, 10 Apr 2015 09:50:20 +0200 (CEST)",
            "by wiax7 with SMTP id x7so10354180wia.0\n\tfor <dev@dpdk.org>; Fri, 10 Apr 2015 00:50:20 -0700 (PDT)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tmv11sm19898620wic.23.2015.04.10.00.50.19 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 10 Apr 2015 00:50: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:subject:date:message-id;\n\tbh=rMn1b2OCDOBwMIA9U/v47mbf6OiecmQ3oRuUbbS0FxM=;\n\tb=hXmFAlNYxQdLKl547KDpzS06Zasesa/7RWR9M/JMMK+6gB73SypdoQWe2/wRHPihte\n\t6/kmVJ1cFi5QROEEBhlnRDIAiMO8xFAoYrZQS6ugVIEA0NwWcXVCNLnamJIv/tdSrz8X\n\tilARjZg1vXxDUW4ZXhuLXYAQIVSX0Swnra4jcyBOtcNIdSKEKEXFVnGP3oLw5HNnLrj4\n\t4NbTwZVYDc9cJzuMjlV0FKynnCro8tXtMVP+5zbL8BtJX/HsRQOJwOj7HSvoQbmpWrPr\n\t3BlLGRpSOtfumhgRhaOXccV4p31eAGYSqTXgLisrthfOwPbMJQCy7tZilHGOdvpVQof8\n\teqwg==",
        "X-Gm-Message-State": "ALoCoQlNENm7cxmdVwwZ05PdltIXNPyvM6VOHxWmisd+AG72UQ6rmnrL+SO66ElJWueIFuHs4Nad",
        "X-Received": "by 10.194.239.65 with SMTP id vq1mr617998wjc.98.1428652220300;\n\tFri, 10 Apr 2015 00:50:20 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 10 Apr 2015 09:49:30 +0200",
        "Message-Id": "<1428652170-19356-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "Subject": "[dpdk-dev] [PATCH] scripts: test null forwarding",
        "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": "This script ease testing of basic initializations and Rx/Tx bursts.\nIt may help to check obvious regressions.\nIn order to run it on a standard development machine, it doesn't use\nneither hugepages nor real interfaces.\n\nThe optional parameters are:\n- build directory (default: build)\n- coremask (default: 3 i.e. cores 0 and 1)\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/test-null.sh | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)\n create mode 100755 scripts/test-null.sh",
    "diff": "diff --git a/scripts/test-null.sh b/scripts/test-null.sh\nnew file mode 100755\nindex 0000000..6f6918e\n--- /dev/null\n+++ b/scripts/test-null.sh\n@@ -0,0 +1,14 @@\n+#! /bin/sh -e\n+\n+build=${1:-build}\n+coremask=${2:-3} # default using cores 0 and 1\n+\n+if grep -q SHARED_LIB=y $build/.config; then\n+\texport LD_LIBRARY_PATH=$build/lib:$LD_LIBRARY_PATH\n+\tpmd='-d librte_pmd_null.so'\n+fi\n+\n+(sleep 1 && echo stop) |\n+$build/app/testpmd -c $coremask -n 1 --no-huge \\\n+\t$pmd --vdev eth_null1 --vdev eth_null2 -- \\\n+\t--total-num-mbufs=2048 -ia\n",
    "prefixes": [
        "dpdk-dev"
    ]
}