get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83918,
    "url": "http://patches.dpdk.org/api/patches/83918/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/35caad93521712ef3dfe1f79fe4acd765f4cad07.1605031542.git.anatoly.burakov@intel.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": "<35caad93521712ef3dfe1f79fe4acd765f4cad07.1605031542.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/35caad93521712ef3dfe1f79fe4acd765f4cad07.1605031542.git.anatoly.burakov@intel.com",
    "date": "2020-11-10T18:09:49",
    "name": "[3/4] doc: add VFIO no-IOMMU Linux GSG section",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d2156ada86e8d60a0115bdacea15f206eb3a1259",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.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/35caad93521712ef3dfe1f79fe4acd765f4cad07.1605031542.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 13785,
            "url": "http://patches.dpdk.org/api/series/13785/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13785",
            "date": "2020-11-10T18:09:48",
            "name": "[1/4] doc: move VFIO driver to be first",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13785/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83918/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/83918/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 73DEAA04DD;\n\tTue, 10 Nov 2020 19:10:29 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9A7AC5AB2;\n\tTue, 10 Nov 2020 19:09:56 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id D91384CA6\n for <dev@dpdk.org>; Tue, 10 Nov 2020 19:09:51 +0100 (CET)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 10:09:48 -0800",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by fmsmga004.fm.intel.com with ESMTP; 10 Nov 2020 10:09:47 -0800"
        ],
        "IronPort-SDR": [
            "\n DDE5E77GZrrCSTGqs5AbPnkvjf0Wi1GnnSXRi0/16KUguRqfnsXlLx0l/hc3AP8Vj4X8do3sS+\n 4DPYJvD31niQ==",
            "\n F3nuRu1Wo+lJo4rlHZ9BxmlEW+6Sqy+hRj4UsGU8/MeQAJhlyepq57gHBAd0z6xqC0tuce0PBY\n BFgDPMz/Wa3g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9801\"; a=\"169240541\"",
            "E=Sophos;i=\"5.77,467,1596524400\"; d=\"scan'208\";a=\"169240541\"",
            "E=Sophos;i=\"5.77,467,1596524400\"; d=\"scan'208\";a=\"356253542\""
        ],
        "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",
        "Date": "Tue, 10 Nov 2020 18:09:49 +0000",
        "Message-Id": "\n <35caad93521712ef3dfe1f79fe4acd765f4cad07.1605031542.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": [
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>",
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>",
            "\n <7d1840b4184bf363e3b9ddaff0683f13b324078a.1605031542.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 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 doc/guides/linux_gsg/linux_drivers.rst | 23 ++++++++++++++++++++++-\n 1 file changed, 22 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst\nindex 34fd2f8652..4148602a63 100644\n--- a/doc/guides/linux_gsg/linux_drivers.rst\n+++ b/doc/guides/linux_gsg/linux_drivers.rst\n@@ -75,9 +75,30 @@ 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_noiomu_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_noiomu_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+    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": [
        "3/4"
    ]
}