DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tyler Retzlaff <roretzla@linux.microsoft.com>
To: dev@dpdk.org
Cc: Akhil Goyal <gakhil@marvell.com>,
	Anatoly Burakov <anatoly.burakov@intel.com>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
	Bruce Richardson <bruce.richardson@intel.com>,
	Chengwen Feng <fengchengwen@huawei.com>,
	Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
	David Hunt <david.hunt@intel.com>,
	Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,
	Fan Zhang <fanzhang.oss@gmail.com>,
	Ferruh Yigit <ferruh.yigit@amd.com>,
	Harman Kalra <hkalra@marvell.com>,
	Hemant Agrawal <hemant.agrawal@nxp.com>,
	Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,
	Jerin Jacob <jerinj@marvell.com>,
	Junfeng Guo <junfeng.guo@intel.com>,
	Kevin Laatz <kevin.laatz@intel.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,
	Matan Azrad <matan@nvidia.com>,
	Matt Peters <matt.peters@windriver.com>,
	Naga Harish K S V <s.v.naga.harish.k@intel.com>,
	Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Olivier Matz <olivier.matz@6wind.com>, Ori Kam <orika@nvidia.com>,
	Radu Nicolau <radu.nicolau@intel.com>,
	Sachin Saxena <sachin.saxena@nxp.com>,
	Sameh Gobriel <sameh.gobriel@intel.com>,
	Satha Rao <skoteshwar@marvell.com>, Simei Su <simei.su@intel.com>,
	Srikanth Yalavarthi <syalavarthi@marvell.com>,
	Steven Webster <steven.webster@windriver.com>,
	Suanming Mou <suanmingm@nvidia.com>,
	Sunil Kumar Kori <skori@marvell.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	Viacheslav Ovsiienko <viacheslavo@nvidia.com>,
	Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
	Yipeng Wang <yipeng1.wang@intel.com>,
	Zhirun Yan <zhirun.yan@intel.com>,
	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	[thread overview]
Message-ID: <1691792567-10805-19-git-send-email-roretzla@linux.microsoft.com> (raw)
In-Reply-To: <1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com>

C11 conformant compiler is documented as a minimum requirement to build
and consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11
features with __extension__ since it is no longer necessary.

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
 lib/ethdev/rte_flow.h | 11 -----------
 lib/ethdev/rte_mtr.h  |  1 -
 lib/ethdev/rte_tm.h   |  3 ---
 3 files changed, 15 deletions(-)

diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 86ed98c..2ebb76d 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -726,7 +726,6 @@ struct rte_flow_item_quota {
  * RTE_FLOW_ITEM_TYPE_HIGIG2
  * Matches higig2 header
  */
-RTE_STD_C11
 struct rte_flow_item_higig2_hdr {
 	struct rte_higig2_hdr hdr;
 };
@@ -848,7 +847,6 @@ struct rte_flow_item_raw {
  * the EtherType/TPID field. Also, it's possible to leave the two fields unused.
  * If this is the case, both tagged and untagged packets will match the pattern.
  */
-RTE_STD_C11
 struct rte_flow_item_eth {
 	union {
 		struct {
@@ -890,7 +888,6 @@ struct rte_flow_item_eth {
  * If the @p eth_proto of @p hdr and @p has_more_vlan fields are not specified,
  * then any tagged packets will match the pattern.
  */
-RTE_STD_C11
 struct rte_flow_item_vlan {
 	union {
 		struct {
@@ -1075,7 +1072,6 @@ struct rte_flow_item_sctp {
  *
  * Matches a VXLAN header (RFC 7348).
  */
-RTE_STD_C11
 struct rte_flow_item_vxlan {
 	union {
 		struct {
@@ -1246,7 +1242,6 @@ struct rte_flow_item_fuzzy {
  *
  * Matches a GTPv1 header.
  */
-RTE_STD_C11
 struct rte_flow_item_gtp {
 	union {
 		struct {
@@ -1322,7 +1317,6 @@ struct rte_flow_item_geneve {
  *
  * Matches a VXLAN-GPE header.
  */
-RTE_STD_C11
 struct rte_flow_item_vxlan_gpe {
 	union {
 		struct {
@@ -1352,7 +1346,6 @@ struct rte_flow_item_vxlan_gpe {
  *
  * Matches an ARP header for Ethernet/IPv4.
  */
-RTE_STD_C11
 struct rte_flow_item_arp_eth_ipv4 {
 	union {
 		struct {
@@ -1874,7 +1867,6 @@ struct rte_flow_item_integrity {
 	 * @see rte_flow_action_rss
 	 */
 	uint32_t level;
-	RTE_STD_C11
 	union {
 		__extension__
 		struct {
@@ -3893,7 +3885,6 @@ enum rte_flow_field_id {
  */
 struct rte_flow_action_modify_data {
 	enum rte_flow_field_id field; /**< Field or memory type ID. */
-	RTE_STD_C11
 	union {
 		struct {
 			/** Encapsulation level and tag index or flex item handle. */
@@ -4200,7 +4191,6 @@ struct rte_flow_error {
  * @see RTE_FLOW_CONV_OP_RULE
  * @see rte_flow_conv()
  */
-RTE_STD_C11
 struct rte_flow_conv_rule {
 	union {
 		const struct rte_flow_attr *attr_ro; /**< RO attributes. */
@@ -5002,7 +4992,6 @@ struct rte_flow_tunnel {
 	enum rte_flow_item_type	type;
 	uint64_t tun_id; /**< Tunnel identification. */
 
-	RTE_STD_C11
 	union {
 		struct {
 			rte_be32_t src_addr; /**< IPv4 source address. */
diff --git a/lib/ethdev/rte_mtr.h b/lib/ethdev/rte_mtr.h
index 7e6a66b..30e6c6b 100644
--- a/lib/ethdev/rte_mtr.h
+++ b/lib/ethdev/rte_mtr.h
@@ -129,7 +129,6 @@ struct rte_mtr_meter_profile {
 	/** Traffic metering algorithm. */
 	enum rte_mtr_algorithm alg;
 
-	RTE_STD_C11
 	union {
 		/** Items only valid when *alg* is set to srTCM - RFC 2697. */
 		struct {
diff --git a/lib/ethdev/rte_tm.h b/lib/ethdev/rte_tm.h
index 4103c49..08c5faf 100644
--- a/lib/ethdev/rte_tm.h
+++ b/lib/ethdev/rte_tm.h
@@ -500,7 +500,6 @@ struct rte_tm_level_capabilities {
 	 */
 	int leaf_nodes_identical;
 
-	RTE_STD_C11
 	union {
 		/** Items valid only for the non-leaf nodes on this level. */
 		struct {
@@ -851,7 +850,6 @@ struct rte_tm_node_capabilities {
 	 */
 	int shaper_shared_byte_mode_supported;
 
-	RTE_STD_C11
 	union {
 		/** Items valid only for non-leaf nodes. */
 		struct {
@@ -1108,7 +1106,6 @@ struct rte_tm_node_params {
 	/** Number of shared shaper IDs in the *shared_shaper_id* array. */
 	uint32_t n_shared_shapers;
 
-	RTE_STD_C11
 	union {
 		/** Parameters only valid for non-leaf nodes. */
 		struct {
-- 
1.8.3.1


  parent reply	other threads:[~2023-08-11 22:25 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11 22:22 [PATCH 00/32] Remove use and definition of RTE_STD_C11 macro Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 01/32] timer: remove use of RTE STD C11 macro Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 02/32] stack: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 03/32] security: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 04/32] sched: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 05/32] ring: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 06/32] regexdev: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 07/32] rawdev: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 08/32] power: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 09/32] pipeline: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 10/32] net: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 11/32] mldev: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 12/32] mempool: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 13/32] mbuf: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 14/32] ip_frag: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 15/32] hash: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 16/32] graph: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 17/32] eventdev: " Tyler Retzlaff
2023-08-11 22:22 ` Tyler Retzlaff [this message]
2023-08-11 22:22 ` [PATCH 19/32] dmadev: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 20/32] cryptodev: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 21/32] examples/ipsec-secgw: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 22/32] examples/ip_pipeline: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 23/32] net/sfc: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 24/32] net/octeontx: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 25/32] net/mlx5: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 26/32] net/mlx4: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 27/32] net/igc: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 28/32] net/avp: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 29/32] dma/idxd: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 30/32] common/mlx5: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 31/32] common/cnxk: " Tyler Retzlaff
2023-08-11 22:22 ` [PATCH 32/32] eal: remove use and definition " Tyler Retzlaff
2023-08-14  8:40 ` [PATCH 00/32] Remove use and definition of RTE_STD_C11 macro Bruce Richardson
2023-08-14  8:45 ` Morten Brørup
2023-08-14  8:47 ` Morten Brørup
2023-08-16 16:32 ` David Marchand
2023-08-30 17:34 ` Thomas Monjalon
2023-08-31 23:12   ` Tyler Retzlaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1691792567-10805-19-git-send-email-roretzla@linux.microsoft.com \
    --to=roretzla@linux.microsoft.com \
    --cc=anatoly.burakov@intel.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=bruce.richardson@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=david.hunt@intel.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=fanzhang.oss@gmail.com \
    --cc=fengchengwen@huawei.com \
    --cc=ferruh.yigit@amd.com \
    --cc=gakhil@marvell.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=hkalra@marvell.com \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=jerinj@marvell.com \
    --cc=junfeng.guo@intel.com \
    --cc=kevin.laatz@intel.com \
    --cc=kirankumark@marvell.com \
    --cc=konstantin.v.ananyev@yandex.ru \
    --cc=matan@nvidia.com \
    --cc=matt.peters@windriver.com \
    --cc=ndabilpuram@marvell.com \
    --cc=olivier.matz@6wind.com \
    --cc=orika@nvidia.com \
    --cc=radu.nicolau@intel.com \
    --cc=s.v.naga.harish.k@intel.com \
    --cc=sachin.saxena@nxp.com \
    --cc=sameh.gobriel@intel.com \
    --cc=simei.su@intel.com \
    --cc=skori@marvell.com \
    --cc=skoteshwar@marvell.com \
    --cc=steven.webster@windriver.com \
    --cc=suanmingm@nvidia.com \
    --cc=syalavarthi@marvell.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@nvidia.com \
    --cc=vladimir.medvedkin@intel.com \
    --cc=yipeng1.wang@intel.com \
    --cc=zhirun.yan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).