get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61770,
    "url": "http://patches.dpdk.org/api/patches/61770/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1571838001-591-5-git-send-email-david.marchand@redhat.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": "<1571838001-591-5-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1571838001-591-5-git-send-email-david.marchand@redhat.com",
    "date": "2019-10-23T13:40:01",
    "name": "[v2,4/4] net: hide internal CRC defines",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d751fabafcde665009d3d1888b8a3d287099cff0",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/1571838001-591-5-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 7016,
            "url": "http://patches.dpdk.org/api/series/7016/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7016",
            "date": "2019-10-23T13:39:57",
            "name": "net definitions fixes",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/7016/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/61770/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/61770/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 384AF1C223;\n\tWed, 23 Oct 2019 15:40:24 +0200 (CEST)",
            "from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com\n\t[205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 329A21C1EB\n\tfor <dev@dpdk.org>; Wed, 23 Oct 2019 15:40:17 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n\t[209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n\tus-mta-80-dKv-ipHbOWCrVt2s-aojew-1; Wed, 23 Oct 2019 09:40:15 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx01.redhat.com (Postfix) with ESMTPS id 84CCB107AD31;\n\tWed, 23 Oct 2019 13:40:14 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-129.brq.redhat.com\n\t[10.40.204.129])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 753A060BE1;\n\tWed, 23 Oct 2019 13:40:13 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1571838016;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=g+5B1UYFHIsxGkM8HrmuYQYCm8Azt/MEmJOfDJGBKwI=;\n\tb=RSQtHWe5PqX6bw8iSlyDeZXxRKwkqAS3nUkmA3dTrUT5gG0X30FIYaJc22Zd7DdzyVI16P\n\t4DeiD+qcxJdfh8gvS4FjKCSgZiyLPFZCmIHMX8RPvNmmEgGxSqs2jxsZ2s1RnR4DA2qwo9\n\tvmWCi5o/t1XOxsVfl9oAYjoxUdtpySw=",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "olivier.matz@6wind.com,\n\tferruh.yigit@intel.com",
        "Date": "Wed, 23 Oct 2019 15:40:01 +0200",
        "Message-Id": "<1571838001-591-5-git-send-email-david.marchand@redhat.com>",
        "In-Reply-To": "<1571838001-591-1-git-send-email-david.marchand@redhat.com>",
        "References": "<1571820718-7021-1-git-send-email-david.marchand@redhat.com>\n\t<1571838001-591-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12",
        "X-MC-Unique": "dKv-ipHbOWCrVt2s-aojew-1",
        "X-Mimecast-Spam-Score": "0",
        "Content-Type": "text/plain; charset=WINDOWS-1252",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH v2 4/4] net: hide internal CRC defines",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "No need to let those (non RTE_ prefixed) defines public.\nHide them where we use them.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_net/rte_net_crc.c | 6 ++++++\n lib/librte_net/rte_net_crc.h | 6 ------\n 2 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/lib/librte_net/rte_net_crc.c b/lib/librte_net/rte_net_crc.c\nindex dca0830..9fd4794 100644\n--- a/lib/librte_net/rte_net_crc.c\n+++ b/lib/librte_net/rte_net_crc.c\n@@ -22,6 +22,12 @@\n #include <net_crc_neon.h>\n #endif\n \n+/** CRC polynomials */\n+#define CRC32_ETH_POLYNOMIAL 0x04c11db7UL\n+#define CRC16_CCITT_POLYNOMIAL 0x1021U\n+\n+#define CRC_LUT_SIZE 256\n+\n /* crc tables */\n static uint32_t crc32_eth_lut[CRC_LUT_SIZE];\n static uint32_t crc16_ccitt_lut[CRC_LUT_SIZE];\ndiff --git a/lib/librte_net/rte_net_crc.h b/lib/librte_net/rte_net_crc.h\nindex 8a86f29..16e85ca 100644\n--- a/lib/librte_net/rte_net_crc.h\n+++ b/lib/librte_net/rte_net_crc.h\n@@ -11,12 +11,6 @@\n extern \"C\" {\n #endif\n \n-/** CRC polynomials */\n-#define CRC32_ETH_POLYNOMIAL 0x04c11db7UL\n-#define CRC16_CCITT_POLYNOMIAL 0x1021U\n-\n-#define CRC_LUT_SIZE 256\n-\n /** CRC types */\n enum rte_net_crc_type {\n \tRTE_NET_CRC16_CCITT = 0,\n",
    "prefixes": [
        "v2",
        "4/4"
    ]
}