get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84328,
    "url": "http://patchwork.dpdk.org/api/patches/84328/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/398e2cb4a37e2b29b68e2be0aa4df8c4f7d40155.1605713845.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": "<398e2cb4a37e2b29b68e2be0aa4df8c4f7d40155.1605713845.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/398e2cb4a37e2b29b68e2be0aa4df8c4f7d40155.1605713845.git.anatoly.burakov@intel.com",
    "date": "2020-11-18T15:37:37",
    "name": "[v2,3/4] doc: add VFIO no-IOMMU Linux GSG section",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "34acc0f21856b1fcecdfe74214dd52b5eae9bfc7",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "email": "anatoly.burakov@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/398e2cb4a37e2b29b68e2be0aa4df8c4f7d40155.1605713845.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 13952,
            "url": "http://patchwork.dpdk.org/api/series/13952/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13952",
            "date": "2020-11-18T15:37:35",
            "name": "[v2,1/4] doc: move VFIO driver to be first",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/13952/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/84328/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/84328/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0C414A04DD;\n\tWed, 18 Nov 2020 16:38:27 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6B57EC942;\n\tWed, 18 Nov 2020 16:37:51 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id D793BC900\n for <dev@dpdk.org>; Wed, 18 Nov 2020 16:37:44 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Nov 2020 07:37:42 -0800",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by orsmga003.jf.intel.com with ESMTP; 18 Nov 2020 07:37:41 -0800"
        ],
        "IronPort-SDR": [
            "\n 6jiEwyiCQgi8MZk7vm271gl7JiOG8/gsfGRm+yUu3MYH9qA8tlCQHyLq8AvvttgH9jz3FV86hw\n slROU5i/s0RQ==",
            "\n tlcLoZMTMKkqxK/boXQp5rkEjYRMSe7eDGcE2LxQuqTBOzWDr0kDdTzjXLDepS4Qapsucan91N\n syNas162xiOw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9808\"; a=\"171302347\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"171302347\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"325628032\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tjohn.mcnamara@intel.com",
        "Date": "Wed, 18 Nov 2020 15:37:37 +0000",
        "Message-Id": "\n <398e2cb4a37e2b29b68e2be0aa4df8c4f7d40155.1605713845.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": [
            "\n <6d1a335178212c2983a8e59b7fcf66001c9b262a.1605713845.git.anatoly.burakov@intel.com>",
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "\n <6d1a335178212c2983a8e59b7fcf66001c9b262a.1605713845.git.anatoly.burakov@intel.com>",
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 3/4] doc: add VFIO no-IOMMU Linux GSG section",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Currently, we have no documentation on how to use VFIO in no-IOMMU mode.\nAdd such documentation.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n\nNotes:\n    v2:\n    - Fixed the noiommu parameter name\n\n doc/guides/linux_gsg/linux_drivers.rst | 28 +++++++++++++++++++++++++-\n 1 file changed, 27 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst\nindex a3f443db2c..741b17a644 100644\n--- a/doc/guides/linux_gsg/linux_drivers.rst\n+++ b/doc/guides/linux_gsg/linux_drivers.rst\n@@ -94,9 +94,35 @@ To make use of full VFIO functionality, both kernel and BIOS must support and be\n For proper operation of VFIO when running DPDK applications as a non-privileged user, correct permissions should also be set up.\n This can be done by using the DPDK setup script (called ``dpdk-setup.sh`` and located in the usertools directory).\n \n+VFIO no-IOMMU mode\n+------------------\n+\n+If there is no IOMMU available on the system, VFIO can still be used, but it has\n+to be loaded with an additional module parameter:\n+\n+.. code-block:: console\n+\n+    modprobe vfio enable_unsafe_noiommu_mode=1\n+\n+Alternatively, one can also enable this option in an already loaded kernel module:\n+\n+.. code-block:: console\n+\n+    echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode\n+\n+After that, VFIO can be used with hardware devices as usual.\n+\n .. note::\n \n-    VFIO can be used without IOMMU. While this is unsafe, it does make it possible for the user to keep the degree of device access and programming that VFIO has, in situations where IOMMU is not available.\n+    It may be required to unload all VFIO related-modules before probing the\n+    module again with ``enable_unsafe_noiommu_mode=1`` parameter.\n+\n+.. warning::\n+\n+    Since no-IOMMU mode forgoes IOMMU protection, it is inherently unsafe. That\n+    said, it does make it possible for the user to keep the degree of device\n+    access and programming that VFIO has, in situations where IOMMU is not\n+    available.\n \n UIO\n ---\n",
    "prefixes": [
        "v2",
        "3/4"
    ]
}