get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45285,
    "url": "https://patches.dpdk.org/api/patches/45285/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537858464-24913-1-git-send-email-tone.zhang@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1537858464-24913-1-git-send-email-tone.zhang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537858464-24913-1-git-send-email-tone.zhang@arm.com",
    "date": "2018-09-25T06:54:24",
    "name": "[v5] doc: Clarify IOMMU usage with \"uio_pci_generic\" kernel module",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "96b0428000e9edc6c03a3ac8bed4fe4aaf34bc37",
    "submitter": {
        "id": 1116,
        "url": "https://patches.dpdk.org/api/people/1116/?format=api",
        "name": "tone.zhang",
        "email": "tone.zhang@arm.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1537858464-24913-1-git-send-email-tone.zhang@arm.com/mbox/",
    "series": [
        {
            "id": 1480,
            "url": "https://patches.dpdk.org/api/series/1480/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1480",
            "date": "2018-09-25T06:54:24",
            "name": "[v5] doc: Clarify IOMMU usage with \"uio_pci_generic\" kernel module",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/1480/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45285/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45285/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0081B1E34;\n\tTue, 25 Sep 2018 08:54:37 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 0F4FE1AFF\n\tfor <dev@dpdk.org>; Tue, 25 Sep 2018 08:54:34 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E44427A9;\n\tMon, 24 Sep 2018 23:54:33 -0700 (PDT)",
            "from wls-arm-softiron03.shanghai.arm.com\n\t(wls-arm-softiron03.shanghai.arm.com [10.169.40.43])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t9E0843F5B7; Mon, 24 Sep 2018 23:54:32 -0700 (PDT)"
        ],
        "From": "\"tone.zhang\" <tone.zhang@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "gavin.hu@arm.com, bruce.richardson@intel.com, bluca@debian.org,\n\troszenrami@gmail.com, Honnappa.Nagarahalli@arm.com, nd@arm.com",
        "Date": "Tue, 25 Sep 2018 14:54:24 +0800",
        "Message-Id": "<1537858464-24913-1-git-send-email-tone.zhang@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1537499262-22644-1-git-send-email-tone.zhang@arm.com>",
        "References": "<1537499262-22644-1-git-send-email-tone.zhang@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v5] doc: Clarify IOMMU usage with\n\t\"uio_pci_generic\" kernel module",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "If the devices used for DPDK are bound to the \"uio_pci_generic\" kernel\nmodule, the IOMMU should be disabled in order not to break the IO\ntransmission because of the virtual / physical address mapping.\n\nThe patch clarifies the IOMMU configurations on both x86_64 and arm64\nsystems.\n\nSigned-off-by: tone.zhang <tone.zhang@arm.com>\n---\n doc/guides/linux_gsg/linux_drivers.rst | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst\nindex 371a817..8da6a31 100644\n--- a/doc/guides/linux_gsg/linux_drivers.rst\n+++ b/doc/guides/linux_gsg/linux_drivers.rst\n@@ -48,6 +48,13 @@ be loaded as shown below:\n    ``vfio-pci`` kernel module rather than ``igb_uio`` or ``uio_pci_generic``.\n    For more details see :ref:`linux_gsg_binding_kernel` below.\n \n+.. note::\n+\n+   If the devices used for DPDK are bound to the ``uio_pci_generic`` kernel module,\n+   please make sure that the IOMMU is disabled or passthrough. One can add\n+   ``intel_iommu=off`` or ``amd_iommu=off`` or ``intel_iommu=on iommu=pt``in GRUB\n+   command line on x86_64 systems, or add ``iommu.passthrough=1`` on arm64 system.\n+\n Since DPDK release 1.7 onward provides VFIO support, use of UIO is optional\n for platforms that support using VFIO.\n \n",
    "prefixes": [
        "v5"
    ]
}