get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 93006,
    "url": "http://patches.dpdk.org/api/patches/93006/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210506142526.28245-2-mk@semihalf.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": "<20210506142526.28245-2-mk@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210506142526.28245-2-mk@semihalf.com",
    "date": "2021-05-06T14:25:05",
    "name": "[v3,01/22] net/ena: switch memcpy to dpdk-optimized version",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "343e3923608b8da44b4dd2ab119e117bb89b3093",
    "submitter": {
        "id": 786,
        "url": "http://patches.dpdk.org/api/people/786/?format=api",
        "name": "Michal Krawczyk",
        "email": "mk@semihalf.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210506142526.28245-2-mk@semihalf.com/mbox/",
    "series": [
        {
            "id": 16861,
            "url": "http://patches.dpdk.org/api/series/16861/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16861",
            "date": "2021-05-06T14:25:04",
            "name": "net/ena: update ENA PMD to v2.3.0",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/16861/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/93006/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/93006/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5F94DA0524;\n\tThu,  6 May 2021 16:25:51 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CE704410FA;\n\tThu,  6 May 2021 16:25:45 +0200 (CEST)",
            "from mail-lf1-f48.google.com (mail-lf1-f48.google.com\n [209.85.167.48]) by mails.dpdk.org (Postfix) with ESMTP id B2E8F410F3\n for <dev@dpdk.org>; Thu,  6 May 2021 16:25:43 +0200 (CEST)",
            "by mail-lf1-f48.google.com with SMTP id x19so8080210lfa.2\n for <dev@dpdk.org>; Thu, 06 May 2021 07:25:43 -0700 (PDT)",
            "from DESKTOP-U5LNN3J.localdomain (89-79-189-199.dynamic.chello.pl.\n [89.79.189.199])\n by smtp.gmail.com with ESMTPSA id b40sm892908ljr.101.2021.05.06.07.25.41\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 06 May 2021 07:25:42 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=2XqtNgVNFW+3cuq3W34xXDy9JZdCaLxVkH9dYbjPK7Y=;\n b=jNDDvAwDnzUfKct8+rsrTy2egXMKhm4ZUm2WPOwdatf97l5REdMMNUm/lEogcYQXRx\n G6sLaZ3ncpGJR6DAIbxOY64Hd5E/AP1UYsPweC8XTZvFPOI5CLZVkbvoZO76Flv24srI\n 5RFaDZHn+dYC4Ajc7HdoxHEhePeCTD1wv9xqVPGV8WHsLZnMVTxtWpeB0hLMYbKXCyhS\n AWWvlV9mQX8nAvIlHn20QwjmtYmygtEMLbyxhqJ0FlyawNXfYvKDzZMqMDzFw5QBM36I\n Y4AKge7/NCWT5moj6ZdbqVOsKQQx09myc12hGE6kYliSYOmg0G3KCYCkiU7cV9M/hvVS\n 8vHg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=2XqtNgVNFW+3cuq3W34xXDy9JZdCaLxVkH9dYbjPK7Y=;\n b=LHxyGRrHTXUvwairPNJH7sRSpt6A/K1e2pn4NNYQLlb0Yv8VTG6dFzrPcXxBoimvhi\n BDrGGwstpshnOm+2sVWtPCMo3u2MMQGBC5qOP7rCIrkQLogvq5LOVTFNR2zidrYL6CCK\n CmIEATJrLwxOsPxngMGYuKvbtb1y0WaeAb2T/7AUwLauwwH5r5HrRFrqjG1+EDSMrYJD\n 43ll3G1nBzWVrdYnqJ12Xyh31RzeZ7xgc4goAS9wm6ukFoaSCdi+Ua/6gJ42cvTDX5n/\n PzeZZf+EdXXN1sGIqZaInVfnl5XEVnoomhOkrx/y+GczLGjFeyIAMf7yT3KPdAZgRhpC\n hwXA==",
        "X-Gm-Message-State": "AOAM5334WUgCLDsi8/qAplA3dmpYpjca5WMJdXNWdAGi67kCuMdg6vW2\n 6GsNyXxQ1JgZbi2bv/w0wVGLAvgSAMMMT8HC",
        "X-Google-Smtp-Source": "\n ABdhPJwCgY3I+3hBfLhvyiKi5BMggoWcRglX6dlDCYk/YcateOGmcySrI80s1XTKS87Iubgx9na4Dw==",
        "X-Received": "by 2002:a05:6512:10c9:: with SMTP id\n k9mr3028451lfg.273.1620311143005;\n Thu, 06 May 2021 07:25:43 -0700 (PDT)",
        "From": "Michal Krawczyk <mk@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "ndagan@amazon.com, gtzalik@amazon.com, igorch@amazon.com,\n upstream@semihalf.com, stable@dpdk.org, Michal Krawczyk <mk@semihalf.com>,\n Artur Rojek <ar@semihalf.com>",
        "Date": "Thu,  6 May 2021 16:25:05 +0200",
        "Message-Id": "<20210506142526.28245-2-mk@semihalf.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210506142526.28245-1-mk@semihalf.com>",
        "References": "<20210505073348.6394-1-mk@semihalf.com>\n <20210506142526.28245-1-mk@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 01/22] net/ena: switch memcpy to\n dpdk-optimized version",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Igor Chauskin <igorch@amazon.com>\n\nmemcpy is now mapped to rte_memcpy macro on x86 architectures.\n\nFixes: 9ba7981ec992 (\"ena: add communication layer for DPDK\")\nCc: stable@dpdk.org\n\nSigned-off-by: Igor Chauskin <igorch@amazon.com>\nReviewed-by: Michal Krawczyk <mk@semihalf.com>\nReviewed-by: Artur Rojek <ar@semihalf.com>\n---\nv2:\n* Fix nested declaration of the rte_memcpy on arm64 architecture.\n\n drivers/net/ena/base/ena_plat_dpdk.h | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ena/base/ena_plat_dpdk.h b/drivers/net/ena/base/ena_plat_dpdk.h\nindex a1d749f83f..ae68f860a5 100644\n--- a/drivers/net/ena/base/ena_plat_dpdk.h\n+++ b/drivers/net/ena/base/ena_plat_dpdk.h\n@@ -25,6 +25,7 @@\n #include <rte_spinlock.h>\n \n #include <sys/time.h>\n+#include <rte_memcpy.h>\n \n typedef uint64_t u64;\n typedef uint32_t u32;\n@@ -62,7 +63,11 @@ typedef uint64_t dma_addr_t;\n #define ENA_UDELAY(x) rte_delay_us_block(x)\n \n #define ENA_TOUCH(x) ((void)(x))\n-#define memcpy_toio memcpy\n+/* Avoid nested declaration on arm64, as it may define rte_memcpy as memcpy. */\n+#if defined(RTE_ARCH_X86)\n+#undef memcpy\n+#define memcpy rte_memcpy\n+#endif\n #define wmb rte_wmb\n #define rmb rte_rmb\n #define mb rte_mb\n",
    "prefixes": [
        "v3",
        "01/22"
    ]
}