Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137572/?format=api
http://patches.dpdk.org/api/patches/137572/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1709247533-32698-3-git-send-email-roretzla@linux.microsoft.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": "<1709247533-32698-3-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1709247533-32698-3-git-send-email-roretzla@linux.microsoft.com", "date": "2024-02-29T22:58:49", "name": "[v4,2/6] rcu: replace zero length array with flex array", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1940f032a57d7d4a3030b216e35e5da1042e2fb4", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1709247533-32698-3-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31313, "url": "http://patches.dpdk.org/api/series/31313/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31313", "date": "2024-02-29T22:58:47", "name": "more replacement of zero length array", "version": 4, "mbox": "http://patches.dpdk.org/series/31313/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/137572/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/137572/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 C7D2D43BAD;\n\tThu, 29 Feb 2024 23:59:20 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DE1C442FC5;\n\tThu, 29 Feb 2024 23:59:00 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id C357E42DCB\n for <dev@dpdk.org>; Thu, 29 Feb 2024 23:58:55 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id CF29F20B74C3; Thu, 29 Feb 2024 14:58:54 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com CF29F20B74C3", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1709247534;\n bh=+cryiBIHSDTN39PyKEHWV24moossZjvQ07okD5JLAWo=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=AuQvmhhSWKTmyf6fCViFxBniavW+bcARP89rbZ8PBeSI6EVTI2yU1TT+J1vFpT/BD\n sbtVPuziQDMtJqgscDsMX6pPJDN1g+LzUGqJOO2ALuV30GCK1+mTlVcvEafgyyouJn\n sHGls3OCYMCLrhlbQfNznc2R4pUTHeFjWozsZ5BQ=", "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 2/6] rcu: replace zero length array with flex array", "Date": "Thu, 29 Feb 2024 14:58:49 -0800", "Message-Id": "<1709247533-32698-3-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: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\nReviewed-by: Morten Brørup <mb@smartsharesystems.com>\nAcked-by: Chengwen Feng <fengchengwen@huawei.com>\nAcked-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n devtools/libabigail.abignore | 3 +++\n lib/rcu/rcu_qsbr_pvt.h | 2 +-\n lib/rcu/rte_rcu_qsbr.h | 2 +-\n 3 files changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore\nindex 645d289..25c73a5 100644\n--- a/devtools/libabigail.abignore\n+++ b/devtools/libabigail.abignore\n@@ -35,5 +35,8 @@\n ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n \n [suppress_type]\n+\tname = rte_rcu_qsbr\n+\n+[suppress_type]\n \tname = rte_eth_fp_ops\n \thas_data_member_inserted_between = {offset_of(reserved2), end}\ndiff --git a/lib/rcu/rcu_qsbr_pvt.h b/lib/rcu/rcu_qsbr_pvt.h\nindex 5fd7ca2..96d05e6 100644\n--- a/lib/rcu/rcu_qsbr_pvt.h\n+++ b/lib/rcu/rcu_qsbr_pvt.h\n@@ -52,7 +52,7 @@ struct rte_rcu_qsbr_dq {\n */\n typedef struct {\n \tuint64_t token; /**< Token */\n-\tuint8_t elem[0]; /**< Pointer to user element */\n+\tuint8_t elem[]; /**< Pointer to user element */\n } __attribute__((__may_alias__)) __rte_rcu_qsbr_dq_elem_t;\n \n #endif /* _RTE_RCU_QSBR_PVT_H_ */\ndiff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h\nindex e7ef788..af9cbea 100644\n--- a/lib/rcu/rte_rcu_qsbr.h\n+++ b/lib/rcu/rte_rcu_qsbr.h\n@@ -106,7 +106,7 @@ struct rte_rcu_qsbr {\n \tuint32_t max_threads;\n \t/**< Maximum number of threads using this QS variable */\n \n-\tstruct rte_rcu_qsbr_cnt qsbr_cnt[0] __rte_cache_aligned;\n+\tstruct rte_rcu_qsbr_cnt qsbr_cnt[] __rte_cache_aligned;\n \t/**< Quiescent state counter array of 'max_threads' elements */\n \n \t/**< Registered thread IDs are stored in a bitmap array,\n", "prefixes": [ "v4", "2/6" ] }{ "id": 137572, "url": "