get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109810,
    "url": "http://patchwork.dpdk.org/api/patches/109810/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220419055921.10566-6-ndabilpuram@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20220419055921.10566-6-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220419055921.10566-6-ndabilpuram@marvell.com",
    "date": "2022-04-19T05:59:03",
    "name": "[06/24] common/cnxk: skip probing SoC environment for CN9k",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c36339c5da83b6eed11fdf8b95748d7b4d190379",
    "submitter": {
        "id": 1202,
        "url": "http://patchwork.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patchwork.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220419055921.10566-6-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 22546,
            "url": "http://patchwork.dpdk.org/api/series/22546/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22546",
            "date": "2022-04-19T05:58:58",
            "name": "[01/24] common/cnxk: add multi channel support for SDP send queues",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22546/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/109810/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/109810/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 65AF9A00C3;\n\tTue, 19 Apr 2022 08:00:27 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DA928427EF;\n\tTue, 19 Apr 2022 08:00:16 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 50FBC4161A\n for <dev@dpdk.org>; Tue, 19 Apr 2022 08:00:14 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id\n 23INEdMS010013\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:13 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ffwap25vx-2\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 18 Apr 2022 23:00:13 -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.18;\n Mon, 18 Apr 2022 23:00:11 -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.2 via Frontend\n Transport; Mon, 18 Apr 2022 23:00:11 -0700",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id AB38C5B6943;\n Mon, 18 Apr 2022 23:00:08 -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 : in-reply-to : references : mime-version :\n content-type; s=pfpt0220; bh=hnjy/Lex1Vnjp7vFYpYCc6gbTPEgwTJXQ5tQMdBYrfY=;\n b=RcS0BB6+K5p6RDBARoLHfRBUuudXvTgKPwrjPKIj1aNyzlbYqy0FSmyKKa0eTtbI2rgU\n hrYEBSXJdYSR8Zz8dtde0VASpfDv8engtvvgbz88iuzlOK84Oxcs4L8ybMcvUE7QzAan\n eXEJoBAmL2zfCRn/4go6XfRzN8pzfhzNlv4t0BHCabod5SfWG8OqiFgyTh2DFvoUeTah\n fGyXdXNmrvXCCJlsgqZH0sCcKXKxaqIgNbES4BwX59UyDOfFEo0/cZOgq4GDWU8CVNnu\n hftJhxvkDBz4PW+xGPR4Wg8vSouan07QPkW6/Day9X4C2lYmNOIhlW6k/3RiYbVnKXY1 VA==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>",
        "CC": "<dev@dpdk.org>, Rakesh Kudurumalla <rkudurumalla@marvell.com>",
        "Subject": "[PATCH 06/24] common/cnxk: skip probing SoC environment for CN9k",
        "Date": "Tue, 19 Apr 2022 11:29:03 +0530",
        "Message-ID": "<20220419055921.10566-6-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20220419055921.10566-1-ndabilpuram@marvell.com>",
        "References": "<20220419055921.10566-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "kvHy8cPDmLj4FKus86KqUAYZJtCFKCE_",
        "X-Proofpoint-ORIG-GUID": "kvHy8cPDmLj4FKus86KqUAYZJtCFKCE_",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-04-19_02,2022-04-15_01,2022-02-23_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": "From: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n\nSoC run platform file is not present in CN9k so probing\nis done for CN10k devices\n\nSigned-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>\n---\n drivers/common/cnxk/roc_model.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/drivers/common/cnxk/roc_model.c b/drivers/common/cnxk/roc_model.c\nindex 1dd374e..a68baa6 100644\n--- a/drivers/common/cnxk/roc_model.c\n+++ b/drivers/common/cnxk/roc_model.c\n@@ -2,6 +2,9 @@\n  * Copyright(C) 2021 Marvell.\n  */\n \n+#include <fcntl.h>\n+#include <unistd.h>\n+\n #include \"roc_api.h\"\n #include \"roc_priv.h\"\n \n@@ -211,6 +214,12 @@ of_env_get(struct roc_model *model)\n \tuint64_t flag;\n \tFILE *fp;\n \n+\tif (access(path, F_OK) != 0) {\n+\t\tstrncpy(model->env, \"HW_PLATFORM\", ROC_MODEL_STR_LEN_MAX - 1);\n+\t\tmodel->flag |= ROC_ENV_HW;\n+\t\treturn;\n+\t}\n+\n \tfp = fopen(path, \"r\");\n \tif (!fp) {\n \t\tplt_err(\"Failed to open %s\", path);\n",
    "prefixes": [
        "06/24"
    ]
}