get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130762,
    "url": "http://patches.dpdk.org/api/patches/130762/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230825101344.1828774-16-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": "<20230825101344.1828774-16-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230825101344.1828774-16-simei.su@intel.com",
    "date": "2023-08-25T10:13:42",
    "name": "[v2,15/17] common/idpf/base: dont declare union with 'flex'",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fd180cb5bff978f77bd33352d7c93fc0ae7f4a4c",
    "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/20230825101344.1828774-16-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 29341,
            "url": "http://patches.dpdk.org/api/series/29341/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29341",
            "date": "2023-08-25T10:13:27",
            "name": "update idpf base code",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/29341/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/130762/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/130762/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 59A5B430FF;\n\tFri, 25 Aug 2023 12:15:18 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09A0B43294;\n\tFri, 25 Aug 2023 12:14:28 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 622ED400D5\n for <dev@dpdk.org>; Fri, 25 Aug 2023 12:14:26 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2023 03:14:25 -0700",
            "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by orsmga001.jf.intel.com with ESMTP; 25 Aug 2023 03:14:23 -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=1692958466; x=1724494466;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=DvkS7icNFXqLT20/6VpQCZ8UmjWxHtFbTLsSrCgkrRs=;\n b=FGoCTgRKzUh1kcrPBFt+65w9sBZeb8/gKZAFIR8NEmdRbwmbmKEF9u8W\n w5BcCufnjA7YEaUeFKm4JECYBsEOPhrfIPs2bZaB2r/CexhjqMx/LjrJm\n 4YzUr1L0wKBLIpGCK5p+cieK52RG8nuxSfu0XyCzLliImxP+WBh7Orpqh\n lvgIrCidVG60m+E6iqHxBKHZk1BIEfcvXUw2IqmO6k8R7CMnOOymxEvTU\n /PJ7yv0byz/pzUWbvG1whr2QTMRJmbIqrcA9z3LnJGg7RqfCKunaGbPt0\n HRpbLCn2oJHxYo4MAUiOyyse8BE8mmR3xVHyqN222J99uiBS+C+TcoSk7 A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10812\"; a=\"441028146\"",
            "E=Sophos;i=\"6.02,195,1688454000\"; d=\"scan'208\";a=\"441028146\"",
            "E=McAfee;i=\"6600,9927,10812\"; a=\"772439785\"",
            "E=Sophos;i=\"6.02,195,1688454000\"; d=\"scan'208\";a=\"772439785\""
        ],
        "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>,\n Pavan Kumar Linga <pavan.kumar.linga@intel.com>",
        "Subject": "[PATCH v2 15/17] common/idpf/base: dont declare union with 'flex'",
        "Date": "Fri, 25 Aug 2023 18:13:42 +0800",
        "Message-Id": "<20230825101344.1828774-16-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230825101344.1828774-1-simei.su@intel.com>",
        "References": "<20230809013308.1449103-1-wenjing.qiao@intel.com>\n <20230825101344.1828774-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>\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": [
        "v2",
        "15/17"
    ]
}