get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55466,
    "url": "http://patches.dpdk.org/api/patches/55466/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190627104055.8244-3-bruce.richardson@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": "<20190627104055.8244-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190627104055.8244-3-bruce.richardson@intel.com",
    "date": "2019-06-27T10:40:49",
    "name": "[v3,2/8] usertools/dpdk-devbind.py: add support for IOAT devices",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "be70dc049b581933492788a7bcde7532c33f78fd",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@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/20190627104055.8244-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 5195,
            "url": "http://patches.dpdk.org/api/series/5195/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5195",
            "date": "2019-06-27T10:40:47",
            "name": "raw/ioat: driver for Intel QuickData Technology",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/5195/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55466/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55466/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 DB0CF2BB5;\n\tThu, 27 Jun 2019 12:41:09 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 652B31E20\n\tfor <dev@dpdk.org>; Thu, 27 Jun 2019 12:41:06 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Jun 2019 03:41:06 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby orsmga008.jf.intel.com with ESMTP; 27 Jun 2019 03:41:04 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,423,1557212400\"; d=\"scan'208\";a=\"156198717\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, jerinj@marvell.com,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Thu, 27 Jun 2019 11:40:49 +0100",
        "Message-Id": "<20190627104055.8244-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190627104055.8244-1-bruce.richardson@intel.com>",
        "References": "<20190530212525.40370-1-bruce.richardson@intel.com>\n\t<20190627104055.8244-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 2/8] usertools/dpdk-devbind.py: add support\n\tfor IOAT devices",
        "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": "In order to allow binding/unbinding of devices for use by the\nioat_rawdev, we need to update the devbind script to add a new class\nof device, and add device ids for the specific HW instances.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n\n---\n\nV2: rather than adding a DMA section, add to \"misc (rawdev)\" section where\n    other device types, e.g. ntb can also do.\n\nNOTE: this set largely overlaps with the equivalent changes made by the\npatchset adding NTB support [1]. Since it's unclear which set will be added\nfirst, this set is based off the latest head.\n\n[1] http://patches.dpdk.org/patch/55127/\n---\n doc/guides/rawdevs/ioat_rawdev.rst | 11 +++++++++++\n usertools/dpdk-devbind.py          | 10 ++++++++++\n 2 files changed, 21 insertions(+)",
    "diff": "diff --git a/doc/guides/rawdevs/ioat_rawdev.rst b/doc/guides/rawdevs/ioat_rawdev.rst\nindex 0c612e73a..1a4b0e03e 100644\n--- a/doc/guides/rawdevs/ioat_rawdev.rst\n+++ b/doc/guides/rawdevs/ioat_rawdev.rst\n@@ -61,3 +61,14 @@ configurations.\n \n For builds using ``meson`` and ``ninja``, the driver will be built when the\n target platform is x86-based.\n+\n+Device Setup\n+-------------\n+\n+The Intel\\ |reg| QuickData Technology HW devices will need to be bound to a\n+user-space IO driver for use. The script ``dpdk-devbind.py`` script\n+included with DPDK can be used to view the state of the devices and to bind\n+them to a suitable DPDK-supported kernel driver. When querying the status\n+of the devices, they will appear under the category of \"Misc (rawdev)\n+devices\", i.e. the command ``dpdk-devbind.py --status-dev misc`` can be\n+used to see the state of those devices alone.\ndiff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 9e79f0d28..5c1cd3548 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -36,11 +36,17 @@\n octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc',\n               'SVendor': None, 'SDevice': None}\n \n+intel_ioat_bdw = {'Class': '08', 'Vendor': '8086', 'Device': '6f20,6f21,6f22,6f23,6f24,6f25,6f26,6f27,6f2e,6f2f',\n+              'SVendor': None, 'SDevice': None}\n+intel_ioat_skx = {'Class': '08', 'Vendor': '8086', 'Device': '2021',\n+              'SVendor': None, 'SDevice': None}\n+\n network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]\n crypto_devices = [encryption_class, intel_processor_class]\n eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]\n mempool_devices = [cavium_fpa, octeontx2_npa]\n compress_devices = [cavium_zip]\n+misc_devices = [intel_ioat_bdw, intel_ioat_skx]\n \n # global dict ethernet devices present. Dictionary indexed by PCI address.\n # Each device within this is itself a dictionary of device properties\n@@ -595,6 +601,8 @@ def show_status():\n     if status_dev == \"compress\" or status_dev == \"all\":\n         show_device_status(compress_devices , \"Compress\")\n \n+    if status_dev == \"misc\" or status_dev == \"all\":\n+        show_device_status(misc_devices, \"Misc (rawdev)\")\n \n def parse_args():\n     '''Parses the command-line arguments given by the user and takes the\n@@ -670,6 +678,7 @@ def do_arg_actions():\n             get_device_details(eventdev_devices)\n             get_device_details(mempool_devices)\n             get_device_details(compress_devices)\n+            get_device_details(misc_devices)\n         show_status()\n \n \n@@ -690,6 +699,7 @@ def main():\n     get_device_details(eventdev_devices)\n     get_device_details(mempool_devices)\n     get_device_details(compress_devices)\n+    get_device_details(misc_devices)\n     do_arg_actions()\n \n if __name__ == \"__main__\":\n",
    "prefixes": [
        "v3",
        "2/8"
    ]
}