get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 6649,
    "url": "https://patches.dpdk.org/api/patches/6649/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1438140121-9011-1-git-send-email-yong.liu@intel.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": "<1438140121-9011-1-git-send-email-yong.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1438140121-9011-1-git-send-email-yong.liu@intel.com",
    "date": "2015-07-29T03:22:01",
    "name": "[dpdk-dev] app test: fix mempool cache_size not match limited cache_size",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c22943482f5ab8b57a18eaa4e677fb052c5b3e8a",
    "submitter": {
        "id": 17,
        "url": "https://patches.dpdk.org/api/people/17/?format=api",
        "name": "Marvin Liu",
        "email": "yong.liu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1438140121-9011-1-git-send-email-yong.liu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/6649/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/6649/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 5570FC4F0;\n\tWed, 29 Jul 2015 05:22:10 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id BF463C4D4\n\tfor <dev@dpdk.org>; Wed, 29 Jul 2015 05:22:08 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 28 Jul 2015 20:22:07 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 28 Jul 2015 20:22:07 -0700",
            "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id t6T3M4Cx025489;\n\tWed, 29 Jul 2015 11:22:04 +0800",
            "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t6T3M2xJ009047; Wed, 29 Jul 2015 11:22:04 +0800",
            "(from yliu84x@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t6T3M2AP009043; \n\tWed, 29 Jul 2015 11:22:02 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.15,568,1432623600\"; d=\"scan'208\";a=\"737593231\"",
        "From": "Yong Liu <yong.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 29 Jul 2015 11:22:01 +0800",
        "Message-Id": "<1438140121-9011-1-git-send-email-yong.liu@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] app test: fix mempool cache_size not match\n\tlimited cache_size",
        "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": "From: Marvin Liu <yong.liu@intel.com>\n\nIn previous setting, mempool size and cache_size are both 32.\nThis is not satisfied with cache_size checking rule by now.\nCache size should less than CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and mempool size / 1.5.\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>",
    "diff": "diff --git a/app/test/test_sched.c b/app/test/test_sched.c\nindex 1ef6910..7a38db3 100644\n--- a/app/test/test_sched.c\n+++ b/app/test/test_sched.c\n@@ -87,7 +87,7 @@ static struct rte_sched_port_params port_param = {\n \n #define NB_MBUF          32\n #define MBUF_DATA_SZ     (2048 + RTE_PKTMBUF_HEADROOM)\n-#define PKT_BURST_SZ     32\n+#define PKT_BURST_SZ     0\n #define MEMPOOL_CACHE_SZ PKT_BURST_SZ\n #define SOCKET           0\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}