get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55525,
    "url": "http://patches.dpdk.org/api/patches/55525/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190628025346.31312-6-xiaoyun.li@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": "<20190628025346.31312-6-xiaoyun.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190628025346.31312-6-xiaoyun.li@intel.com",
    "date": "2019-06-28T02:53:45",
    "name": "[v9,5/6] usertools/dpdk-devbind.py: add support for ntb",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c87ca5c4942ed64492fd515550151de2dd08a6d8",
    "submitter": {
        "id": 798,
        "url": "http://patches.dpdk.org/api/people/798/?format=api",
        "name": "Li, Xiaoyun",
        "email": "xiaoyun.li@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/20190628025346.31312-6-xiaoyun.li@intel.com/mbox/",
    "series": [
        {
            "id": 5211,
            "url": "http://patches.dpdk.org/api/series/5211/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5211",
            "date": "2019-06-28T02:53:40",
            "name": "rawdev driver for ntb",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/5211/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55525/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/55525/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 335875680;\n\tFri, 28 Jun 2019 04:55:21 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 24B512956\n\tfor <dev@dpdk.org>; Fri, 28 Jun 2019 04:54:53 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t27 Jun 2019 19:54:53 -0700",
            "from dpdk-xiaoyun3.sh.intel.com ([10.67.119.190])\n\tby fmsmga001.fm.intel.com with ESMTP; 27 Jun 2019 19:54:52 -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,426,1557212400\"; d=\"scan'208\";a=\"183590608\"",
        "From": "Xiaoyun Li <xiaoyun.li@intel.com>",
        "To": "jingjing.wu@intel.com, keith.wiles@intel.com, cunming.liang@intel.com,\n\tomkar.maslekar@intel.com",
        "Cc": "dev@dpdk.org,\n\tXiaoyun Li <xiaoyun.li@intel.com>",
        "Date": "Fri, 28 Jun 2019 10:53:45 +0800",
        "Message-Id": "<20190628025346.31312-6-xiaoyun.li@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190628025346.31312-1-xiaoyun.li@intel.com>",
        "References": "<20190626071224.4819-1-xiaoyun.li@intel.com>\n\t<20190628025346.31312-1-xiaoyun.li@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v9 5/6] usertools/dpdk-devbind.py: add support\n\tfor ntb",
        "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\nntb_rawdev, we need to update the devbind script to add a new class\nof device, and add device ids for the specific HW instances. And\nonly support skx platform right now.\n\nSigned-off-by: Xiaoyun Li <xiaoyun.li@intel.com>\n---\n usertools/dpdk-devbind.py | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 9e79f0d28..30d75f3f0 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -36,11 +36,15 @@\n octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc',\n               'SVendor': None, 'SDevice': None}\n \n+intel_ntb_skx = {'Class': '06', 'Vendor': '8086', 'Device': '201c',\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_ntb_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 +599,9 @@ 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 \n def parse_args():\n     '''Parses the command-line arguments given by the user and takes the\n@@ -670,6 +677,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 +698,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": [
        "v9",
        "5/6"
    ]
}