get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103171,
    "url": "http://patchwork.dpdk.org/api/patches/103171/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635430513.git.anatoly.burakov@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<e6c78025127457557cbe19a0cd2a1f1ea325f047.1635430513.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635430513.git.anatoly.burakov@intel.com",
    "date": "2021-10-28T14:15:17",
    "name": "[v3,2/4] vfio: fix wrong return value for FreeBSD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8f2930c7f995b0c3a11bc9ff77b3d046db24a2f0",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/e6c78025127457557cbe19a0cd2a1f1ea325f047.1635430513.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 20103,
            "url": "http://patchwork.dpdk.org/api/series/20103/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20103",
            "date": "2021-10-28T14:15:16",
            "name": "[v3,1/4] vfio: drop fallback Linux implementation",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/20103/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/103171/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/103171/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 0B1E0A0547;\n\tThu, 28 Oct 2021 16:15:29 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 984C9426D2;\n\tThu, 28 Oct 2021 16:15:26 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id E7F434111A;\n Thu, 28 Oct 2021 16:15:22 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2021 07:15:22 -0700",
            "from silpixa00401191.ir.intel.com ([10.55.128.95])\n by orsmga008.jf.intel.com with ESMTP; 28 Oct 2021 07:15:21 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10151\"; a=\"253986064\"",
            "E=Sophos;i=\"5.87,190,1631602800\"; d=\"scan'208\";a=\"253986064\"",
            "E=Sophos;i=\"5.87,190,1631602800\"; d=\"scan'208\";a=\"498417182\""
        ],
        "X-ExtLoop1": "1",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Cc": "stable@dpdk.org",
        "Date": "Thu, 28 Oct 2021 14:15:17 +0000",
        "Message-Id": "\n <e6c78025127457557cbe19a0cd2a1f1ea325f047.1635430513.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "\n <b2382197250fe4a359a7eb2e7e4c1d12cd959500.1635430513.git.anatoly.burakov@intel.com>",
        "References": "\n <b2382197250fe4a359a7eb2e7e4c1d12cd959500.1635428963.git.anatoly.burakov@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 2/4] vfio: fix wrong return value for FreeBSD",
        "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": "On FreeBSD, `rte_vfio_clear_group()` was returning 0 even though this\nfunction is not valid for FreeBSD, and is called out to return error in\ndoxygen comments. Fix the return value to match documentation.\n\nCc: stable@dpdk.org\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n lib/eal/freebsd/eal.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c\nindex 9935356ed4..dada210b19 100644\n--- a/lib/eal/freebsd/eal.c\n+++ b/lib/eal/freebsd/eal.c\n@@ -1032,7 +1032,7 @@ int rte_vfio_noiommu_is_enabled(void)\n \n int rte_vfio_clear_group(__rte_unused int vfio_group_fd)\n {\n-\treturn 0;\n+\treturn -1;\n }\n \n int\n",
    "prefixes": [
        "v3",
        "2/4"
    ]
}