Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/136619/?format=api
http://patchwork.dpdk.org/api/patches/136619/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1707777366-26000-4-git-send-email-roretzla@linux.microsoft.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": "<1707777366-26000-4-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1707777366-26000-4-git-send-email-roretzla@linux.microsoft.com", "date": "2024-02-12T22:36:05", "name": "[v2,3/4] fib: replace zero length array with flex array", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5a815cb8892fb53321e06b355f9e6e65f4700286", "submitter": { "id": 2077, "url": "http://patchwork.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1707777366-26000-4-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31080, "url": "http://patchwork.dpdk.org/api/series/31080/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31080", "date": "2024-02-12T22:36:02", "name": "more replacement of zero length array", "version": 2, "mbox": "http://patchwork.dpdk.org/series/31080/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/136619/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/136619/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 01E2C43AFE;\n\tMon, 12 Feb 2024 23:36:21 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 56B1B40E2D;\n\tMon, 12 Feb 2024 23:36:12 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 32AE340274\n for <dev@dpdk.org>; Mon, 12 Feb 2024 23:36:08 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 5E927207ECAC; Mon, 12 Feb 2024 14:36:07 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 5E927207ECAC", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1707777367;\n bh=EFAIJOeW8AVl8l8sMKekN2GuBUZB91JlpB8wKBChi38=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=sISyBAM2Ds4bn80Nn0PyX+lCKaDRE6cWRrZuSH3YZ76IMef+mI3YgCDDTfj4BJb5P\n OISU9psBW8Ugz/JtkAZApe/+JWfaWw5/024UNFS5r6NDl4U/JubD3QKT7+xm1fi1OB\n Icct3cZ2B3i/uSGudBz2AwwqAyKocy4hECwlLDKA=", "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 v2 3/4] fib: replace zero length array with flex array", "Date": "Mon, 12 Feb 2024 14:36:05 -0800", "Message-Id": "<1707777366-26000-4-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1707777366-26000-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com>\n <1707777366-26000-1-git-send-email-roretzla@linux.microsoft.com>", "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\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/fib/dir24_8.h | 2 +-\n lib/fib/trie.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/fib/dir24_8.h b/lib/fib/dir24_8.h\nindex b0d1a40..5a7b6dd 100644\n--- a/lib/fib/dir24_8.h\n+++ b/lib/fib/dir24_8.h\n@@ -32,7 +32,7 @@ struct dir24_8_tbl {\n \tuint64_t\t*tbl8;\t\t/**< tbl8 table. */\n \tuint64_t\t*tbl8_idxes;\t/**< bitmap containing free tbl8 idxes*/\n \t/* tbl24 table. */\n-\t__extension__ uint64_t\ttbl24[0] __rte_cache_aligned;\n+\tuint64_t\ttbl24[] __rte_cache_aligned;\n };\n \n static inline void *\ndiff --git a/lib/fib/trie.h b/lib/fib/trie.h\nindex 3cf161a..71ed191 100644\n--- a/lib/fib/trie.h\n+++ b/lib/fib/trie.h\n@@ -36,7 +36,7 @@ struct rte_trie_tbl {\n \tuint32_t\t*tbl8_pool;\t/**< bitmap containing free tbl8 idxes*/\n \tuint32_t\ttbl8_pool_pos;\n \t/* tbl24 table. */\n-\t__extension__ uint64_t\ttbl24[0] __rte_cache_aligned;\n+\tuint64_t\ttbl24[] __rte_cache_aligned;\n };\n \n static inline uint32_t\n", "prefixes": [ "v2", "3/4" ] }{ "id": 136619, "url": "