get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 124770,
    "url": "http://patches.dpdk.org/api/patches/124770/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230303081013.589868-13-ndabilpuram@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": "<20230303081013.589868-13-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230303081013.589868-13-ndabilpuram@marvell.com",
    "date": "2023-03-03T08:10:11",
    "name": "[13/15] common/cnxk: add RSS error messages on mbox failure",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "58fc67542df05039482f8a9587fb343a68647d20",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@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/20230303081013.589868-13-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 27237,
            "url": "http://patches.dpdk.org/api/series/27237/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27237",
            "date": "2023-03-03T08:09:59",
            "name": "[01/15] net/cnxk: resolve sefgault caused during transmit completion",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/27237/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/124770/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/124770/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 82A3741DC3;\n\tFri,  3 Mar 2023 09:12:17 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DBB7E42D48;\n\tFri,  3 Mar 2023 09:11:31 +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 09DC742BAC\n for <dev@dpdk.org>; Fri,  3 Mar 2023 09:11:29 +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 32373jYB024813; Fri, 3 Mar 2023 00:11:29 -0800",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3p2vg53dvf-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 03 Mar 2023 00:11:28 -0800",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Fri, 3 Mar 2023 00:11:27 -0800",
            "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; Fri, 3 Mar 2023 00:11:27 -0800",
            "from hyd1588t430.caveonetworks.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 58C5F5B6983;\n Fri,  3 Mar 2023 00:11:21 -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 : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=BCppNMSxEGt4PjEbkEOmpUgzsb4qKlPMPycVeB/nN+w=;\n b=DN/O2qsOebZJMFsfyuLQLYFai1gPJrb3rMQrvO0ayf+oYdn1SWs0IQGdxoB4h3g+6wv/\n LndaUfWVCgKxUGQtsFA+dRL5tDbA9+wsJ7OEqNPss6MIxEn4rL+MQjdRQlO/KQkKfDTJ\n KSmYsN2u6QTSpXqspLSTK6kuD8py4yoi5Zb23RokjX5QAM+UdeIL54bW2a8vOee+CxCi\n 4ZCXeGdzWzIpz7+El1W01iyexKFTe8jvHUOavgZU6y6HQwDmesww3IL4X1WYxNkT+w7Y\n zNtP12vXqmWD+0sUbmmuZPkNHeNLdFRu0qBgwUf18BfJS4KU7HLLqLwV+/J5f+dAQguf 6Q==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "Thomas Monjalon <thomas@monjalon.net>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, Kiran Kumar K <kirankumark@marvell.com>, \"Sunil\n Kumar Kori\" <skori@marvell.com>, Satha Rao <skoteshwar@marvell.com>",
        "CC": "<jerinj@marvell.com>, <dev@dpdk.org>, Hiral <hshah@marvell.com>",
        "Subject": "[PATCH 13/15] common/cnxk: add RSS error messages on mbox failure",
        "Date": "Fri, 3 Mar 2023 13:40:11 +0530",
        "Message-ID": "<20230303081013.589868-13-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230303081013.589868-1-ndabilpuram@marvell.com>",
        "References": "<20230303081013.589868-1-ndabilpuram@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "zgvVNXz8Y0MJbmeGKvB3D08IyGtC0yGV",
        "X-Proofpoint-GUID": "zgvVNXz8Y0MJbmeGKvB3D08IyGtC0yGV",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22\n definitions=2023-03-03_01,2023-03-02_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": "From: Hiral <hshah@marvell.com>\n\nClarifying otx2_process_msgs() RSS error messages\n\nSigned-off-by: Hiral <hshah@marvell.com>\n---\n .mailmap                        | 1 +\n drivers/common/cnxk/roc_dev.c   | 4 ++--\n drivers/common/cnxk/roc_utils.c | 6 ++++++\n 3 files changed, 9 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/.mailmap b/.mailmap\nindex 5015494210..ef4c4c36a2 100644\n--- a/.mailmap\n+++ b/.mailmap\n@@ -487,6 +487,7 @@ Herbert Guan <herbert.guan@arm.com>\n Hernan Vargas <hernan.vargas@intel.com>\n Herry Chen <herry.chen@broadcom.com>\n Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>\n+Hiral <hshah@marvell.com>\n Hiroki Shirokura <slank.dev@gmail.com>\n Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>\n Hiroyuki Mikita <h.mikita89@gmail.com>\ndiff --git a/drivers/common/cnxk/roc_dev.c b/drivers/common/cnxk/roc_dev.c\nindex 826887a97b..2388237186 100644\n--- a/drivers/common/cnxk/roc_dev.c\n+++ b/drivers/common/cnxk/roc_dev.c\n@@ -441,8 +441,8 @@ process_msgs(struct dev *dev, struct mbox *mbox)\n \n \t\tdefault:\n \t\t\tif (msg->rc)\n-\t\t\t\tplt_err(\"Message (%s) response has err=%d\",\n-\t\t\t\t\tmbox_id2name(msg->id), msg->rc);\n+\t\t\t\tplt_err(\"Message (%s) response has err=%d (%s)\",\n+\t\t\t\t\tmbox_id2name(msg->id), msg->rc, roc_error_msg_get(msg->rc));\n \t\t\tbreak;\n \t\t}\n \t\toffset = mbox->rx_start + msg->next_msgoff;\ndiff --git a/drivers/common/cnxk/roc_utils.c b/drivers/common/cnxk/roc_utils.c\nindex 495e62a315..fe291fce96 100644\n--- a/drivers/common/cnxk/roc_utils.c\n+++ b/drivers/common/cnxk/roc_utils.c\n@@ -229,6 +229,12 @@ roc_error_msg_get(int errorcode)\n \tcase UTIL_ERR_INVALID_MODEL:\n \t\terr_msg = \"Invalid RoC model\";\n \t\tbreak;\n+\tcase NIX_AF_ERR_RSS_NOSPC_FIELD:\n+\t\terr_msg = \"No space or unsupported fields\";\n+\t\tbreak;\n+\tcase NIX_AF_ERR_RSS_NOSPC_ALGO:\n+\t\terr_msg = \"No space to add new flow hash algo\";\n+\t\tbreak;\n \tdefault:\n \t\t/**\n \t\t * Handle general error (as defined in linux errno.h)\n",
    "prefixes": [
        "13/15"
    ]
}