Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130236/?format=api
http://patchwork.dpdk.org/api/patches/130236/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1691792567-10805-19-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-19-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1691792567-10805-19-git-send-email-roretzla@linux.microsoft.com", "date": "2023-08-11T22:22:33", "name": "[18/32] ethdev: remove use of RTE STD C11 macro", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5b1e8fd9095fd55bfa568ee92e50f77c5e3572a6", "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-19-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/130236/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/130236/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 66CB043038;\n\tSat, 12 Aug 2023 00:25:06 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4D29E432B7;\n\tSat, 12 Aug 2023 00:23:29 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 820ED43262\n for <dev@dpdk.org>; Sat, 12 Aug 2023 00:23:04 +0200 (CEST)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 4211320FD40D; Fri, 11 Aug 2023 15:23:02 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 4211320FD40D", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1691792583;\n bh=fTY6sQOeQ6Ua/IHrWZ+8y/SY87OWiqDoTQY3AZ40zM8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=onOlBJ4zIauDj/bV+fATaDomfDAECn0OK5m4XFVxEf6fBsj2dTfH/0r7KSC46dyiC\n 2algfOGtXS7OpyaVtr+d83vF6xrphFleFrcMGY15NJnZefQgn91fp21KA5i4+XsAIK\n znb2PgxDYON4KfEFrYWJ4tXTQkaU+MMy5O5JpHow=", "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 18/32] ethdev: remove use of RTE STD C11 macro", "Date": "Fri, 11 Aug 2023 15:22:33 -0700", "Message-Id": "<1691792567-10805-19-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/ethdev/rte_flow.h | 11 -----------\n lib/ethdev/rte_mtr.h | 1 -\n lib/ethdev/rte_tm.h | 3 ---\n 3 files changed, 15 deletions(-)", "diff": "diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h\nindex 86ed98c..2ebb76d 100644\n--- a/lib/ethdev/rte_flow.h\n+++ b/lib/ethdev/rte_flow.h\n@@ -726,7 +726,6 @@ struct rte_flow_item_quota {\n * RTE_FLOW_ITEM_TYPE_HIGIG2\n * Matches higig2 header\n */\n-RTE_STD_C11\n struct rte_flow_item_higig2_hdr {\n \tstruct rte_higig2_hdr hdr;\n };\n@@ -848,7 +847,6 @@ struct rte_flow_item_raw {\n * the EtherType/TPID field. Also, it's possible to leave the two fields unused.\n * If this is the case, both tagged and untagged packets will match the pattern.\n */\n-RTE_STD_C11\n struct rte_flow_item_eth {\n \tunion {\n \t\tstruct {\n@@ -890,7 +888,6 @@ struct rte_flow_item_eth {\n * If the @p eth_proto of @p hdr and @p has_more_vlan fields are not specified,\n * then any tagged packets will match the pattern.\n */\n-RTE_STD_C11\n struct rte_flow_item_vlan {\n \tunion {\n \t\tstruct {\n@@ -1075,7 +1072,6 @@ struct rte_flow_item_sctp {\n *\n * Matches a VXLAN header (RFC 7348).\n */\n-RTE_STD_C11\n struct rte_flow_item_vxlan {\n \tunion {\n \t\tstruct {\n@@ -1246,7 +1242,6 @@ struct rte_flow_item_fuzzy {\n *\n * Matches a GTPv1 header.\n */\n-RTE_STD_C11\n struct rte_flow_item_gtp {\n \tunion {\n \t\tstruct {\n@@ -1322,7 +1317,6 @@ struct rte_flow_item_geneve {\n *\n * Matches a VXLAN-GPE header.\n */\n-RTE_STD_C11\n struct rte_flow_item_vxlan_gpe {\n \tunion {\n \t\tstruct {\n@@ -1352,7 +1346,6 @@ struct rte_flow_item_vxlan_gpe {\n *\n * Matches an ARP header for Ethernet/IPv4.\n */\n-RTE_STD_C11\n struct rte_flow_item_arp_eth_ipv4 {\n \tunion {\n \t\tstruct {\n@@ -1874,7 +1867,6 @@ struct rte_flow_item_integrity {\n \t * @see rte_flow_action_rss\n \t */\n \tuint32_t level;\n-\tRTE_STD_C11\n \tunion {\n \t\t__extension__\n \t\tstruct {\n@@ -3893,7 +3885,6 @@ enum rte_flow_field_id {\n */\n struct rte_flow_action_modify_data {\n \tenum rte_flow_field_id field; /**< Field or memory type ID. */\n-\tRTE_STD_C11\n \tunion {\n \t\tstruct {\n \t\t\t/** Encapsulation level and tag index or flex item handle. */\n@@ -4200,7 +4191,6 @@ struct rte_flow_error {\n * @see RTE_FLOW_CONV_OP_RULE\n * @see rte_flow_conv()\n */\n-RTE_STD_C11\n struct rte_flow_conv_rule {\n \tunion {\n \t\tconst struct rte_flow_attr *attr_ro; /**< RO attributes. */\n@@ -5002,7 +4992,6 @@ struct rte_flow_tunnel {\n \tenum rte_flow_item_type\ttype;\n \tuint64_t tun_id; /**< Tunnel identification. */\n \n-\tRTE_STD_C11\n \tunion {\n \t\tstruct {\n \t\t\trte_be32_t src_addr; /**< IPv4 source address. */\ndiff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h\nindex 7e6a66b..30e6c6b 100644\n--- a/lib/ethdev/rte_mtr.h\n+++ b/lib/ethdev/rte_mtr.h\n@@ -129,7 +129,6 @@ struct rte_mtr_meter_profile {\n \t/** Traffic metering algorithm. */\n \tenum rte_mtr_algorithm alg;\n \n-\tRTE_STD_C11\n \tunion {\n \t\t/** Items only valid when *alg* is set to srTCM - RFC 2697. */\n \t\tstruct {\ndiff --git a/lib/ethdev/rte_tm.h b/lib/ethdev/rte_tm.h\nindex 4103c49..08c5faf 100644\n--- a/lib/ethdev/rte_tm.h\n+++ b/lib/ethdev/rte_tm.h\n@@ -500,7 +500,6 @@ struct rte_tm_level_capabilities {\n \t */\n \tint leaf_nodes_identical;\n \n-\tRTE_STD_C11\n \tunion {\n \t\t/** Items valid only for the non-leaf nodes on this level. */\n \t\tstruct {\n@@ -851,7 +850,6 @@ struct rte_tm_node_capabilities {\n \t */\n \tint shaper_shared_byte_mode_supported;\n \n-\tRTE_STD_C11\n \tunion {\n \t\t/** Items valid only for non-leaf nodes. */\n \t\tstruct {\n@@ -1108,7 +1106,6 @@ struct rte_tm_node_params {\n \t/** Number of shared shaper IDs in the *shared_shaper_id* array. */\n \tuint32_t n_shared_shapers;\n \n-\tRTE_STD_C11\n \tunion {\n \t\t/** Parameters only valid for non-leaf nodes. */\n \t\tstruct {\n", "prefixes": [ "18/32" ] }{ "id": 130236, "url": "