get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113637,
    "url": "https://patches.dpdk.org/api/patches/113637/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220702160340.1591058-2-timothy.mcdaniel@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": "<20220702160340.1591058-2-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220702160340.1591058-2-timothy.mcdaniel@intel.com",
    "date": "2022-07-02T16:03:36",
    "name": "[v2,1/5] event/dlb2: fix port_cos array sizing",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ee9f23a6126937c9162b9edeabf1a54d040b9dd8",
    "submitter": {
        "id": 826,
        "url": "https://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220702160340.1591058-2-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 23866,
            "url": "https://patches.dpdk.org/api/series/23866/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23866",
            "date": "2022-07-02T16:03:35",
            "name": "DLB2 Bug Fixes",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/23866/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113637/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/113637/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 20E8FA0093;\n\tSat,  2 Jul 2022 18:03:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B0229427EC;\n\tSat,  2 Jul 2022 18:03:47 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 3DE9E40E50\n for <dev@dpdk.org>; Sat,  2 Jul 2022 18:03:45 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Jul 2022 09:03:43 -0700",
            "from txanpdk03.an.intel.com ([10.123.117.78])\n by fmsmga008.fm.intel.com with ESMTP; 02 Jul 2022 09:03:43 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1656777825; x=1688313825;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=pqLK8ZaZHCwhwffFuW1EFiSddcFVVSyV6J+z01jxqTA=;\n b=kUmKHi1bh1Bqx1Xs6Mvmey730va1tL+QOShiQZaRqZ8OeWG4mm3eA8w9\n s0UCIwC2UGwRXWMC+yGmt4dggySzIS5OkKC83hhCq8+YayGihpdKfXUzi\n BBPfoLmER06Y/6uVYmbwf/j5dc71MUYAeKmvShJU3p+NhLm2XOqKzveO+\n bRrX7q/TmaJV8/vCX3M9Jm0QZVmGIRrwqS7ONyQH/iMHzqlnC866/WFnt\n Y5w9JbPrlYBwONJ3bRHzf4bU5klpB37zMiudXKaxnjn5HQtiKCXQ8dgKT\n J8tYJFT+0C5ou5W6upA9m9S9G3vqkMvRNnOQIusKwwvk8nYFKNnYoVh7B w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10396\"; a=\"271616947\"",
            "E=Sophos;i=\"5.92,240,1650956400\"; d=\"scan'208\";a=\"271616947\"",
            "E=Sophos;i=\"5.92,240,1650956400\"; d=\"scan'208\";a=\"648776819\""
        ],
        "X-ExtLoop1": "1",
        "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>",
        "To": "jerinj@marvell.com",
        "Cc": "dev@dpdk.org,\n\ttimothy.mcdaniel@intel.com",
        "Subject": "[PATCH v2 1/5] event/dlb2: fix port_cos array sizing",
        "Date": "Sat,  2 Jul 2022 11:03:36 -0500",
        "Message-Id": "<20220702160340.1591058-2-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "In-Reply-To": "<20220702160340.1591058-1-timothy.mcdaniel@intel.com>",
        "References": "<20220629153638.1269743-1-timothy.mcdaniel@intel.com>\n <20220702160340.1591058-1-timothy.mcdaniel@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "This commit fixes a segfault that resulted from reading\nbeyond the end of the port_cos array. The root cause was using\nthe DLB num ports define instead of the eventdev num ports define.\n\nFixes: bec8901bfe9f (\"event/dlb2: support ldb port specific COS\")\nCc: timothy.mcdaniel@intel.com\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\n---\n drivers/event/dlb2/dlb2_priv.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/event/dlb2/dlb2_priv.h b/drivers/event/dlb2/dlb2_priv.h\nindex 528e2ede61..8744efa79d 100644\n--- a/drivers/event/dlb2/dlb2_priv.h\n+++ b/drivers/event/dlb2/dlb2_priv.h\n@@ -640,7 +640,7 @@ struct dlb2_cq_weight {\n };\n \n struct dlb2_port_cos {\n-\tint cos_id[DLB2_MAX_NUM_LDB_PORTS];\n+\tint cos_id[DLB2_MAX_NUM_PORTS_ALL];\n };\n \n struct dlb2_cos_bw {\n",
    "prefixes": [
        "v2",
        "1/5"
    ]
}