Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130231/?format=api
http://patchwork.dpdk.org/api/patches/130231/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1691792567-10805-17-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": "<1691792567-10805-17-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1691792567-10805-17-git-send-email-roretzla@linux.microsoft.com", "date": "2023-08-11T22:22:31", "name": "[16/32] graph: remove use of RTE STD C11 macro", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bea4ddf5a8cfd87caacd32073016b53e0462bd49", "submitter": { "id": 2077, "url": "http://patchwork.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 24651, "url": "http://patchwork.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1691792567-10805-17-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 29201, "url": "http://patchwork.dpdk.org/api/series/29201/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29201", "date": "2023-08-11T22:22:17", "name": "Remove use and definition of RTE_STD_C11 macro", "version": 1, "mbox": "http://patchwork.dpdk.org/series/29201/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/130231/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130231/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 DFCD843038;\n\tSat, 12 Aug 2023 00:24:40 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ACECA432A2;\n\tSat, 12 Aug 2023 00:23:23 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 2C67240E0F\n for <dev@dpdk.org>; Sat, 12 Aug 2023 00:23:04 +0200 (CEST)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 230DD20FD407; Fri, 11 Aug 2023 15:23:02 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 230DD20FD407", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1691792583;\n bh=2j1KtRPVmBX2yZiPnM1MfBjEo0MkzAZwlTcDjebv/nc=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=TiUN7UGl4HMes/dOvH3DuiAt9BypR/vQzBD4hnzpykCoScp/AJNeo4Azj0KVNy3kI\n HWP7dV+7T/KRUJH4m/S8A1FONgbimtuA2LnRtt1B/O+HWRLuX7orpiaS6samFtF/rs\n dQUCf2FfcH8IDxcixpmENFTJ0NH202m0/kEh4flk=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Akhil Goyal <gakhil@marvell.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Chengwen Feng <fengchengwen@huawei.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,\n Fan Zhang <fanzhang.oss@gmail.com>, Ferruh Yigit <ferruh.yigit@amd.com>,\n Harman Kalra <hkalra@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Jerin Jacob <jerinj@marvell.com>, Junfeng Guo <junfeng.guo@intel.com>,\n Kevin Laatz <kevin.laatz@intel.com>,\n Kiran Kumar K <kirankumark@marvell.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Matan Azrad <matan@nvidia.com>, Matt Peters <matt.peters@windriver.com>,\n Naga Harish K S V <s.v.naga.harish.k@intel.com>,\n Nithin Dabilpuram <ndabilpuram@marvell.com>,\n Olivier Matz <olivier.matz@6wind.com>, Ori Kam <orika@nvidia.com>,\n Radu Nicolau <radu.nicolau@intel.com>,\n Sachin Saxena <sachin.saxena@nxp.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Satha Rao <skoteshwar@marvell.com>, Simei Su <simei.su@intel.com>,\n Srikanth Yalavarthi <syalavarthi@marvell.com>,\n Steven Webster <steven.webster@windriver.com>,\n Suanming Mou <suanmingm@nvidia.com>, Sunil Kumar Kori <skori@marvell.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>, Zhirun Yan <zhirun.yan@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH 16/32] graph: remove use of RTE STD C11 macro", "Date": "Fri, 11 Aug 2023 15:22:31 -0700", "Message-Id": "<1691792567-10805-17-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1691792567-10805-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": "C11 conformant compiler is documented as a minimum requirement to build\nand consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11\nfeatures with __extension__ since it is no longer necessary.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/graph/rte_graph.h | 3 ---\n lib/graph/rte_graph_worker_common.h | 4 ----\n 2 files changed, 7 deletions(-)", "diff": "diff --git a/lib/graph/rte_graph.h b/lib/graph/rte_graph.h\nindex 7e94c15..eca32a4 100644\n--- a/lib/graph/rte_graph.h\n+++ b/lib/graph/rte_graph.h\n@@ -168,7 +168,6 @@ struct rte_graph_param {\n \tuint64_t num_pkt_to_capture; /**< Number of packets to capture. */\n \tchar *pcap_filename; /**< Filename in which packets to be captured.*/\n \n-\tRTE_STD_C11\n \tunion {\n \t\tstruct {\n \t\t\tuint64_t rsvd; /**< Reserved for rtc model. */\n@@ -192,7 +191,6 @@ struct rte_graph_cluster_stats_param {\n \t/**< Stats print callback function. NULL value allowed, in that case,\n \t * default print stat function used.\n \t */\n-\tRTE_STD_C11\n \tunion {\n \t\tvoid *cookie;\n \t\tFILE *f; /**< File pointer to dump the stats when fn == NULL. */\n@@ -218,7 +216,6 @@ struct rte_graph_cluster_node_stats {\n \tuint64_t prev_objs;\t/**< Previous number of processed objs. */\n \tuint64_t prev_cycles;\t/**< Previous number of cycles. */\n \n-\tRTE_STD_C11\n \tunion {\n \t\tstruct {\n \t\t\tuint64_t sched_objs;\ndiff --git a/lib/graph/rte_graph_worker_common.h b/lib/graph/rte_graph_worker_common.h\nindex a382459..7d6973c 100644\n--- a/lib/graph/rte_graph_worker_common.h\n+++ b/lib/graph/rte_graph_worker_common.h\n@@ -59,7 +59,6 @@ struct rte_graph {\n \tuint8_t model;\t\t /**< graph model */\n \tuint8_t reserved1;\t /**< Reserved for future use. */\n \tuint16_t reserved2;\t /**< Reserved for future use. */\n-\tRTE_STD_C11\n \tunion {\n \t\t/* Fast schedule area for mcore dispatch model */\n \t\tstruct {\n@@ -105,7 +104,6 @@ struct rte_node {\n \t/** Original process function when pcap is enabled. */\n \trte_node_process_t original_process;\n \n-\tRTE_STD_C11\n \tunion {\n \t\t/* Fast schedule area for mcore dispatch model */\n \t\tstruct {\n@@ -123,12 +121,10 @@ struct rte_node {\n \tuint64_t total_cycles;\t/**< Cycles spent in this node. */\n \tuint64_t total_calls;\t/**< Calls done to this node. */\n \tuint64_t total_objs;\t/**< Objects processed by this node. */\n-\tRTE_STD_C11\n \t\tunion {\n \t\t\tvoid **objs;\t /**< Array of object pointers. */\n \t\t\tuint64_t objs_u64;\n \t\t};\n-\tRTE_STD_C11\n \t\tunion {\n \t\t\trte_node_process_t process; /**< Process function. */\n \t\t\tuint64_t process_u64;\n", "prefixes": [ "16/32" ] }{ "id": 130231, "url": "