get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 134533,
    "url": "http://patches.dpdk.org/api/patches/134533/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231122163640.615-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": "<20231122163640.615-1-syalavarthi@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231122163640.615-1-syalavarthi@marvell.com",
    "date": "2023-11-22T16:36:40",
    "name": "[1/1] ml/cnxk: fix name of TVM model with single layer",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a94964e35cd793a47c72ff0dbb1b4d7ff4408abf",
    "submitter": {
        "id": 2480,
        "url": "http://patches.dpdk.org/api/people/2480/?format=api",
        "name": "Srikanth Yalavarthi",
        "email": "syalavarthi@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231122163640.615-1-syalavarthi@marvell.com/mbox/",
    "series": [
        {
            "id": 30359,
            "url": "http://patches.dpdk.org/api/series/30359/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30359",
            "date": "2023-11-22T16:36:40",
            "name": "[1/1] ml/cnxk: fix name of TVM model with single layer",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/30359/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/134533/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/134533/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 EBA9443382;\n\tWed, 22 Nov 2023 17:36:49 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B58664028C;\n\tWed, 22 Nov 2023 17:36:49 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 345DA40265\n for <dev@dpdk.org>; Wed, 22 Nov 2023 17:36:48 +0100 (CET)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 3AMBjYpN014314 for <dev@dpdk.org>; Wed, 22 Nov 2023 08:36:47 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uh1jbc8a0-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 22 Nov 2023 08:36:47 -0800",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 22 Nov 2023 08:36:45 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Wed, 22 Nov 2023 08:36:45 -0800",
            "from ml-host-33.caveonetworks.com (unknown [10.110.143.233])\n by maili.marvell.com (Postfix) with ESMTP id 696873F703F;\n Wed, 22 Nov 2023 08:36:45 -0800 (PST)"
        ],
        "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-transfer-encoding :\n content-type; s=pfpt0220; bh=i3ksB2Z/wTZ7Z7nz62Ii/slorYdjFBR0AYAeZo1jsk0=;\n b=jdBhp55+rTHAug0wfA9Enkqy0nqTvMxRCJ6WP7lObF1NBkIV4JR1SNmJyyno0NjY/Ye1\n Z0HqFtZzcd/f+rqSJQwP6UKHNeaDDnUfhw4PRVsdadzv9IdqL4hM4dHFko5RO6bjqY2F\n v09AL6z4D2AxAeY3JZ7XPM7wS9M7DKKDUd8SCA5uRpr/Y+lBvjdxZ23j6M9kY6mxpHid\n ztHaSELOOrcrI7RXXQEEgG3vijJJ01oz0WvSs6H9tH3KJCPCkBqzoV7A+kXPBiaAYXuM\n V3yckJ1BNyCVuOcMXb2PCRRsHAlDKBLelFWQTVFKf83QCI959oR1DekGexnkSOFeBHCO kQ==",
        "From": "Srikanth Yalavarthi <syalavarthi@marvell.com>",
        "To": "Srikanth Yalavarthi <syalavarthi@marvell.com>, Prince Takkar\n <ptakkar@marvell.com>",
        "CC": "<dev@dpdk.org>, <sshankarnara@marvell.com>, <aprabhu@marvell.com>,\n <jerinj@marvell.com>",
        "Subject": "[PATCH 1/1] ml/cnxk: fix name of TVM model with single layer",
        "Date": "Wed, 22 Nov 2023 08:36:40 -0800",
        "Message-ID": "<20231122163640.615-1-syalavarthi@marvell.com>",
        "X-Mailer": "git-send-email 2.42.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "EfIr2U-BfYV42JTlHkUM5HH8GQ63Gf2o",
        "X-Proofpoint-GUID": "EfIr2U-BfYV42JTlHkUM5HH8GQ63Gf2o",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-11-22_12,2023-11-22_01,2023-05-22_02",
        "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": "Name field of TVM model with single MRVL layer is\ncurrently set to empty string. Update the name with\nthe field from metadata.\n\nFixes: 5cea2c67edfc (\"ml/cnxk: update internal TVM model info structure\")\n\nSigned-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>\n---\n drivers/ml/cnxk/mvtvm_ml_model.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/ml/cnxk/mvtvm_ml_model.c b/drivers/ml/cnxk/mvtvm_ml_model.c\nindex 3e06ea658bb..102d30e5f4f 100644\n--- a/drivers/ml/cnxk/mvtvm_ml_model.c\n+++ b/drivers/ml/cnxk/mvtvm_ml_model.c\n@@ -352,6 +352,10 @@ mvtvm_ml_model_info_set(struct cnxk_ml_dev *cnxk_mldev, struct cnxk_ml_model *mo\n tvm_mrvl_model:\n \tcn10k_ml_model_info_set(cnxk_mldev, model, &model->mvtvm.info,\n \t\t\t\t&model->layer[0].glow.metadata);\n+\n+\tmetadata = &model->mvtvm.metadata;\n+\trte_memcpy(info->name, metadata->model.name, TVMDP_NAME_STRLEN);\n+\n \tinfo->io_layout = RTE_ML_IO_LAYOUT_SPLIT;\n }\n \n",
    "prefixes": [
        "1/1"
    ]
}