get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115037,
    "url": "http://patches.dpdk.org/api/patches/115037/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815073206.2917968-10-qi.z.zhang@intel.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": "<20220815073206.2917968-10-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220815073206.2917968-10-qi.z.zhang@intel.com",
    "date": "2022-08-15T07:31:05",
    "name": "[v2,09/70] net/ice/base: fix DSCP PFC TLV creation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0e95fabb66622ae82c4259823db40efae7b4d597",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220815073206.2917968-10-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 24308,
            "url": "http://patches.dpdk.org/api/series/24308/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24308",
            "date": "2022-08-15T07:30:56",
            "name": "ice base code update",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24308/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115037/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/115037/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 D8422A00C3;\n\tMon, 15 Aug 2022 01:23:06 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 87A6442BB3;\n\tMon, 15 Aug 2022 01:22:30 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 12EF342BAC;\n Mon, 15 Aug 2022 01:22:28 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2022 16:22:28 -0700",
            "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by orsmga008.jf.intel.com with ESMTP; 14 Aug 2022 16:22:27 -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=1660519349; x=1692055349;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=p77R4R0J+AVOeaL1WtnwJ1cMxjxaO/qW/w5bItqRueQ=;\n b=GgrUPjRU/adgltfBpxJDiL6hpSFtq8GBPHomUMREQEKEYQPV24X/6P95\n a7lmTLzs99DGSfEll5yovUKV7lXfl9nVeOCd+UrLVpOQ72q6bNdkZahLl\n YNxMlqGdgc/UaLbijqtV6+oQSwoMd9K8gIuby9fPJS739JTLJOoVuoyfz\n tUw4pskBE090TSyxyVgoEaJPamDeYhDZuvyagDSzp1gFFM3wN/0XOECG8\n EgmeiBbbt08Xm/AWnQLoXc+ssXicGPCsqeOlMNRp/BHUktWB3Xv6ICpvu\n 4W1+7YOZzuDt1a5uYfOkplfUfqvdxaXib6C3YyyviEn+0bCHjPyEHHE0M Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10439\"; a=\"291857927\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"291857927\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"635283017\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>, stable@dpdk.org,\n Dave Ertman <david.m.ertman@intel.com>",
        "Subject": "[PATCH v2 09/70] net/ice/base: fix DSCP PFC TLV creation",
        "Date": "Mon, 15 Aug 2022 03:31:05 -0400",
        "Message-Id": "<20220815073206.2917968-10-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20220815073206.2917968-1-qi.z.zhang@intel.com>",
        "References": "<20220815071306.2910599-1-qi.z.zhang@intel.com>\n <20220815073206.2917968-1-qi.z.zhang@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": "When creating the TLV to send to the FW for configuring DSCP\nmode PFC, the PFCENABLE field was being masked with a 4 bit\nmask (0xF), but this is an 8 bit bitmask for enabled classes\nfor PFC.  This means that traffic classes 4-7 could not be\nenabled for PFC.\n\nRemove the mask completely, as it is not necessary, as we are\nassigning 8bits to an 8 bit field.\n\nFixes: 8ea78b169603 (\"net/ice/base: support L3 DSCP QoS\")\nCc: stable@dpdk.org\n\nSigned-off-by: Dave Ertman <david.m.ertman@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_dcb.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_dcb.c b/drivers/net/ice/base/ice_dcb.c\nindex cb6c5ba182..3d630757f8 100644\n--- a/drivers/net/ice/base/ice_dcb.c\n+++ b/drivers/net/ice/base/ice_dcb.c\n@@ -1376,7 +1376,7 @@ ice_add_dscp_pfc_tlv(struct ice_lldp_org_tlv *tlv, struct ice_dcbx_cfg *dcbcfg)\n \ttlv->ouisubtype = HTONL(ouisubtype);\n \n \tbuf[0] = dcbcfg->pfc.pfccap & 0xF;\n-\tbuf[1] = dcbcfg->pfc.pfcena & 0xF;\n+\tbuf[1] = dcbcfg->pfc.pfcena;\n }\n \n /**\n",
    "prefixes": [
        "v2",
        "09/70"
    ]
}