get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195,
    "url": "https://patches.dpdk.org/api/patches/2195/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1420527230-17037-6-git-send-email-zlu@ezchip.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": "<1420527230-17037-6-git-send-email-zlu@ezchip.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1420527230-17037-6-git-send-email-zlu@ezchip.com",
    "date": "2015-01-06T06:53:43",
    "name": "[dpdk-dev,v2,05/12] eal/tile: add memcpy operations for TileGx",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "3cd5a6ad5559c65be36a2ad0343863e7b98e6548",
    "submitter": {
        "id": 130,
        "url": "https://patches.dpdk.org/api/people/130/?format=api",
        "name": "Zhigang Lu",
        "email": "zlu@ezchip.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1420527230-17037-6-git-send-email-zlu@ezchip.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2195/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2195/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 8C4CF5938;\n\tTue,  6 Jan 2015 07:59:32 +0100 (CET)",
            "from emea01-db3-obe.outbound.protection.outlook.com\n\t(mail-db3on0081.outbound.protection.outlook.com [157.55.234.81])\n\tby dpdk.org (Postfix) with ESMTP id 142AC5921\n\tfor <dev@dpdk.org>; Tue,  6 Jan 2015 07:59:31 +0100 (CET)",
            "from DB4PR02CA0034.eurprd02.prod.outlook.com (10.242.174.162) by\n\tAMSPR02MB008.eurprd02.prod.outlook.com (10.242.89.156) with Microsoft\n\tSMTP Server (TLS) id 15.1.49.12; Tue, 6 Jan 2015 06:59:29 +0000",
            "from AM1FFO11FD014.protection.gbl (2a01:111:f400:7e00::186) by\n\tDB4PR02CA0034.outlook.office365.com (2a01:111:e400:983b::34) with\n\tMicrosoft SMTP Server (TLS) id 15.1.49.12 via Frontend Transport;\n\tTue, 6 Jan 2015 06:59:29 +0000",
            "from bjgfarm-2.internal.tilera.com (124.207.145.166) by\n\tAM1FFO11FD014.mail.protection.outlook.com (10.174.64.92) with\n\tMicrosoft SMTP Server (TLS) id 15.1.49.13 via Frontend Transport;\n\tTue, 6 Jan 2015 06:59:22 +0000",
            "(from zlu@localhost)\n\tby bjgfarm-2.internal.tilera.com (8.14.4/8.14.4/Submit) id\n\tt066x8Ae017160; Tue, 6 Jan 2015 14:59:08 +0800"
        ],
        "From": "Zhigang Lu <zlu@ezchip.com>",
        "To": "<dev@dpdk.org>",
        "Date": "Tue, 6 Jan 2015 14:53:43 +0800",
        "Message-ID": "<1420527230-17037-6-git-send-email-zlu@ezchip.com>",
        "X-Mailer": "git-send-email 2.1.2",
        "In-Reply-To": "<1420527230-17037-1-git-send-email-zlu@ezchip.com>",
        "References": "<1420527230-17037-1-git-send-email-zlu@ezchip.com>",
        "X-EOPAttributedMessage": "0",
        "Received-SPF": "Fail (protection.outlook.com: domain of ezchip.com does not\n\tdesignate 124.207.145.166 as permitted sender)\n\treceiver=protection.outlook.com; client-ip=124.207.145.166;\n\thelo=bjgfarm-2.internal.tilera.com;",
        "Authentication-Results": "spf=fail (sender IP is 124.207.145.166)\n\tsmtp.mailfrom=zlu@ezchip.com; ",
        "X-Forefront-Antispam-Report": "CIP:124.207.145.166; CTRY:CN; IPV:NLI; EFV:NLI; \n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(339900001)(189002)(199003)(42186005)(87936001)(50986999)(68736005)(2950100001)(62966003)(50466002)(86362001)(77156002)(36756003)(33646002)(31966008)(19580395003)(21056001)(104016003)(19580405001)(229853001)(105606002)(2351001)(47776003)(20776003)(6806004)(84676001)(107046002)(64706001)(92566001)(76176999)(89996001)(106466001)(46102003)(120916001)(99396003)(4396001)(110136001)(97736003)(50226001)(48376002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR02MB008;\n\tH:bjgfarm-2.internal.tilera.com; \n\tFPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en;",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-DmarcAction": "None",
        "X-Microsoft-Antispam": [
            "UriScan:;",
            "BCL:0;PCL:0;RULEID:(3005003);SRVR:AMSPR02MB008;"
        ],
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "X-Exchange-Antispam-Report-CFA-Test": [
            "BCL:0; PCL:0; RULEID:(601004);\n\tSRVR:AMSPR02MB008; ",
            "BCL:0;PCL:0;RULEID:;SRVR:AMSPR02MB008;"
        ],
        "X-Forefront-PRVS": "0448A97BF2",
        "X-OriginatorOrg": "ezchip.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "06 Jan 2015 06:59:22.0046\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "0fc16e0a-3cd3-4092-8b2f-0a42cff122c3",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3;\n\tIp=[124.207.145.166]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AMSPR02MB008",
        "Subject": "[dpdk-dev] [PATCH v2 05/12] eal/tile: add memcpy operations for\n\tTileGx",
        "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": "Signed-off-by: Zhigang Lu <zlu@ezchip.com>\nSigned-off-by: Cyril Chemparathy <cchemparathy@ezchip.com>\n---\n .../common/include/arch/tile/rte_memcpy.h          | 97 ++++++++++++++++++++++\n 1 file changed, 97 insertions(+)\n create mode 100644 lib/librte_eal/common/include/arch/tile/rte_memcpy.h",
    "diff": "diff --git a/lib/librte_eal/common/include/arch/tile/rte_memcpy.h b/lib/librte_eal/common/include/arch/tile/rte_memcpy.h\nnew file mode 100644\nindex 0000000..ef68787\n--- /dev/null\n+++ b/lib/librte_eal/common/include/arch/tile/rte_memcpy.h\n@@ -0,0 +1,97 @@\n+/*-\n+ *   BSD LICENSE\n+ *\n+ *   Copyright(c) 2014 Tilera Corporation. All rights reserved.\n+ *   All rights reserved.\n+ *\n+ *   Redistribution and use in source and binary forms, with or without\n+ *   modification, are permitted provided that the following conditions\n+ *   are met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in\n+ *       the documentation and/or other materials provided with the\n+ *       distribution.\n+ *     * Neither the name of Tilera Corporation nor the names of its\n+ *       contributors may be used to endorse or promote products derived\n+ *       from this software without specific prior written permission.\n+ *\n+ *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ *   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+#ifndef _RTE_MEMCPY_TILE_H_\n+#define _RTE_MEMCPY_TILE_H_\n+\n+#include <stdint.h>\n+#include <string.h>\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+#include \"generic/rte_memcpy.h\"\n+\n+static inline void\n+rte_mov16(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 16);\n+}\n+\n+static inline void\n+rte_mov32(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 32);\n+}\n+\n+static inline void\n+rte_mov48(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 48);\n+}\n+\n+static inline void\n+rte_mov64(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 64);\n+}\n+\n+static inline void\n+rte_mov128(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 128);\n+}\n+\n+static inline void\n+rte_mov256(uint8_t *dst, const uint8_t *src)\n+{\n+\tmemcpy(dst, src, 256);\n+}\n+\n+#define rte_memcpy(dst, src, n)              \\\n+\t((__builtin_constant_p(n)) ?          \\\n+\tmemcpy((dst), (src), (n)) :          \\\n+\trte_memcpy_func((dst), (src), (n)))\n+\n+static inline void *\n+rte_memcpy_func(void *dst, const void *src, size_t n)\n+{\n+\treturn memcpy(dst, src, n);\n+}\n+\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_MEMCPY_TILE_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "05/12"
    ]
}