get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131664,
    "url": "https://patches.dpdk.org/api/patches/131664/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230920062236.375308-8-simei.su@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": "<20230920062236.375308-8-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230920062236.375308-8-simei.su@intel.com",
    "date": "2023-09-20T06:22:32",
    "name": "[v5,07/11] common/idpf/base: add union for SW cookie fields",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a72d288d0b75ffefc4d85ceecf4dfb9e52467fcb",
    "submitter": {
        "id": 1298,
        "url": "https://patches.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230920062236.375308-8-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 29562,
            "url": "https://patches.dpdk.org/api/series/29562/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29562",
            "date": "2023-09-20T06:22:25",
            "name": "update idpf base code",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/29562/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/131664/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/131664/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 01AC7425E9;\n\tWed, 20 Sep 2023 08:23:03 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B5FCC40DDE;\n\tWed, 20 Sep 2023 08:22:34 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id C53E640DDB\n for <dev@dpdk.org>; Wed, 20 Sep 2023 08:22:32 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Sep 2023 23:22:32 -0700",
            "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by orsmga005.jf.intel.com with ESMTP; 19 Sep 2023 23:22:29 -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=1695190953; x=1726726953;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2+bF33l8ETyELeXmaPFyuRTD2DdR0tuPFIDe3cnQkEU=;\n b=a7A9Ekunl5VYSjjghKSu4qMefMqp+dNEP+JMgEJbGgLjZZccdHvhETCQ\n 8rv2H0M/HBwyxl3OUXUKa+4KGrGJqQ4jfidL297pm38gC2FTWWWKh3cjl\n DBsmoQnyYcXkezffgR1pkd8gZ0swJIdnvM33nElDHMLdfT7bJvssAZhqU\n r3tU6H/do2eD5KWDY9fNPDAJEEkGWRFU/sisbSBYiDYquIU9hm3FTeBxi\n oJ9iG+Mn7hTuyAp5E65FSXCMXVo+TlEr0g9WJk5I6HNdbm6dw7c9tkOi6\n oxmS+brOVGk7XmOQUyZDvmJ8wb4RkvzjSGj4lG8NgIiBbep8A82b9nUc9 w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10838\"; a=\"466453262\"",
            "E=Sophos;i=\"6.02,161,1688454000\"; d=\"scan'208\";a=\"466453262\"",
            "E=McAfee;i=\"6600,9927,10838\"; a=\"920154693\"",
            "E=Sophos;i=\"6.02,161,1688454000\"; d=\"scan'208\";a=\"920154693\""
        ],
        "X-ExtLoop1": "1",
        "From": "Simei Su <simei.su@intel.com>",
        "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, wenjun1.wu@intel.com, mingxia.liu@intel.com,\n wenjing.qiao@intel.com, Simei Su <simei.su@intel.com>,\n Alan Brady <alan.brady@intel.com>",
        "Subject": "[PATCH v5 07/11] common/idpf/base: add union for SW cookie fields",
        "Date": "Wed, 20 Sep 2023 14:22:32 +0800",
        "Message-Id": "<20230920062236.375308-8-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230920062236.375308-1-simei.su@intel.com>",
        "References": "<20230918021130.192982-1-simei.su@intel.com>\n <20230920062236.375308-1-simei.su@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": "Instead of using something like a byte offset, we can add a union to the\nstruct to enable direct addressing.\n\nSigned-off-by: Alan Brady <alan.brady@intel.com>\nSigned-off-by: Simei Su <simei.su@intel.com>\nAcked-by: Beilei Xing <beilei.xing@intel.com>\n---\n .mailmap                                     | 1 +\n drivers/common/idpf/base/idpf_controlq_api.h | 5 +++++\n 2 files changed, 6 insertions(+)",
    "diff": "diff --git a/.mailmap b/.mailmap\nindex 23aed53102..2fcadb4e4c 100644\n--- a/.mailmap\n+++ b/.mailmap\n@@ -1645,3 +1645,4 @@ Josh Hay <joshua.a.hay@intel.com>\n Madhu Chittim <madhu.chittim@intel.com>\n Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>\n Julianx Grajkowski <julianx.grajkowski@intel.com>\n+Alan Brady <alan.brady@intel.com>\ndiff --git a/drivers/common/idpf/base/idpf_controlq_api.h b/drivers/common/idpf/base/idpf_controlq_api.h\nindex 3780304256..f4e7b53ac9 100644\n--- a/drivers/common/idpf/base/idpf_controlq_api.h\n+++ b/drivers/common/idpf/base/idpf_controlq_api.h\n@@ -77,6 +77,11 @@ struct idpf_ctlq_msg {\n \t\t\tu8 context[IDPF_INDIRECT_CTX_SIZE];\n \t\t\tstruct idpf_dma_mem *payload;\n \t\t} indirect;\n+\t\tstruct {\n+\t\t\tu32 rsvd;\n+\t\t\tu16 data;\n+\t\t\tu16 flags;\n+\t\t} sw_cookie;\n \t} ctx;\n };\n \n",
    "prefixes": [
        "v5",
        "07/11"
    ]
}