get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57764,
    "url": "http://patches.dpdk.org/api/patches/57764/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1566308703-23381-1-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": "<1566308703-23381-1-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1566308703-23381-1-git-send-email-david.marchand@redhat.com",
    "date": "2019-08-20T13:45:03",
    "name": "ethdev: fix endian annotation for spi item",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2192a164283e1547150f506af77c825a4aa99892",
    "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/1566308703-23381-1-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 6082,
            "url": "http://patches.dpdk.org/api/series/6082/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6082",
            "date": "2019-08-20T13:45:03",
            "name": "ethdev: fix endian annotation for spi item",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6082/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/57764/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/57764/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 9193C1BECF;\n\tTue, 20 Aug 2019 15:46:01 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id E35CF1BEBC;\n\tTue, 20 Aug 2019 15:45:59 +0200 (CEST)",
            "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 mx1.redhat.com (Postfix) with ESMTPS id 2350CA35FEF;\n\tTue, 20 Aug 2019 13:45:59 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-32.brq.redhat.com\n\t[10.40.204.32])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 982F560C18;\n\tTue, 20 Aug 2019 13:45:55 +0000 (UTC)"
        ],
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "ian.stokes@intel.com, i.maximets@samsung.com, stable@dpdk.org,\n\tAdrien Mazarguil <adrien.mazarguil@6wind.com>,\n\tThomas Monjalon <thomas@monjalon.net>,\n\tFerruh Yigit <ferruh.yigit@intel.com>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>",
        "Date": "Tue, 20 Aug 2019 15:45:03 +0200",
        "Message-Id": "<1566308703-23381-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.6.2\n\t(mx1.redhat.com [10.5.110.68]); Tue, 20 Aug 2019 13:45:59 +0000 (UTC)",
        "Subject": "[dpdk-dev] [PATCH] ethdev: fix endian annotation for spi item",
        "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": "spi should be set with network endian values.\nWhile 0xffffffff == htonl(0xffffffff), this missing annotation is caught\nby sparse when compiling ovs (dpdk-latest branch).\n\nFixes: d4b684f7197a (\"net: add ESP header to generic flow steering\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/librte_ethdev/rte_flow.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h\nindex b66bf14..354cb1d 100644\n--- a/lib/librte_ethdev/rte_flow.h\n+++ b/lib/librte_ethdev/rte_flow.h\n@@ -935,7 +935,7 @@ struct rte_flow_item_esp {\n #ifndef __cplusplus\n static const struct rte_flow_item_esp rte_flow_item_esp_mask = {\n \t.hdr = {\n-\t\t.spi = 0xffffffff,\n+\t\t.spi = RTE_BE32(0xffffffff),\n \t},\n };\n #endif\n",
    "prefixes": []
}