get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1309,
    "url": "https://patches.dpdk.org/api/patches/1309/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416199705-24150-11-git-send-email-chaozhu@linux.vnet.ibm.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": "<1416199705-24150-11-git-send-email-chaozhu@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1416199705-24150-11-git-send-email-chaozhu@linux.vnet.ibm.com",
    "date": "2014-11-17T04:48:23",
    "name": "[dpdk-dev,v2,10/12] Add cache size define for IBM Power Architecture",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b6c36f7cfa44c61ff9a44754484c8039c67ce8df",
    "submitter": {
        "id": 114,
        "url": "https://patches.dpdk.org/api/people/114/?format=api",
        "name": "Chao Zhu",
        "email": "chaozhu@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416199705-24150-11-git-send-email-chaozhu@linux.vnet.ibm.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1309/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1309/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 1FFEE8021;\n\tSun, 16 Nov 2014 17:38:01 +0100 (CET)",
            "from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5])\n\tby dpdk.org (Postfix) with ESMTP id B76A97FB9\n\tfor <dev@dpdk.org>; Sun, 16 Nov 2014 17:37:37 +0100 (CET)",
            "from /spool/local\n\tby e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <dev@dpdk.org> from <chaozhu@linux.vnet.ibm.com>;\n\tSun, 16 Nov 2014 22:17:49 +0530",
            "from d28dlp02.in.ibm.com (9.184.220.127)\n\tby e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tSun, 16 Nov 2014 22:17:47 +0530",
            "from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62])\n\tby d28dlp02.in.ibm.com (Postfix) with ESMTP id 569053940045\n\tfor <dev@dpdk.org>; Sun, 16 Nov 2014 22:17:47 +0530 (IST)",
            "from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63])\n\tby d28relay05.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n\tsAGGmL4N6947246 for <dev@dpdk.org>; Sun, 16 Nov 2014 22:18:21 +0530",
            "from d28av01.in.ibm.com (localhost [127.0.0.1])\n\tby d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id\n\tsAGGlks9031654 for <dev@dpdk.org>; Sun, 16 Nov 2014 22:17:46 +0530",
            "from os_controller.crl.ibm.com ([9.186.57.97])\n\tby d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id\n\tsAGGlP3B029091 for <dev@dpdk.org>; Sun, 16 Nov 2014 22:17:46 +0530"
        ],
        "From": "Chao Zhu <chaozhu@linux.vnet.ibm.com>",
        "To": "dev@dpdk.org",
        "Date": "Sun, 16 Nov 2014 23:48:23 -0500",
        "Message-Id": "<1416199705-24150-11-git-send-email-chaozhu@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<1416199705-24150-1-git-send-email-chaozhu@linux.vnet.ibm.com>",
        "References": "<1416199705-24150-1-git-send-email-chaozhu@linux.vnet.ibm.com>",
        "X-TM-AS-MML": "disable",
        "X-Content-Scanned": "Fidelis XPS MAILER",
        "x-cbid": "14111616-0017-0000-0000-00000230D130",
        "Subject": "[dpdk-dev] [PATCH v2 10/12] Add cache size define for IBM Power\n\tArchitecture",
        "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": "IBM Power architecture has different cache line size (128 bytes) than\nx86 (64 bytes). This patch defines CACHE_LINE_SIZE to 128 bytes to\noverride the default value 64 bytes to support IBM Power Architecture.\n\nSigned-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>\n---\n app/test/test_malloc.c     |    8 ++++----\n mk/arch/ppc_64/rte.vars.mk |    2 +-\n 2 files changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c\nindex ee34ca3..63e6b32 100644\n--- a/app/test/test_malloc.c\n+++ b/app/test/test_malloc.c\n@@ -300,9 +300,9 @@ test_big_alloc(void)\n \tsize_t size =rte_str_to_size(MALLOC_MEMZONE_SIZE)*2;\n \tint align = 0;\n #ifndef RTE_LIBRTE_MALLOC_DEBUG\n-\tint overhead = 64 + 64;\n+\tint overhead = CACHE_LINE_SIZE + CACHE_LINE_SIZE;\n #else\n-\tint overhead = 64 + 64 + 64;\n+\tint overhead = CACHE_LINE_SIZE + CACHE_LINE_SIZE + CACHE_LINE_SIZE;\n #endif\n \n \trte_malloc_get_socket_stats(socket, &pre_stats);\n@@ -356,9 +356,9 @@ test_multi_alloc_statistics(void)\n #ifndef RTE_LIBRTE_MALLOC_DEBUG\n \tint trailer_size = 0;\n #else\n-\tint trailer_size = 64;\n+\tint trailer_size = CACHE_LINE_SIZE;\n #endif\n-\tint overhead = 64 + trailer_size;\n+\tint overhead = CACHE_LINE_SIZE + trailer_size;\n \n \trte_malloc_get_socket_stats(socket, &pre_stats);\n \ndiff --git a/mk/arch/ppc_64/rte.vars.mk b/mk/arch/ppc_64/rte.vars.mk\nindex 363fcd1..dfdeaea 100644\n--- a/mk/arch/ppc_64/rte.vars.mk\n+++ b/mk/arch/ppc_64/rte.vars.mk\n@@ -32,7 +32,7 @@\n ARCH  ?= powerpc\n CROSS ?=\n \n-CPU_CFLAGS  ?= -m64\n+CPU_CFLAGS  ?= -m64 -DCACHE_LINE_SIZE=128\n CPU_LDFLAGS ?=\n CPU_ASFLAGS ?= -felf64\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "10/12"
    ]
}