get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131532,
    "url": "http://patchwork.dpdk.org/api/patches/131532/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230918021130.192982-17-simei.su@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230918021130.192982-17-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230918021130.192982-17-simei.su@intel.com",
    "date": "2023-09-18T02:11:28",
    "name": "[v4,16/18] common/idpf/base: don't declare union with 'flex'",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fd180cb5bff978f77bd33352d7c93fc0ae7f4a4c",
    "submitter": {
        "id": 1298,
        "url": "http://patchwork.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patchwork.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230918021130.192982-17-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 29530,
            "url": "http://patchwork.dpdk.org/api/series/29530/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29530",
            "date": "2023-09-18T02:11:12",
            "name": "update idpf base code",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/29530/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/131532/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/131532/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 7AB1F425C9;\n\tMon, 18 Sep 2023 04:13:29 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7B14640DF5;\n\tMon, 18 Sep 2023 04:12:48 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 6F1E640A81\n for <dev@dpdk.org>; Mon, 18 Sep 2023 04:12:40 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2023 19:11:46 -0700",
            "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by fmsmga004.fm.intel.com with ESMTP; 17 Sep 2023 19:11:43 -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=1695003160; x=1726539160;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=YnoEODMP7vfTqs3M1d5U2sorNJaC5zIVYCSxZNy5VcY=;\n b=RVWEieBc1ZGgojcgBkkJUbvoUcBc7WQ6QQWJ8aD3TMXWE2wrWLQn+Ifr\n aIe4Qqk++k4UKHTxnm3g4Mr6AFwwcWD47YeXidHPgxoW8U6s/cmHJ402d\n NGbNLpY0UKlN+GpZaTKwqwb4LG5gs/i4rl6qigPhcp/343g1uqH+aKAwQ\n RtZeeLHs9jkOHjq+2OFAHZbqZ4WjrD5ae6V8iYVc1WEZGQ4SaZgiBkIuy\n D+T7XVs+vAmhAcQbdyZVS7/iY4fsQ9kFJLswnCGuEOuSPRQwIjrdBqW5b\n jiOyL4Qf3ddyQiXc29ALF4UG8lKzHyrMLvyaqdrDuleb5+pyUFC1ADn85 w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10836\"; a=\"359801771\"",
            "E=Sophos;i=\"6.02,155,1688454000\"; d=\"scan'208\";a=\"359801771\"",
            "E=McAfee;i=\"6600,9927,10836\"; a=\"815847071\"",
            "E=Sophos;i=\"6.02,155,1688454000\"; d=\"scan'208\";a=\"815847071\""
        ],
        "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 Pavan Kumar Linga <pavan.kumar.linga@intel.com>",
        "Subject": "[PATCH v4 16/18] common/idpf/base: don't declare union with 'flex'",
        "Date": "Mon, 18 Sep 2023 10:11:28 +0800",
        "Message-Id": "<20230918021130.192982-17-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230918021130.192982-1-simei.su@intel.com>",
        "References": "<20230915021730.2681882-1-simei.su@intel.com>\n <20230918021130.192982-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": "In idpf_flex_tx_desc structure, instead of naming the union with 'flex',\nuse no name union as the union name is not really necessary there. This\nreduces the level of indirection in the hotpath.\n\nSigned-off-by: Pavan Kumar Linga <pavan.kumar.linga@intel.com>\nSigned-off-by: Simei Su <simei.su@intel.com>\nAcked-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/common/idpf/base/idpf_lan_txrx.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/common/idpf/base/idpf_lan_txrx.h b/drivers/common/idpf/base/idpf_lan_txrx.h\nindex f213c49e47..1e19aeafac 100644\n--- a/drivers/common/idpf/base/idpf_lan_txrx.h\n+++ b/drivers/common/idpf/base/idpf_lan_txrx.h\n@@ -226,11 +226,11 @@ enum idpf_tx_flex_desc_cmd_bits {\n struct idpf_flex_tx_desc {\n \t__le64 buf_addr;\t/* Packet buffer address */\n \tstruct {\n-\t\t__le16 cmd_dtype;\n #define IDPF_FLEX_TXD_QW1_DTYPE_S\t0\n #define IDPF_FLEX_TXD_QW1_DTYPE_M\tGENMASK(4, 0)\n #define IDPF_FLEX_TXD_QW1_CMD_S\t\t5\n #define IDPF_FLEX_TXD_QW1_CMD_M\t\tGENMASK(15, 5)\n+\t\t__le16 cmd_dtype;\n \t\tunion {\n \t\t\t/* DTYPE = IDPF_TX_DESC_DTYPE_FLEX_DATA_(0x03) */\n \t\t\tu8 raw[4];\n@@ -247,7 +247,7 @@ struct idpf_flex_tx_desc {\n \t\t\t\t__le16 l2tag1;\n \t\t\t\t__le16 l2tag2;\n \t\t\t} l2tags;\n-\t\t} flex;\n+\t\t};\n \t\t__le16 buf_size;\n \t} qw1;\n };\n",
    "prefixes": [
        "v4",
        "16/18"
    ]
}