get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2331,
    "url": "https://patches.dpdk.org/api/patches/2331/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421411053-24061-1-git-send-email-bruce.richardson@intel.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": "<1421411053-24061-1-git-send-email-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421411053-24061-1-git-send-email-bruce.richardson@intel.com",
    "date": "2015-01-16T12:24:13",
    "name": "[dpdk-dev] bsdapp: replace d_thread_t with struct thread in nic_uio",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e14146b9875e3d78a6989afda70ee8d92e05c426",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421411053-24061-1-git-send-email-bruce.richardson@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2331/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2331/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 BD3795A86;\n\tFri, 16 Jan 2015 13:24:18 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 368945686\n\tfor <dev@dpdk.org>; Fri, 16 Jan 2015 13:24:17 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP; 16 Jan 2015 04:24:15 -0800",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 16 Jan 2015 04:24:15 -0800",
            "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt0GCOEQt009763; Fri, 16 Jan 2015 12:24:14 GMT",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id t0GCOEj5024100;\n\tFri, 16 Jan 2015 12:24:14 GMT",
            "(from bricha3@localhost)\n\tby sivswdev01.ir.intel.com with  id t0GCODJY024096;\n\tFri, 16 Jan 2015 12:24:13 GMT"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.09,410,1418112000\"; d=\"scan'208\";a=\"671028166\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 16 Jan 2015 12:24:13 +0000",
        "Message-Id": "<1421411053-24061-1-git-send-email-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "Subject": "[dpdk-dev] [PATCH] bsdapp: replace d_thread_t with struct thread in\n\tnic_uio",
        "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": "Reported by: John Baldwin <jhb@FreeBSD.org>\nRef: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196691\n\nQuote:\n\"The d_thread_t typedef is a compat shim to support FreeBSD 4.x.  I'm planning to remove this shim from 11 and dpdk is very unlikely to ever be ported to 4.x.\n If it does it will need far more changes than just d_thread_t\"\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\nindex ed11d84..5ae8560 100644\n--- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\n+++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c\n@@ -175,13 +175,13 @@ nic_uio_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size,\n \n \n int\n-nic_uio_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)\n+nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td)\n {\n \treturn 0;\n }\n \n int\n-nic_uio_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)\n+nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td)\n {\n \treturn 0;\n }\n",
    "prefixes": [
        "dpdk-dev"
    ]
}