get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16360,
    "url": "http://patches.dpdk.org/api/patches/16360/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1475528313-7759-1-git-send-email-thomas.monjalon@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": "<1475528313-7759-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1475528313-7759-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-10-03T20:58:33",
    "name": "[dpdk-dev] app/test: add mempool walk",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4a46fe21aeefd2c4bb94b866660768641ce19f0b",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1475528313-7759-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/16360/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/16360/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 B715058EC;\n\tMon,  3 Oct 2016 22:58:45 +0200 (CEST)",
            "from mail-wm0-f52.google.com (mail-wm0-f52.google.com\n\t[74.125.82.52]) by dpdk.org (Postfix) with ESMTP id AC90158D4\n\tfor <dev@dpdk.org>; Mon,  3 Oct 2016 22:58:44 +0200 (CEST)",
            "by mail-wm0-f52.google.com with SMTP id f193so130705251wmg.0\n\tfor <dev@dpdk.org>; Mon, 03 Oct 2016 13:58:44 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tiq2sm20219wjb.19.2016.10.03.13.58.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 03 Oct 2016 13:58:43 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=BthuYj4E8FzwBIuluxbGyMbWqvF3PnHLEnh3n3hn3Rw=;\n\tb=MWDpVY0JCDoYf21my85vzw0MWONJjp3GHZOBOv+HhCzGhqHNugcOZvUEU5U11VIPio\n\tkxwIgBdPIrbOnfBKV4F2KMQMNp6Vc35ix8g2mh9jHPYf2QktL75r7M1WyLf8bB/6AP08\n\tFpgxp9z6OWGCb01legFTvg4CebG/czEo4aq+K4dc1BQ2w9wihpK4PXWfhTiAnbvp7i+o\n\tW2eCgDTJj9Nqnu7bkTCEH6i0LNsuyphJrReYWkdUEyU1pyMig6tOybcGKR0f3/du2fvc\n\tHW6x2j64XTo4rwgkOh07g6xfDgaCftAVn659Gr8Ib/53EJnZA4+i39Oy/Ow61OE+n46d\n\tMYBA==",
        "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=BthuYj4E8FzwBIuluxbGyMbWqvF3PnHLEnh3n3hn3Rw=;\n\tb=TEdi36cGWF5FUm5gySBV/lZEVFxRl/dmRnnsBuT8ArA4G64Em2LdY5ZG/c8hMZYzwF\n\tt1/nOQQYjwMZ1iE/cky6eSMw5UdS4HgY098MhMdu+AdgzJUTML4+9lPiV3fZlAglBYHF\n\t0oJ10pSdTBzChii/ooST9Gtfyf9Nr0dp1SQMe2LmStfQMiFAPNUdqqo+pdJJNT/Skq9t\n\tmAUxFlfZZSMvCMCWruInOxhQmxRXe+CJjWMme8mJNl9f4oUI51RgCkbT73ev0vylssFU\n\tDH+S9pzf7SzCypzzBeY5y/iBVhnaT6JE/2disbYPDlEXEYpBFcQhlZd6WJCO4HCnIk6A\n\tpWaw==",
        "X-Gm-Message-State": "AA6/9RmEjhwNDwQyrRi0bCaVNbMa4S1aS0XSQDg+rcTRTpl1HCvkYbHITUw0o+nXRIy0LIot",
        "X-Received": "by 10.28.14.202 with SMTP id 193mr453198wmo.125.1475528324464;\n\tMon, 03 Oct 2016 13:58:44 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "olivier.matz@6wind.com",
        "Cc": "dev@dpdk.org",
        "Date": "Mon,  3 Oct 2016 22:58:33 +0200",
        "Message-Id": "<1475528313-7759-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] app/test: add mempool walk",
        "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": "The mempool function rte_mempool_walk was not tested.\nIt will print the name of all mempools.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n app/test/test_mempool.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c\nindex fffbf8d..b9880b3 100644\n--- a/app/test/test_mempool.c\n+++ b/app/test/test_mempool.c\n@@ -500,6 +500,12 @@ test_mempool_xmem_misc(void)\n \treturn 0;\n }\n \n+static void\n+walk_cb(struct rte_mempool *mp, void *userdata __rte_unused)\n+{\n+\tprintf(\"\\t%s\\n\", mp->name);\n+}\n+\n static int\n test_mempool(void)\n {\n@@ -561,6 +567,9 @@ test_mempool(void)\n \t\tgoto err;\n \t}\n \n+\tprintf(\"Walk into mempools:\\n\");\n+\trte_mempool_walk(walk_cb, NULL);\n+\n \trte_mempool_list_dump(stdout);\n \n \t/* basic tests without cache */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}