Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138057/?format=api
https://patches.dpdk.org/api/patches/138057/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1709756036-24068-3-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": "<1709756036-24068-3-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1709756036-24068-3-git-send-email-roretzla@linux.microsoft.com", "date": "2024-03-06T20:13:52", "name": "[v5,2/6] rcu: replace zero length array with flex array", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "22b695f5e0f1d4d58811d437a19b0e03b02baff7", "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/1709756036-24068-3-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31404, "url": "https://patches.dpdk.org/api/series/31404/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31404", "date": "2024-03-06T20:13:51", "name": "more replacement of zero length array", "version": 5, "mbox": "https://patches.dpdk.org/series/31404/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/138057/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/138057/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 31EEC43C5A;\n\tWed, 6 Mar 2024 21:14:16 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ECDA142E48;\n\tWed, 6 Mar 2024 21:14:02 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 9C5B042DD7\n for <dev@dpdk.org>; Wed, 6 Mar 2024 21:13:58 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id CC66020B74C2; Wed, 6 Mar 2024 12:13:57 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com CC66020B74C2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1709756037;\n bh=vnTiHCqdQ0qK8OamOlmqZxxTQZJurOaBILiSgo8M5TY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=DLjySuKAycHXDLrzxTWG7ZzNNgEizAc5kHxy93lbBcnBxNizkQ+srCXxuOG9eUkNv\n PjT3xwfzaFaHgT6zxUGJsBeXFpZBILksjTbsVn+R2q5uODBwZaUCQPhD65AUVawl5Q\n wVVH2ZZImEoRGw5G9Yds5DFsOqykFqaPPZct3yQQ=", "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 v5 2/6] rcu: replace zero length array with flex array", "Date": "Wed, 6 Mar 2024 12:13:52 -0800", "Message-Id": "<1709756036-24068-3-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1709756036-24068-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com>\n <1709756036-24068-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 0506191..ed3dd6d 100644\n--- a/lib/rcu/rte_rcu_qsbr.h\n+++ b/lib/rcu/rte_rcu_qsbr.h\n@@ -107,7 +107,7 @@ struct __rte_cache_aligned rte_rcu_qsbr {\n \tuint32_t max_threads;\n \t/**< Maximum number of threads using this QS variable */\n \n-\talignas(RTE_CACHE_LINE_SIZE) struct rte_rcu_qsbr_cnt qsbr_cnt[0];\n+\talignas(RTE_CACHE_LINE_SIZE) struct rte_rcu_qsbr_cnt qsbr_cnt[];\n \t/**< Quiescent state counter array of 'max_threads' elements */\n \n \t/**< Registered thread IDs are stored in a bitmap array,\n", "prefixes": [ "v5", "2/6" ] }{ "id": 138057, "url": "