get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137569,
    "url": "https://patches.dpdk.org/api/patches/137569/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1709247533-32698-5-git-send-email-roretzla@linux.microsoft.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": "<1709247533-32698-5-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1709247533-32698-5-git-send-email-roretzla@linux.microsoft.com",
    "date": "2024-02-29T22:58:51",
    "name": "[v4,4/6] pipeline: replace zero length array with flex array",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c0d87d67e72417a4043d21a6eb9d38ae1c19366e",
    "submitter": {
        "id": 2077,
        "url": "https://patches.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1709247533-32698-5-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 30908,
            "url": "https://patches.dpdk.org/api/series/30908/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=30908",
            "date": "2024-01-24T22:17:35",
            "name": "more replacement of zero length array",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/30908/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/137569/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/137569/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 C849F43BAD;\n\tThu, 29 Feb 2024 23:58:56 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5C9D6427D9;\n\tThu, 29 Feb 2024 23:58:56 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id A98C6427D9\n for <dev@dpdk.org>; Thu, 29 Feb 2024 23:58:55 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id E9CFF20B74C5; Thu, 29 Feb 2024 14:58:54 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com E9CFF20B74C5",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1709247534;\n bh=nsS8qDHpwhRrqLavDeQRqr9or2xy7NHBSoTznJLvcsY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=X8Np85Zu6K15rDg9egzIPHSlocsG06vsXDo6+t04PrsrVImWTJebY6PCVXYw7RO1c\n FHabWmkEVnyzW7ux+qqgiatxd0S/v1FI/WsrnHoTynssvrguRhGKHrot/0NlHahaxc\n 3XC0OtDfRmhxXjBTQ9xetuugEK4d+ESiDTN4JhRY=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>, mb@smartsharesystems.com,\n fengchengwen@huawei.com, Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v4 4/6] pipeline: replace zero length array with flex array",
        "Date": "Thu, 29 Feb 2024 14:58:51 -0800",
        "Message-Id": "<1709247533-32698-5-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1709247533-32698-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com>\n <1709247533-32698-1-git-send-email-roretzla@linux.microsoft.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "Zero length arrays are GNU extension. Replace with\nstandard flex array.\n\nAdd a temporary suppression for rte_pipeline_table_entry\nlibabigail bug:\n\nBugzilla ID: https://sourceware.org/bugzilla/show_bug.cgi?id=31377\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\nReviewed-by: Morten Brørup <mb@smartsharesystems.com>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n devtools/libabigail.abignore      | 2 ++\n lib/pipeline/rte_pipeline.h       | 2 +-\n lib/pipeline/rte_port_in_action.c | 2 +-\n 3 files changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore\nindex 25c73a5..5292b63 100644\n--- a/devtools/libabigail.abignore\n+++ b/devtools/libabigail.abignore\n@@ -33,6 +33,8 @@\n ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n ; Temporary exceptions till next major ABI version ;\n ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n+[suppress_type]\n+\tname = rte_pipeline_table_entry\n \n [suppress_type]\n \tname = rte_rcu_qsbr\ndiff --git a/lib/pipeline/rte_pipeline.h b/lib/pipeline/rte_pipeline.h\nindex ec51b9b..0c7994b 100644\n--- a/lib/pipeline/rte_pipeline.h\n+++ b/lib/pipeline/rte_pipeline.h\n@@ -220,7 +220,7 @@ struct rte_pipeline_table_entry {\n \t\tuint32_t table_id;\n \t};\n \t/** Start of table entry area for user defined actions and meta-data */\n-\t__extension__ uint8_t action_data[0];\n+\tuint8_t action_data[];\n };\n \n /**\ndiff --git a/lib/pipeline/rte_port_in_action.c b/lib/pipeline/rte_port_in_action.c\nindex 5818973..ebd9b9a 100644\n--- a/lib/pipeline/rte_port_in_action.c\n+++ b/lib/pipeline/rte_port_in_action.c\n@@ -282,7 +282,7 @@ struct rte_port_in_action_profile *\n struct rte_port_in_action {\n \tstruct ap_config cfg;\n \tstruct ap_data data;\n-\tuint8_t memory[0] __rte_cache_aligned;\n+\tuint8_t memory[] __rte_cache_aligned;\n };\n \n static __rte_always_inline void *\n",
    "prefixes": [
        "v4",
        "4/6"
    ]
}