get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131443,
    "url": "http://patches.dpdk.org/api/patches/131443/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230915021730.2681882-8-simei.su@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": "<20230915021730.2681882-8-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230915021730.2681882-8-simei.su@intel.com",
    "date": "2023-09-15T02:17:20",
    "name": "[v3,07/17] common/idpf/base: add union for SW cookie fields in ctlq msg",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a72d288d0b75ffefc4d85ceecf4dfb9e52467fcb",
    "submitter": {
        "id": 1298,
        "url": "http://patches.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@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/20230915021730.2681882-8-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 29513,
            "url": "http://patches.dpdk.org/api/series/29513/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29513",
            "date": "2023-09-15T02:17:13",
            "name": "update idpf base code",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/29513/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/131443/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/131443/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 AB4194259D;\n\tFri, 15 Sep 2023 04:17:39 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A719D406FF;\n\tFri, 15 Sep 2023 04:17:00 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id F22454029E\n for <dev@dpdk.org>; Fri, 15 Sep 2023 04:16:58 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Sep 2023 19:16:58 -0700",
            "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by fmsmga005.fm.intel.com with ESMTP; 14 Sep 2023 19:16:56 -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=1694744219; x=1726280219;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=UFi3UxZEeVDKTlzsCneas6KmbcbQ8sm+rq2HmBluBU4=;\n b=YUivUWz864HdicIr8skUArIVcx2OinT5l12c4EJOpjzuWQ+HjakU/Lpd\n S0mzUy5ck+xFFklwn6eIWmnWQOp5x14Ydp6O5uqjvcei9srLjdaEeoo/c\n IYmxhtwdqhu4J5Q4Y3Sv+jLuFzJk4rLmMguA4ITbcctkKRU4jZpktpwuz\n fnESAqHbDcwIY7n1kKEvtxupN/BhR81gQcAQC40VW6YGTowRJkmHk4v3f\n xS7uOqUUVkVzUn45R16d6olmltNwq+/WK3uv7AFnY5zY9s5v7o14UU33p\n oDHoqhrTB3vyc+Er3Y0mfNzqtnI/7+kLGN/UOypADU9qa/L2ZjftOwOlm w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10833\"; a=\"410077963\"",
            "E=Sophos;i=\"6.02,147,1688454000\"; d=\"scan'208\";a=\"410077963\"",
            "E=McAfee;i=\"6600,9927,10833\"; a=\"1075622766\"",
            "E=Sophos;i=\"6.02,147,1688454000\"; d=\"scan'208\";a=\"1075622766\""
        ],
        "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, mingxia.liu@intel.com, wenjing.qiao@intel.com,\n Simei Su <simei.su@intel.com>, Alan Brady <alan.brady@intel.com>",
        "Subject": "[PATCH v3 07/17] common/idpf/base: add union for SW cookie fields in\n ctlq msg",
        "Date": "Fri, 15 Sep 2023 10:17:20 +0800",
        "Message-Id": "<20230915021730.2681882-8-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230915021730.2681882-1-simei.su@intel.com>",
        "References": "<20230825101344.1828774-1-simei.su@intel.com>\n <20230915021730.2681882-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 here to enable direct addressing.\n\nSigned-off-by: Alan Brady <alan.brady@intel.com>\nSigned-off-by: Simei Su <simei.su@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": [
        "v3",
        "07/17"
    ]
}