get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1213,
    "url": "https://patches.dpdk.org/api/patches/1213/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415381289-43291-1-git-send-email-jyu@vmware.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": "<1415381289-43291-1-git-send-email-jyu@vmware.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1415381289-43291-1-git-send-email-jyu@vmware.com",
    "date": "2014-11-07T17:28:09",
    "name": "[dpdk-dev] lib: include rte_memory.h for __rte_cache_aligned",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9f8495434a85430db73424b652f3d093300cd968",
    "submitter": {
        "id": 111,
        "url": "https://patches.dpdk.org/api/people/111/?format=api",
        "name": "Jia Yu",
        "email": "jyu@vmware.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1415381289-43291-1-git-send-email-jyu@vmware.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1213/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1213/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 C094E591A;\n\tSat,  8 Nov 2014 02:27:08 +0100 (CET)",
            "from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com\n\t[208.91.2.13]) by dpdk.org (Postfix) with ESMTP id 3C2F6590B\n\tfor <dev@dpdk.org>; Sat,  8 Nov 2014 02:27:06 +0100 (CET)",
            "from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com\n\t[10.113.161.73])\n\tby smtp-outbound-2.vmware.com (Postfix) with ESMTP id CEDC02865E\n\tfor <dev@dpdk.org>; Fri,  7 Nov 2014 17:36:33 -0800 (PST)",
            "from prmh-edge-ivybridge-13.eng.vmware.com (unknown [10.24.235.96])\n\tby sc9-mailhost3.vmware.com (Postfix) with ESMTP id BF7C940D26;\n\tFri,  7 Nov 2014 17:36:33 -0800 (PST)"
        ],
        "From": "Jia Yu <jyu@vmware.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  7 Nov 2014 09:28:09 -0800",
        "Message-Id": "<1415381289-43291-1-git-send-email-jyu@vmware.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH] lib: include rte_memory.h for __rte_cache_aligned",
        "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": "Include rte_memory.h for lib files that use __rte_cache_aligned\nattribute.\n\nSigned-off-by: Jia Yu <jyu@vmware.com>\n---\n lib/librte_distributor/rte_distributor.c        | 1 +\n lib/librte_eal/common/include/rte_malloc_heap.h | 1 +\n lib/librte_ip_frag/rte_ip_frag.h                | 1 +\n lib/librte_malloc/malloc_elem.h                 | 2 ++\n lib/librte_mbuf/rte_mbuf.h                      | 1 +\n lib/librte_port/rte_port_frag.c                 | 1 +\n lib/librte_table/rte_table_acl.c                | 1 +\n lib/librte_table/rte_table_array.c              | 1 +\n lib/librte_table/rte_table_hash_ext.c           | 1 +\n lib/librte_table/rte_table_hash_key16.c         | 1 +\n lib/librte_table/rte_table_hash_key32.c         | 1 +\n lib/librte_table/rte_table_hash_key8.c          | 1 +\n lib/librte_table/rte_table_hash_lru.c           | 1 +\n lib/librte_table/rte_table_lpm.c                | 1 +\n lib/librte_table/rte_table_lpm_ipv6.c           | 1 +\n 15 files changed, 16 insertions(+)",
    "diff": "diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c\nindex 656ee5c..c3f7981 100644\n--- a/lib/librte_distributor/rte_distributor.c\n+++ b/lib/librte_distributor/rte_distributor.c\n@@ -35,6 +35,7 @@\n #include <sys/queue.h>\n #include <string.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_memzone.h>\n #include <rte_errno.h>\n #include <rte_string_fns.h>\ndiff --git a/lib/librte_eal/common/include/rte_malloc_heap.h b/lib/librte_eal/common/include/rte_malloc_heap.h\nindex f727b7a..716216f 100644\n--- a/lib/librte_eal/common/include/rte_malloc_heap.h\n+++ b/lib/librte_eal/common/include/rte_malloc_heap.h\n@@ -37,6 +37,7 @@\n #include <stddef.h>\n #include <sys/queue.h>\n #include <rte_spinlock.h>\n+#include <rte_memory.h>\n \n /* Number of free lists per heap, grouped by size. */\n #define RTE_HEAP_NUM_FREELISTS  5\ndiff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h\nindex 230a903..3989a5a 100644\n--- a/lib/librte_ip_frag/rte_ip_frag.h\n+++ b/lib/librte_ip_frag/rte_ip_frag.h\n@@ -46,6 +46,7 @@\n \n #include <rte_malloc.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_ip.h>\n #include <rte_byteorder.h>\n \ndiff --git a/lib/librte_malloc/malloc_elem.h b/lib/librte_malloc/malloc_elem.h\nindex 1d666a5..6e8c3e8 100644\n--- a/lib/librte_malloc/malloc_elem.h\n+++ b/lib/librte_malloc/malloc_elem.h\n@@ -34,6 +34,8 @@\n #ifndef MALLOC_ELEM_H_\n #define MALLOC_ELEM_H_\n \n+#include <rte_memory.h>\n+\n /* dummy definition of struct so we can use pointers to it in malloc_elem struct */\n struct malloc_heap;\n \ndiff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex e8f9bfc..5998db0 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -54,6 +54,7 @@\n \n #include <stdint.h>\n #include <rte_mempool.h>\n+#include <rte_memory.h>\n #include <rte_atomic.h>\n #include <rte_prefetch.h>\n #include <rte_branch_prediction.h>\ndiff --git a/lib/librte_port/rte_port_frag.c b/lib/librte_port/rte_port_frag.c\nindex 9f1bd3c..048ae2e 100644\n--- a/lib/librte_port/rte_port_frag.c\n+++ b/lib/librte_port/rte_port_frag.c\n@@ -34,6 +34,7 @@\n \n #include <rte_ether.h>\n #include <rte_ip_frag.h>\n+#include <rte_memory.h>\n \n #include \"rte_port_frag.h\"\n \ndiff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c\nindex c6d389e..1d88201 100644\n--- a/lib/librte_table/rte_table_acl.c\n+++ b/lib/librte_table/rte_table_acl.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_array.c b/lib/librte_table/rte_table_array.c\nindex f0f5e1e..bb1ed38 100644\n--- a/lib/librte_table/rte_table_array.c\n+++ b/lib/librte_table/rte_table_array.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_hash_ext.c b/lib/librte_table/rte_table_hash_ext.c\nindex 6e26d98..5096be5 100644\n--- a/lib/librte_table/rte_table_hash_ext.c\n+++ b/lib/librte_table/rte_table_hash_ext.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_hash_key16.c b/lib/librte_table/rte_table_hash_key16.c\nindex f5ec87d..6976317 100644\n--- a/lib/librte_table/rte_table_hash_key16.c\n+++ b/lib/librte_table/rte_table_hash_key16.c\n@@ -35,6 +35,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_hash_key32.c b/lib/librte_table/rte_table_hash_key32.c\nindex e8f4812..5ac91c0 100644\n--- a/lib/librte_table/rte_table_hash_key32.c\n+++ b/lib/librte_table/rte_table_hash_key32.c\n@@ -35,6 +35,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_hash_key8.c b/lib/librte_table/rte_table_hash_key8.c\nindex d60c96e..9216eaf 100644\n--- a/lib/librte_table/rte_table_hash_key8.c\n+++ b/lib/librte_table/rte_table_hash_key8.c\n@@ -35,6 +35,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_hash_lru.c b/lib/librte_table/rte_table_hash_lru.c\nindex d1a4984..9826957 100644\n--- a/lib/librte_table/rte_table_hash_lru.c\n+++ b/lib/librte_table/rte_table_hash_lru.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_log.h>\n \ndiff --git a/lib/librte_table/rte_table_lpm.c b/lib/librte_table/rte_table_lpm.c\nindex a175ff3..5e3e0f2 100644\n--- a/lib/librte_table/rte_table_lpm.c\n+++ b/lib/librte_table/rte_table_lpm.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_byteorder.h>\n #include <rte_log.h>\ndiff --git a/lib/librte_table/rte_table_lpm_ipv6.c b/lib/librte_table/rte_table_lpm_ipv6.c\nindex e3d59d0..62fdb33 100644\n--- a/lib/librte_table/rte_table_lpm_ipv6.c\n+++ b/lib/librte_table/rte_table_lpm_ipv6.c\n@@ -36,6 +36,7 @@\n \n #include <rte_common.h>\n #include <rte_mbuf.h>\n+#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_byteorder.h>\n #include <rte_log.h>\n",
    "prefixes": [
        "dpdk-dev"
    ]
}