get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 117281,
    "url": "http://patches.dpdk.org/api/patches/117281/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221004080052.180989-1-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": "<20221004080052.180989-1-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221004080052.180989-1-david.marchand@redhat.com",
    "date": "2022-10-04T08:00:52",
    "name": "bus/pci: remove VFIO status log in scan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "da50ccd40dce792f326af4e56e6a8df668c7e140",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221004080052.180989-1-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 24957,
            "url": "http://patches.dpdk.org/api/series/24957/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24957",
            "date": "2022-10-04T08:00:52",
            "name": "bus/pci: remove VFIO status log in scan",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24957/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/117281/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/117281/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 B18E8A0543;\n\tTue,  4 Oct 2022 10:01:06 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A4DA440E5A;\n\tTue,  4 Oct 2022 10:01:06 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id DED8740A87\n for <dev@dpdk.org>; Tue,  4 Oct 2022 10:01:04 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com\n [66.187.233.73]) 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-657-WgDp8_TWPR6CI2eNEEsz8A-1; Tue, 04 Oct 2022 04:01:02 -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 99C193C11066\n for <dev@dpdk.org>; Tue,  4 Oct 2022 08:01:02 +0000 (UTC)",
            "from localhost.localdomain (unknown [10.40.195.42])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 240DC1402BDC\n for <dev@dpdk.org>; Tue,  4 Oct 2022 08:01:01 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1664870464;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=p/Pw1BPGH2TDf6F5e0WUMfy0LjvTJB38IBtBC8ZLffo=;\n b=anTPdTI0boIgeh4I+lsbEB2fyZ4DLZGdayk1Ohyx/EmQ+UtpYexw2VQlR6TQi+DLyCvhKi\n nEsxOWf4OB8yzGFAmPEzHHXvz3H8cky9xFOrsrXohh399mzfXhxo5bGYNFuvzVfuJijpZ0\n Ir7gsUhCRJR3wP1Fjc2hf5A+tMPOfaA=",
        "X-MC-Unique": "WgDp8_TWPR6CI2eNEEsz8A-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Subject": "[PATCH] bus/pci: remove VFIO status log in scan",
        "Date": "Tue,  4 Oct 2022 10:00:52 +0200",
        "Message-Id": "<20221004080052.180989-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": "Linux EAL triggers a scan on all buses, PCI included.\nOnce done, it configures VFIO.\nChecking for VFIO status in the PCI bus scan is pointless.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/bus/pci/linux/pci.c | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c\nindex c8703d52f3..e69595ca2b 100644\n--- a/drivers/bus/pci/linux/pci.c\n+++ b/drivers/bus/pci/linux/pci.c\n@@ -452,11 +452,6 @@ rte_pci_scan(void)\n \tif (!rte_eal_has_pci())\n \t\treturn 0;\n \n-#ifdef VFIO_PRESENT\n-\tif (!pci_vfio_is_enabled())\n-\t\tRTE_LOG(DEBUG, EAL, \"VFIO PCI modules not loaded\\n\");\n-#endif\n-\n \tdir = opendir(rte_pci_get_sysfs_path());\n \tif (dir == NULL) {\n \t\tRTE_LOG(ERR, EAL, \"%s(): opendir failed: %s\\n\",\n",
    "prefixes": []
}