get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 97896,
    "url": "https://patches.dpdk.org/api/patches/97896/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210903105001.1179328-16-kevin.laatz@intel.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": "<20210903105001.1179328-16-kevin.laatz@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210903105001.1179328-16-kevin.laatz@intel.com",
    "date": "2021-09-03T10:50:00",
    "name": "[v2,15/16] devbind: add dma device class",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ed87079152f4e16bd530790a340f1e28b579927a",
    "submitter": {
        "id": 921,
        "url": "https://patches.dpdk.org/api/people/921/?format=api",
        "name": "Kevin Laatz",
        "email": "kevin.laatz@intel.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/20210903105001.1179328-16-kevin.laatz@intel.com/mbox/",
    "series": [
        {
            "id": 18658,
            "url": "https://patches.dpdk.org/api/series/18658/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18658",
            "date": "2021-09-03T10:49:45",
            "name": "add dmadev driver for idxd devices",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/18658/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/97896/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/97896/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B18E9A0C54;\n\tFri,  3 Sep 2021 12:51:44 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9EB664116E;\n\tFri,  3 Sep 2021 12:50:40 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 1A17741163\n for <dev@dpdk.org>; Fri,  3 Sep 2021 12:50:38 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Sep 2021 03:50:38 -0700",
            "from silpixa00401122.ir.intel.com ([10.55.128.10])\n by fmsmga004.fm.intel.com with ESMTP; 03 Sep 2021 03:50:37 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10095\"; a=\"216247410\"",
            "E=Sophos;i=\"5.85,265,1624345200\"; d=\"scan'208\";a=\"216247410\"",
            "E=Sophos;i=\"5.85,265,1624345200\"; d=\"scan'208\";a=\"521643685\""
        ],
        "X-ExtLoop1": "1",
        "From": "Kevin Laatz <kevin.laatz@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, fengchengwen@huawei.com, jerinj@marvell.com,\n conor.walsh@intel.com, Kevin Laatz <kevin.laatz@intel.com>",
        "Date": "Fri,  3 Sep 2021 10:50:00 +0000",
        "Message-Id": "<20210903105001.1179328-16-kevin.laatz@intel.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210903105001.1179328-1-kevin.laatz@intel.com>",
        "References": "<20210827172048.558704-1-kevin.laatz@intel.com>\n <20210903105001.1179328-1-kevin.laatz@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 15/16] devbind: add dma device class",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add a new class for DMA devices. Devices listed under the DMA class are to\nbe used with the dmadev library.\n\nSigned-off-by: Kevin Laatz <kevin.laatz@intel.com>\n---\n usertools/dpdk-devbind.py | 12 +++++++++---\n 1 file changed, 9 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 74d16e4c4b..8bb573f4b0 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -69,12 +69,13 @@\n network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]\n baseband_devices = [acceleration_class]\n crypto_devices = [encryption_class, intel_processor_class]\n+dma_devices = []\n eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, octeontx2_sso]\n mempool_devices = [cavium_fpa, octeontx2_npa]\n compress_devices = [cavium_zip]\n regex_devices = [octeontx2_ree]\n-misc_devices = [cnxk_bphy, cnxk_bphy_cgx, intel_ioat_bdw, intel_ioat_skx, intel_ioat_icx, intel_idxd_spr,\n-                intel_ntb_skx, intel_ntb_icx,\n+misc_devices = [cnxk_bphy, cnxk_bphy_cgx, intel_ioat_bdw, intel_ioat_skx,\n+                intel_ioat_icx, intel_idxd_spr, intel_ntb_skx, intel_ntb_icx,\n                 octeontx2_dma]\n \n # global dict ethernet devices present. Dictionary indexed by PCI address.\n@@ -583,6 +584,9 @@ def show_status():\n     if status_dev in [\"crypto\", \"all\"]:\n         show_device_status(crypto_devices, \"Crypto\")\n \n+    if status_dev in [\"dma\", \"all\"]:\n+        show_device_status(dma_devices, \"DMA\")\n+\n     if status_dev in [\"event\", \"all\"]:\n         show_device_status(eventdev_devices, \"Eventdev\")\n \n@@ -651,7 +655,7 @@ def parse_args():\n     parser.add_argument(\n         '--status-dev',\n         help=\"Print the status of given device group.\",\n-        choices=['baseband', 'compress', 'crypto', 'event',\n+        choices=['baseband', 'compress', 'crypto', 'dma', 'event',\n                 'mempool', 'misc', 'net', 'regex'])\n     bind_group = parser.add_mutually_exclusive_group()\n     bind_group.add_argument(\n@@ -732,6 +736,7 @@ def do_arg_actions():\n             get_device_details(network_devices)\n             get_device_details(baseband_devices)\n             get_device_details(crypto_devices)\n+            get_device_details(dma_devices)\n             get_device_details(eventdev_devices)\n             get_device_details(mempool_devices)\n             get_device_details(compress_devices)\n@@ -754,6 +759,7 @@ def main():\n     get_device_details(network_devices)\n     get_device_details(baseband_devices)\n     get_device_details(crypto_devices)\n+    get_device_details(dma_devices)\n     get_device_details(eventdev_devices)\n     get_device_details(mempool_devices)\n     get_device_details(compress_devices)\n",
    "prefixes": [
        "v2",
        "15/16"
    ]
}