get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126998,
    "url": "http://patches.dpdk.org/api/patches/126998/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230518151638.1207021-5-qiming.yang@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": "<20230518151638.1207021-5-qiming.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230518151638.1207021-5-qiming.yang@intel.com",
    "date": "2023-05-18T15:16:22",
    "name": "[v2,04/20] net/ice/base: fix incorrect defines for DCBx",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "aca44e6d99face04f9b4340b2a8680ac33fcdecd",
    "submitter": {
        "id": 522,
        "url": "http://patches.dpdk.org/api/people/522/?format=api",
        "name": "Qiming Yang",
        "email": "qiming.yang@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/20230518151638.1207021-5-qiming.yang@intel.com/mbox/",
    "series": [
        {
            "id": 28063,
            "url": "http://patches.dpdk.org/api/series/28063/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28063",
            "date": "2023-05-18T15:16:18",
            "name": "net/ice/base: code update",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/28063/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/126998/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/126998/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 E678342AF1;\n\tThu, 18 May 2023 17:34:52 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9558042D40;\n\tThu, 18 May 2023 17:34:29 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 0D02642D3D\n for <dev@dpdk.org>; Thu, 18 May 2023 17:34:26 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 May 2023 08:34:26 -0700",
            "from dpdk-qiming3.sh.intel.com ([10.67.111.4])\n by fmsmga007.fm.intel.com with ESMTP; 18 May 2023 08:34:25 -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=1684424067; x=1715960067;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=j2RayQRvfgwrkGYv1bvlbpB6m/K8gp02WOTn2xZt9Wc=;\n b=AjHF6ZgIQOCx1thcrEk/DNtbUqGC5vAol9PD526st4icew97MXgKZ3vo\n oRYZqjgk3CAA43XFvxmsKun+yuj9J8dF6xrIOiIlcbZE+sIXp6ond+Q0d\n xXVfTGQRzQ+ZYbRGfgoEUB7zDY4iau1TilZ6FkV2C7LaNYD43qs124tY9\n gPdo9pjjPKvMNDip9cdcHu/b3DZMMZJZk5uQqI2/n0jIvEcoeYnj+SEBx\n Byva96xOyFe6khGkHpKZABJPGqDpAnWwf/Vhl6YKow6DNobaEw0Elrxtk\n /1U9TCy+AiFuDxNN3TwUbUv1ZbEV0xdK4aLl11iB7z+WCQPuudfYkN2QG g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10714\"; a=\"341527647\"",
            "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"341527647\"",
            "E=McAfee;i=\"6600,9927,10714\"; a=\"705235058\"",
            "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"705235058\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qiming Yang <qiming.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com, Qiming Yang <qiming.yang@intel.com>,\n Dave Ertman <david.m.ertman@intel.com>",
        "Subject": "[PATCH v2 04/20] net/ice/base: fix incorrect defines for DCBx",
        "Date": "Thu, 18 May 2023 15:16:22 +0000",
        "Message-Id": "<20230518151638.1207021-5-qiming.yang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230518151638.1207021-1-qiming.yang@intel.com>",
        "References": "<20230427062001.478032-1-qiming.yang@intel.com>\n <20230518151638.1207021-1-qiming.yang@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": "In all cases but one, CEE mode is defined as 0x01 and IEEE\nmode is defined as 0x02.  in past these values were swapped.\nThis is causing the DCB information sent from the FW agent to\nbe parsed with incorrect structures and resulting in incorrect values.\n\nChange the defines to match what they are in the rest of the kernel.\n\nFixes: 97e32e8d4870 (\"net/ice/base: complete pending LLDP MIB\")\nSigned-off-by: Dave Ertman <david.m.ertman@intel.com>\nSigned-off-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_adminq_cmd.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h\nindex 65cba9ab37..8df6ca41e9 100644\n--- a/drivers/net/ice/base/ice_adminq_cmd.h\n+++ b/drivers/net/ice/base/ice_adminq_cmd.h\n@@ -2002,8 +2002,8 @@ struct ice_aqc_lldp_get_mib {\n #define ICE_AQ_LLDP_DCBX_S\t\t\t6\n #define ICE_AQ_LLDP_DCBX_M\t\t\t(0x3 << ICE_AQ_LLDP_DCBX_S)\n #define ICE_AQ_LLDP_DCBX_NA\t\t\t0\n-#define ICE_AQ_LLDP_DCBX_IEEE\t\t\t1\n-#define ICE_AQ_LLDP_DCBX_CEE\t\t\t2\n+#define ICE_AQ_LLDP_DCBX_CEE\t\t\t1\n+#define ICE_AQ_LLDP_DCBX_IEEE\t\t\t2\n /* The following bytes are reserved for the Get LLDP MIB command (0x0A00)\n  * and in the LLDP MIB Change Event (0x0A01). They are valid for the\n  * Get LLDP MIB (0x0A00) response only.\n",
    "prefixes": [
        "v2",
        "04/20"
    ]
}