get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125076,
    "url": "http://patches.dpdk.org/api/patches/125076/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230313172349.11716-1-syalavarthi@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": "<20230313172349.11716-1-syalavarthi@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230313172349.11716-1-syalavarthi@marvell.com",
    "date": "2023-03-13T17:23:49",
    "name": "[1/1] usertools/devbind: add ml device class",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "92d74f0210a2c3b4acbb20ee5b87d01429ee7b18",
    "submitter": {
        "id": 2480,
        "url": "http://patches.dpdk.org/api/people/2480/?format=api",
        "name": "Srikanth Yalavarthi",
        "email": "syalavarthi@marvell.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/20230313172349.11716-1-syalavarthi@marvell.com/mbox/",
    "series": [
        {
            "id": 27365,
            "url": "http://patches.dpdk.org/api/series/27365/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27365",
            "date": "2023-03-13T17:23:49",
            "name": "[1/1] usertools/devbind: add ml device class",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27365/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/125076/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/125076/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 1225E41E86;\n\tMon, 13 Mar 2023 18:23:56 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 01FFE40E03;\n\tMon, 13 Mar 2023 18:23:56 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id D69B4406BC\n for <dev@dpdk.org>; Mon, 13 Mar 2023 18:23:54 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 32DGZVLl002414 for <dev@dpdk.org>; Mon, 13 Mar 2023 10:23:54 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3p8t1t6cgn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 13 Mar 2023 10:23:53 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Mon, 13 Mar 2023 10:23:51 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Mon, 13 Mar 2023 10:23:51 -0700",
            "from ml-host-33.caveonetworks.com (unknown [10.110.143.233])\n by maili.marvell.com (Postfix) with ESMTP id B918B3F705A;\n Mon, 13 Mar 2023 10:23:50 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-type; s=pfpt0220;\n bh=9HLFIzKXYxUQWPBhRgIldLmm+na3JboKRrTWErkxmGg=;\n b=CzEUM4SCgt98E5a14E3Zc2l4I/OptFCBhYwKa7laobKokOBMqwvu6nD7ev7IOgPs0b0b\n myYRfuEfI0ePjWfT3tJPFDnvAROR3IEUA1wgjPx0PdpGWo+S58P1d68KjkMHBw8TDpYj\n l8/qSieKtPS0ZEya6ciq6811LsAvJKeEVov0pMv/ZthXtS3fs4PqLW/xrCYy+NO6hOYr\n GP5iKm/qClyweDqSGpa/y17O+SkDHFDr5BbhdW4UQsXGDlwRPy15QHReXjYg/W+q/HAu\n Jmtb68+CSMEctJOShO3Gcdze7vEeTiuhGe/jxsZN2r9RuZwyu65oyw1l+ubGzPem/ms8 8A==",
        "From": "Srikanth Yalavarthi <syalavarthi@marvell.com>",
        "To": "",
        "CC": "<dev@dpdk.org>, <syalavarthi@marvell.com>, <sshankarnara@marvell.com>,\n <jerinj@marvell.com>",
        "Subject": "[PATCH 1/1] usertools/devbind: add ml device class",
        "Date": "Mon, 13 Mar 2023 10:23:49 -0700",
        "Message-ID": "<20230313172349.11716-1-syalavarthi@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "NLPkWkzoBf8CJdvgkkRLK_YNbmfucsKC",
        "X-Proofpoint-ORIG-GUID": "NLPkWkzoBf8CJdvgkkRLK_YNbmfucsKC",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22\n definitions=2023-03-13_08,2023-03-13_02,2023-02-09_01",
        "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"
    },
    "content": "Added new ML device class and support for cnxk ML device.\n\nSigned-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>\n---\n usertools/dpdk-devbind.py | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py\nindex 4d9c1be666..a278f5e7f3 100755\n--- a/usertools/dpdk-devbind.py\n+++ b/usertools/dpdk-devbind.py\n@@ -75,6 +75,9 @@\n virtio_blk = {'Class': '01', 'Vendor': \"1af4\", 'Device': '1001,1042',\n                     'SVendor': None, 'SDevice': None}\n \n+cnxk_ml = {'Class': '08', 'Vendor': '177d', 'Device': 'a092',\n+            'SVendor': None, 'SDevice': None}\n+\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@@ -84,6 +87,7 @@\n mempool_devices = [cavium_fpa, cnxk_npa]\n compress_devices = [cavium_zip]\n regex_devices = [cn9k_ree]\n+ml_devices = [cnxk_ml]\n misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev,\n                 intel_ntb_skx, intel_ntb_icx,\n                 virtio_blk]\n@@ -618,6 +622,9 @@ def show_status():\n     if status_dev in [\"regex\", \"all\"]:\n         show_device_status(regex_devices, \"Regex\")\n \n+    if status_dev in [\"ml\", \"all\"]:\n+        show_device_status(ml_devices, \"ML\")\n+\n \n def pci_glob(arg):\n     '''Returns a list containing either:\n@@ -672,7 +679,7 @@ def parse_args():\n         '--status-dev',\n         help=\"Print the status of given device group.\",\n         choices=['baseband', 'compress', 'crypto', 'dma', 'event',\n-                 'mempool', 'misc', 'net', 'regex'])\n+                 'mempool', 'misc', 'net', 'regex', 'ml'])\n     bind_group = parser.add_mutually_exclusive_group()\n     bind_group.add_argument(\n         '-b',\n@@ -758,6 +765,7 @@ def do_arg_actions():\n             get_device_details(mempool_devices)\n             get_device_details(compress_devices)\n             get_device_details(regex_devices)\n+            get_device_details(ml_devices)\n             get_device_details(misc_devices)\n         show_status()\n \n@@ -781,6 +789,7 @@ def main():\n     get_device_details(mempool_devices)\n     get_device_details(compress_devices)\n     get_device_details(regex_devices)\n+    get_device_details(ml_devices)\n     get_device_details(misc_devices)\n     do_arg_actions()\n \n",
    "prefixes": [
        "1/1"
    ]
}