get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53412,
    "url": "http://patches.dpdk.org/api/patches/53412/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1557863143-174842-6-git-send-email-nicolas.chautru@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": "<1557863143-174842-6-git-send-email-nicolas.chautru@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1557863143-174842-6-git-send-email-nicolas.chautru@intel.com",
    "date": "2019-05-14T19:45:43",
    "name": "[v2,5/5] usertools: update to usertool for baseband device",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "befd20a445418469b19b9d8e8f18d83ccf777c31",
    "submitter": {
        "id": 1314,
        "url": "http://patches.dpdk.org/api/people/1314/?format=api",
        "name": "Chautru, Nicolas",
        "email": "nicolas.chautru@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1557863143-174842-6-git-send-email-nicolas.chautru@intel.com/mbox/",
    "series": [
        {
            "id": 4657,
            "url": "http://patches.dpdk.org/api/series/4657/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4657",
            "date": "2019-05-14T19:45:38",
            "name": "BBDEV PMD Drivers Extension for 19.08",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4657/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/53412/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/53412/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 E8E785F20;\n\tTue, 14 May 2019 21:46:27 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id B1EBC5F13\n\tfor <dev@dpdk.org>; Tue, 14 May 2019 21:46:25 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t14 May 2019 12:46:24 -0700",
            "from skx-5gnr-sd5.sc.intel.com ([172.25.69.194])\n\tby orsmga003.jf.intel.com with ESMTP; 14 May 2019 12:46:24 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Nicolas Chautru <nicolas.chautru@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org,\n\tNicolas Chautru <nicolas.chautru@intel.com>",
        "Date": "Tue, 14 May 2019 12:45:43 -0700",
        "Message-Id": "<1557863143-174842-6-git-send-email-nicolas.chautru@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1557863143-174842-1-git-send-email-nicolas.chautru@intel.com>",
        "References": "<1557533163-172544-1-git-send-email-nicolas.chautru@intel.com>\n\t<1557863143-174842-1-git-send-email-nicolas.chautru@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/5] usertools: update to usertool for\n\tbaseband device",
        "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": "Allows binding of baseband devices\n\nSigned-off-by: Nicolas Chautru <nicolas.chautru@intel.com>\n---\n usertools/dpdk-devbind.py | 10 +++++++++-\n usertools/dpdk-setup.sh   |  6 +++---\n 2 files changed, 12 insertions(+), 4 deletions(-)\n mode change 100755 => 100644 usertools/dpdk-devbind.py\n mode change 100755 => 100644 usertools/dpdk-setup.sh",
    "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nold mode 100755\nnew mode 100644\nindex 9e79f0d..a6ee8f9\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -18,6 +18,8 @@\n                    'SVendor': None, 'SDevice': None}\n intel_processor_class = {'Class': '0b', 'Vendor': '8086', 'Device': None,\n                    'SVendor': None, 'SDevice': None}\n+acceleration_class = {'Class': '12', 'Vendor': None, 'Device': None,\n+               'SVendor': None, 'SDevice': None}\n cavium_sso = {'Class': '08', 'Vendor': '177d', 'Device': 'a04b,a04d',\n               'SVendor': None, 'SDevice': None}\n cavium_fpa = {'Class': '08', 'Vendor': '177d', 'Device': 'a053',\n@@ -40,6 +42,7 @@\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+baseband_devices = [acceleration_class]\n compress_devices = [cavium_zip]\n \n # global dict ethernet devices present. Dictionary indexed by PCI address.\n@@ -89,7 +92,7 @@ def usage():\n \n     --status-dev:\n         Print the status of given device group. Supported device groups are:\n-        \"net\", \"crypto\", \"event\", \"mempool\" and \"compress\"\n+        \"net\", \"crypto\", \"baseband\", \"event\", \"mempool\" and \"compress\"\n \n     -b driver, --bind=driver:\n         Select the driver to use or \\\"none\\\" to unbind the device\n@@ -586,6 +589,9 @@ def show_status():\n     if status_dev == \"crypto\" or status_dev == \"all\":\n         show_device_status(crypto_devices, \"Crypto\")\n \n+    if status_dev == \"baseband\" or status_dev == \"all\":\n+        show_device_status(baseband_devices, \"Baseband\")\n+\n     if status_dev == \"event\" or status_dev == \"all\":\n         show_device_status(eventdev_devices, \"Eventdev\")\n \n@@ -667,6 +673,7 @@ def do_arg_actions():\n             # refresh if we have changed anything\n             get_device_details(network_devices)\n             get_device_details(crypto_devices)\n+            get_device_details(baseband_devices)\n             get_device_details(eventdev_devices)\n             get_device_details(mempool_devices)\n             get_device_details(compress_devices)\n@@ -688,6 +695,7 @@ def main():\n     get_device_details(network_devices)\n     get_device_details(crypto_devices)\n     get_device_details(eventdev_devices)\n+    get_device_details(baseband_devices)\n     get_device_details(mempool_devices)\n     get_device_details(compress_devices)\n     do_arg_actions()\ndiff --git a/usertools/dpdk-setup.sh b/usertools/dpdk-setup.sh\nold mode 100755\nnew mode 100644\nindex d008074..15f91b8\n--- a/usertools/dpdk-setup.sh\n+++ b/usertools/dpdk-setup.sh\n@@ -496,13 +496,13 @@ step2_func()\n \tTEXT[5]=\"Setup hugepage mappings for NUMA systems\"\n \tFUNC[5]=\"set_numa_pages\"\n \n-\tTEXT[6]=\"Display current Ethernet/Crypto device settings\"\n+\tTEXT[6]=\"Display current Ethernet/Crypto/Baseband device settings\"\n \tFUNC[6]=\"show_devices\"\n \n-\tTEXT[7]=\"Bind Ethernet/Crypto device to IGB UIO module\"\n+\tTEXT[7]=\"Bind Ethernet/Crypto/Baseband device to IGB UIO module\"\n \tFUNC[7]=\"bind_devices_to_igb_uio\"\n \n-\tTEXT[8]=\"Bind Ethernet/Crypto device to VFIO module\"\n+\tTEXT[8]=\"Bind Ethernet/Crypto/Baseband device to VFIO module\"\n \tFUNC[8]=\"bind_devices_to_vfio\"\n \n \tTEXT[9]=\"Setup VFIO permissions\"\n",
    "prefixes": [
        "v2",
        "5/5"
    ]
}