get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115021,
    "url": "http://patches.dpdk.org/api/patches/115021/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220815071306.2910599-65-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": "<20220815071306.2910599-65-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220815071306.2910599-65-qi.z.zhang@intel.com",
    "date": "2022-08-15T07:13:00",
    "name": "[64/70] net/ice/base: convert 1588 structs to use bitfields",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "424f0afe20a130e18581209c41b468adee0647fa",
    "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/20220815071306.2910599-65-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 24307,
            "url": "http://patches.dpdk.org/api/series/24307/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24307",
            "date": "2022-08-15T07:11:56",
            "name": "ice base code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/24307/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115021/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/115021/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 1DDC5A00C3;\n\tMon, 15 Aug 2022 01:09:13 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6896542B88;\n\tMon, 15 Aug 2022 01:04:51 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 8CAED42CB0\n for <dev@dpdk.org>; Mon, 15 Aug 2022 01:04:48 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2022 16:04:48 -0700",
            "from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.4])\n by fmsmga005.fm.intel.com with ESMTP; 14 Aug 2022 16:04:47 -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=1660518288; x=1692054288;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=z47RY6Gfi/LTvot5CPS/rkg12Sp0wrgohQDo1hR5KCA=;\n b=eyxbvJgKFXqYZ94un3iDeDX7FG9sU3cZCxDyOci7ozEqUproTdvGNYG9\n XcS9A9ADzrf0HiehcrGgtftABmsfShcJKhmsWoj57SzIS4C0hg+M93Y2g\n XE1qIOYvUcqZkoicqCgTUAYC31+1wwPkbIa8HbBd+1m7ZfuMJhUTvP2Ge\n cKuWiQt5P3J4H+BWV3PwZsDBLArb9xeAKIWL8F0opZVeGOHAPEBa0eeni\n 6YSuaHV3RoYwbc64kUwFPU0ZXNAWvTOy0HRYaFzXqkjhM0mI6ncu7JXWF\n eVotsUUCC1WWk/r4luOsLCeNDaFBbPgbGmx1+BXKMP0mBAn+GjS868oLI A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10439\"; a=\"293128815\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"293128815\"",
            "E=Sophos;i=\"5.93,237,1654585200\"; d=\"scan'208\";a=\"934296969\""
        ],
        "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>,\n Karol Kolacinski <karol.kolacinski@intel.com>",
        "Subject": "[PATCH 64/70] net/ice/base: convert 1588 structs to use bitfields",
        "Date": "Mon, 15 Aug 2022 03:13:00 -0400",
        "Message-Id": "<20220815071306.2910599-65-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "In-Reply-To": "<20220815071306.2910599-1-qi.z.zhang@intel.com>",
        "References": "<20220815071306.2910599-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": "Use bitfields in 1588 structs so they don't waste too much space.\n\nSigned-off-by: Karol Kolacinski <karol.kolacinski@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_type.h | 28 ++++++++++++++--------------\n 1 file changed, 14 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_type.h b/drivers/net/ice/base/ice_type.h\nindex 6d0adf0dd1..043dae7781 100644\n--- a/drivers/net/ice/base/ice_type.h\n+++ b/drivers/net/ice/base/ice_type.h\n@@ -662,12 +662,12 @@ struct ice_ts_func_info {\n \t/* Function specific info */\n \tenum ice_time_ref_freq time_ref;\n \tu8 clk_freq;\n-\tu8 clk_src;\n-\tu8 tmr_index_assoc;\n-\tu8 ena;\n-\tu8 tmr_index_owned;\n-\tu8 src_tmr_owned;\n-\tu8 tmr_ena;\n+\tu8 clk_src : 1;\n+\tu8 tmr_index_assoc : 1;\n+\tu8 ena : 1;\n+\tu8 tmr_index_owned : 1;\n+\tu8 src_tmr_owned : 1;\n+\tu8 tmr_ena : 1;\n };\n \n /* Device specific definitions */\n@@ -685,14 +685,14 @@ struct ice_ts_dev_info {\n \t/* Device specific info */\n \tu32 ena_ports;\n \tu32 tmr_own_map;\n-\tu32 tmr0_owner;\n-\tu32 tmr1_owner;\n-\tu8 tmr0_owned;\n-\tu8 tmr1_owned;\n-\tu8 ena;\n-\tu8 tmr0_ena;\n-\tu8 tmr1_ena;\n-\tu8 ts_ll_read;\n+\tu8 tmr0_owner;\n+\tu8 tmr1_owner;\n+\tu8 tmr0_owned : 1;\n+\tu8 tmr1_owned : 1;\n+\tu8 ena : 1;\n+\tu8 tmr0_ena : 1;\n+\tu8 tmr1_ena : 1;\n+\tu8 ts_ll_read : 1;\n };\n \n /* Function specific capabilities */\n",
    "prefixes": [
        "64/70"
    ]
}