get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128895,
    "url": "http://patchwork.dpdk.org/api/patches/128895/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230621170058.2740340-2-david.marchand@redhat.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": "<20230621170058.2740340-2-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230621170058.2740340-2-david.marchand@redhat.com",
    "date": "2023-06-21T17:00:55",
    "name": "[v4,1/4] kni: move IOVA build check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "43501780efbe6735c5417a0445c1fb7de6958a61",
    "submitter": {
        "id": 1173,
        "url": "http://patchwork.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230621170058.2740340-2-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 28608,
            "url": "http://patchwork.dpdk.org/api/series/28608/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28608",
            "date": "2023-06-21T17:00:54",
            "name": "Select optional libraries",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/28608/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/128895/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128895/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 5A56E42D16;\n\tWed, 21 Jun 2023 19:01:29 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DEC7942C4D;\n\tWed, 21 Jun 2023 19:01:25 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id E201542B7E\n for <dev@dpdk.org>; Wed, 21 Jun 2023 19:01:23 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-28-TZodYI-QOaSv4RCDIyRccA-1; Wed, 21 Jun 2023 13:01:18 -0400",
            "from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com\n [10.11.54.7])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5ED1310311E6;\n Wed, 21 Jun 2023 17:01:11 +0000 (UTC)",
            "from dmarchan.redhat.com (unknown [10.45.224.210])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 064D914682F8;\n Wed, 21 Jun 2023 17:01:09 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1687366883;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Srvf6cEC2YBGBCsJxqOi7I+vT0wJ5AleJsTK1sUyzDU=;\n b=ZxpNotYVSbpTpQSQRkegm0xQIWxrZWmCEDX/4mlzLZo3kjwpYlwaxkd9pLM34mhKpq7SJq\n VKWxkR8at4yPIZF4MMKhGfB+pn0+0718Jo7Nd1RK585QlZMQmfVqA1xapkquf+XZqCXQcP\n 7NeZz1N02bLPlpmYKrUC52ILLDQULog=",
        "X-MC-Unique": "TZodYI-QOaSv4RCDIyRccA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bluca@debian.org, tredaelli@redhat.com,\n i.maximets@ovn.org, james.r.harris@intel.com, mohammed@hawari.fr",
        "Subject": "[PATCH v4 1/4] kni: move IOVA build check",
        "Date": "Wed, 21 Jun 2023 19:00:55 +0200",
        "Message-Id": "<20230621170058.2740340-2-david.marchand@redhat.com>",
        "In-Reply-To": "<20230621170058.2740340-1-david.marchand@redhat.com>",
        "References": "<20211117112847.7362-6-david.marchand@redhat.com>\n <20230621170058.2740340-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.7",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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"
    },
    "content": "kni dependency to IOVA configuration does not need to be expressed in\nthe top level lib/meson.build file.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/kni/meson.build | 5 +++++\n lib/meson.build     | 3 ---\n 2 files changed, 5 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/kni/meson.build b/lib/kni/meson.build\nindex 8a71d8ba6f..5ce410f7f2 100644\n--- a/lib/kni/meson.build\n+++ b/lib/kni/meson.build\n@@ -7,6 +7,11 @@ if is_windows\n     subdir_done()\n endif\n \n+if dpdk_conf.get('RTE_IOVA_IN_MBUF') == 0\n+    build = false\n+    reason = 'requires IOVA in mbuf (set enable_iova_as_pa option)'\n+endif\n+\n if not is_linux or not dpdk_conf.get('RTE_ARCH_64')\n     build = false\n     reason = 'only supported on 64-bit Linux'\ndiff --git a/lib/meson.build b/lib/meson.build\nindex 9677239236..f5c8a70a1d 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -95,9 +95,6 @@ dpdk_libs_deprecated += [\n disabled_libs = []\n opt_disabled_libs = run_command(list_dir_globs, get_option('disable_libs'),\n         check: true).stdout().split()\n-if dpdk_conf.get('RTE_IOVA_IN_MBUF') == 0\n-    opt_disabled_libs += ['kni']\n-endif\n foreach l:opt_disabled_libs\n     if not optional_libs.contains(l)\n         warning('Cannot disable mandatory library \"@0@\"'.format(l))\n",
    "prefixes": [
        "v4",
        "1/4"
    ]
}