get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54009,
    "url": "http://patches.dpdk.org/api/patches/54009/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190601182030.8282-9-jerinj@marvell.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": "<20190601182030.8282-9-jerinj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190601182030.8282-9-jerinj@marvell.com",
    "date": "2019-06-01T18:20:29",
    "name": "[v1,8/9] usertools: add octeontx2 DMA device",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b349fcc931ef0b6b6fbcbcba554b1cb389345eae",
    "submitter": {
        "id": 1188,
        "url": "http://patches.dpdk.org/api/people/1188/?format=api",
        "name": "Jerin Jacob Kollanukkaran",
        "email": "jerinj@marvell.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190601182030.8282-9-jerinj@marvell.com/mbox/",
    "series": [
        {
            "id": 4846,
            "url": "http://patches.dpdk.org/api/series/4846/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4846",
            "date": "2019-06-01T18:20:21",
            "name": "OCTEON TX2 DMA driver",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4846/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54009/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/54009/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 2F7E31B9A3;\n\tSat,  1 Jun 2019 20:20:43 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n\t[67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6899B1B99E\n\tfor <dev@dpdk.org>; Sat,  1 Jun 2019 20:20:42 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n\tby mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id\n\tx51IK66n003558 for <dev@dpdk.org>; Sat, 1 Jun 2019 11:20:41 -0700",
            "from sc-exch04.marvell.com ([199.233.58.184])\n\tby mx0b-0016f401.pphosted.com with ESMTP id 2survk101m-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n\tfor <dev@dpdk.org>; Sat, 01 Jun 2019 11:20:41 -0700",
            "from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com\n\t(10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tSat, 1 Jun 2019 11:20:40 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Sat, 1 Jun 2019 11:20:40 -0700",
            "from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14])\n\tby maili.marvell.com (Postfix) with ESMTP id BA6E63F703F;\n\tSat,  1 Jun 2019 11:20:39 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-transfer-encoding : content-type; s=pfpt0818;\n\tbh=UhhyrhBZUbhDnUnwfk5UJbSbYdp9I2ZJN3hWks9mJok=;\n\tb=vyPSKiEHiibK/fSVnsd78XYz5u9uMZv3A7pf3OkZMfrH2X4B6185Kn0mm3Q5lsGfvn0m\n\t8CkmGqDohpKePpmYvniV9nElGLSxO9uHSdVYe/J+rYFudrkYRhAidMQ8tBnh99s9HM/o\n\tAsUaGfrfk+VwPzEwS1jF+uXjFgfZ4vDjOre9T9l6Rgz+mX81KUqpIGfHGTi7yzqducyN\n\tfkEbKg5aeUVBT5g4JTLqTIhnN1s+9o4efjNUmefB5T0sQM/hVMj/j2dz6rplyeXvVBCY\n\t81UwnVlWpPuxIC+BwuOL93pjyc/OmIaovxpoQH26scmd82frTrlP7HrBSrmjqA6s7ExG\n\tPQ== ",
        "From": "<jerinj@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<skoteshwar@marvell.com>, Vamsi Attunuru <vattunuru@marvell.com>",
        "Date": "Sat, 1 Jun 2019 23:50:29 +0530",
        "Message-ID": "<20190601182030.8282-9-jerinj@marvell.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190601182030.8282-1-jerinj@marvell.com>",
        "References": "<20190601182030.8282-1-jerinj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:, ,\n\tdefinitions=2019-06-01_13:, , signatures=0",
        "Subject": "[dpdk-dev]  [PATCH v1 8/9] usertools: add octeontx2 DMA 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": "From: Satha Rao <skoteshwar@marvell.com>\n\nUpdate the devbind script with new section of DMA devices, also\nadded OCTEONTX2 DMA device ID to DMA device list\n\nSigned-off-by: Satha Rao <skoteshwar@marvell.com>\nSigned-off-by: Vamsi Attunuru <vattunuru@marvell.com>\n---\n usertools/dpdk-devbind.py | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 9e79f0d28..99bbfc5d3 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -35,12 +35,15 @@\n               'SVendor': None, 'SDevice': None}\n octeontx2_npa = {'Class': '08', 'Vendor': '177d', 'Device': 'a0fb,a0fc',\n               'SVendor': None, 'SDevice': None}\n+octeontx2_dma = {'Class': '08', 'Vendor': '177d', 'Device': 'a081',\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+dma_devices = [octeontx2_dma]\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 +598,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 == \"dma\" or status_dev == \"all\":\n+        show_device_status(dma_devices , \"DMA\")\n+\n \n def parse_args():\n     '''Parses the command-line arguments given by the user and takes the\n@@ -670,6 +676,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(dma_devices)\n         show_status()\n \n \n@@ -690,6 +697,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(dma_devices)\n     do_arg_actions()\n \n if __name__ == \"__main__\":\n",
    "prefixes": [
        "v1",
        "8/9"
    ]
}