get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107590,
    "url": "http://patchwork.dpdk.org/api/patches/107590/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220215123037.608981-7-sean.morrissey@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": "<20220215123037.608981-7-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220215123037.608981-7-sean.morrissey@intel.com",
    "date": "2022-02-15T12:29:53",
    "name": "[v9,06/50] vhost: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d4502ce326c8f4b8e2fb47dbbed955318cbac366",
    "submitter": {
        "id": 1359,
        "url": "http://patchwork.dpdk.org/api/people/1359/?format=api",
        "name": "Sean Morrissey",
        "email": "sean.morrissey@intel.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/20220215123037.608981-7-sean.morrissey@intel.com/mbox/",
    "series": [
        {
            "id": 21680,
            "url": "http://patchwork.dpdk.org/api/series/21680/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21680",
            "date": "2022-02-15T12:29:47",
            "name": "introduce IWYU",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/21680/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/107590/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/107590/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 8916EA00C5;\n\tTue, 15 Feb 2022 13:32:40 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 31A3541145;\n\tTue, 15 Feb 2022 13:32:15 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 38B0541145\n for <dev@dpdk.org>; Tue, 15 Feb 2022 13:32:12 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Feb 2022 04:32:04 -0800",
            "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:03 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644928332; x=1676464332;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=J8aUNef3cuDxm1VxMKQZ3guPJ0oktP9qWROpzqbTBGM=;\n b=XacvYVgn9loWLsPdQ8fSPxNylSMjM4//yeatGM+UzgRmz09FZhU0pnpM\n vsScSolBLSIVq2Nn61b+erz+x5ab8BsFg1FGjHVayeAp9W75Ryd2FrGB/\n UaZ+AXuE884LIUZ7pwGzQYC6AsCQ1r+Ok6pTJzKaWZC5mws+BC31UzRqO\n No7g8ZbB8pRqxyWHXJM55MR6ndu6MAy948TbLHByYNhmuQii97Tgp1P3r\n LB+/ps7sywECpyrqcmGE9EU0kEMAYd3KTPLU/WdcZK4E7ZI8m7+gZ+U4s\n aweWqgZn6LwqQ9VcXrvB4DrukvLPDvofyqfKyIBTSXWmCj+Io2umdvmon Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10258\"; a=\"247936543\"",
            "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"247936543\"",
            "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"544280286\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v9 06/50] vhost: remove unneeded header includes",
        "Date": "Tue, 15 Feb 2022 12:29:53 +0000",
        "Message-Id": "<20220215123037.608981-7-sean.morrissey@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220215123037.608981-1-sean.morrissey@intel.com>",
        "References": "<20220214144406.4192233-1-sean.morrissey@intel.com>\n <20220215123037.608981-1-sean.morrissey@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "These header includes have been flagged by the iwyu_tool\nand removed.\n\nSigned-off-by: Sean Morrissey <sean.morrissey@intel.com>\n---\n lib/vhost/fd_man.c     | 6 ------\n lib/vhost/fd_man.h     | 1 -\n lib/vhost/socket.c     | 1 -\n lib/vhost/vdpa.c       | 1 -\n lib/vhost/vhost.c      | 4 ----\n lib/vhost/vhost.h      | 2 --\n lib/vhost/vhost_user.c | 2 --\n 7 files changed, 17 deletions(-)",
    "diff": "diff --git a/lib/vhost/fd_man.c b/lib/vhost/fd_man.c\nindex 55d4856f9e..1876fada33 100644\n--- a/lib/vhost/fd_man.c\n+++ b/lib/vhost/fd_man.c\n@@ -2,14 +2,8 @@\n  * Copyright(c) 2010-2014 Intel Corporation\n  */\n \n-#include <stdint.h>\n #include <stdio.h>\n-#include <stdlib.h>\n-#include <sys/socket.h>\n-#include <sys/time.h>\n-#include <sys/types.h>\n #include <unistd.h>\n-#include <string.h>\n \n #include <rte_common.h>\n #include <rte_log.h>\ndiff --git a/lib/vhost/fd_man.h b/lib/vhost/fd_man.h\nindex 3ab5cfdd60..6f4499bdfa 100644\n--- a/lib/vhost/fd_man.h\n+++ b/lib/vhost/fd_man.h\n@@ -4,7 +4,6 @@\n \n #ifndef _FD_MAN_H_\n #define _FD_MAN_H_\n-#include <stdint.h>\n #include <pthread.h>\n #include <poll.h>\n \ndiff --git a/lib/vhost/socket.c b/lib/vhost/socket.c\nindex c2f8013cd5..b304339de9 100644\n--- a/lib/vhost/socket.c\n+++ b/lib/vhost/socket.c\n@@ -8,7 +8,6 @@\n #include <stdlib.h>\n #include <unistd.h>\n #include <string.h>\n-#include <sys/types.h>\n #include <sys/socket.h>\n #include <sys/un.h>\n #include <sys/queue.h>\ndiff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c\nindex 6df2230a67..8fa2153023 100644\n--- a/lib/vhost/vdpa.c\n+++ b/lib/vhost/vdpa.c\n@@ -8,7 +8,6 @@\n  * Device specific vhost lib\n  */\n \n-#include <stdbool.h>\n #include <sys/queue.h>\n \n #include <rte_class.h>\ndiff --git a/lib/vhost/vhost.c b/lib/vhost/vhost.c\nindex 6bcb716de0..bc88148347 100644\n--- a/lib/vhost/vhost.c\n+++ b/lib/vhost/vhost.c\n@@ -4,7 +4,6 @@\n \n #include <linux/vhost.h>\n #include <linux/virtio_net.h>\n-#include <stddef.h>\n #include <stdint.h>\n #include <stdlib.h>\n #ifdef RTE_LIBRTE_VHOST_NUMA\n@@ -13,13 +12,10 @@\n #endif\n \n #include <rte_errno.h>\n-#include <rte_ethdev.h>\n #include <rte_log.h>\n-#include <rte_string_fns.h>\n #include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_vhost.h>\n-#include <rte_rwlock.h>\n \n #include \"iotlb.h\"\n #include \"vhost.h\"\ndiff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h\nindex 1c2ee29600..64ec76b80e 100644\n--- a/lib/vhost/vhost.h\n+++ b/lib/vhost/vhost.h\n@@ -17,12 +17,10 @@\n \n #include <rte_log.h>\n #include <rte_ether.h>\n-#include <rte_rwlock.h>\n #include <rte_malloc.h>\n #include <rte_dmadev.h>\n \n #include \"rte_vhost.h\"\n-#include \"rte_vdpa.h\"\n #include \"vdpa_driver.h\"\n \n #include \"rte_vhost_async.h\"\ndiff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c\nindex 1d3f89afd8..4f135f1f72 100644\n--- a/lib/vhost/vhost_user.c\n+++ b/lib/vhost/vhost_user.c\n@@ -27,10 +27,8 @@\n #include <fcntl.h>\n #include <sys/ioctl.h>\n #include <sys/mman.h>\n-#include <sys/types.h>\n #include <sys/stat.h>\n #include <sys/syscall.h>\n-#include <assert.h>\n #ifdef RTE_LIBRTE_VHOST_NUMA\n #include <numaif.h>\n #endif\n",
    "prefixes": [
        "v9",
        "06/50"
    ]
}