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>
---
drivers/common/cnxk/hw/nix.h | 7 -------
drivers/common/cnxk/roc_nix.h | 1 -
drivers/common/cnxk/roc_npc.h | 3 ---
drivers/common/cnxk/roc_platform.h | 1 -
4 files changed, 12 deletions(-)
@@ -1622,7 +1622,6 @@ struct nix_send_crc_s {
};
/* NIX send extended header sub descriptor structure */
-PLT_STD_C11
union nix_send_ext_w0_u {
uint64_t u;
struct {
@@ -1642,7 +1641,6 @@ struct nix_send_crc_s {
};
};
-PLT_STD_C11
union nix_send_ext_w1_u {
uint64_t u;
struct {
@@ -1672,7 +1670,6 @@ struct nix_send_ext_s {
};
/* NIX send header sub descriptor structure */
-PLT_STD_C11
union nix_send_hdr_w0_u {
uint64_t u;
struct {
@@ -1686,7 +1683,6 @@ struct nix_send_ext_s {
};
};
-PLT_STD_C11
union nix_send_hdr_w1_u {
uint64_t u;
struct {
@@ -1728,7 +1724,6 @@ struct nix_send_jump_s {
};
/* NIX send memory sub descriptor structure */
-PLT_STD_C11
union nix_send_mem_w0_u {
uint64_t u;
struct {
@@ -1756,7 +1751,6 @@ struct nix_send_mem_s {
};
/* NIX send scatter/gather sub descriptor structure */
-PLT_STD_C11
union nix_send_sg2_s {
uint64_t u;
struct {
@@ -1771,7 +1765,6 @@ struct nix_send_mem_s {
};
};
-PLT_STD_C11
union nix_send_sg_s {
uint64_t u;
struct {
@@ -294,7 +294,6 @@ struct roc_nix_stats {
};
struct roc_nix_stats_queue {
- PLT_STD_C11
union {
struct {
/* Rx */
@@ -67,7 +67,6 @@ struct roc_ether_addr {
struct roc_ether_hdr {
struct roc_ether_addr d_addr; /**< Destination address. */
- PLT_STD_C11
union {
struct roc_ether_addr s_addr; /**< Source address. */
struct {
@@ -77,7 +76,6 @@ struct roc_ether_hdr {
uint16_t ether_type; /**< Frame type. */
} __plt_aligned(2);
-PLT_STD_C11
struct roc_npc_flow_item_eth {
union {
struct {
@@ -101,7 +99,6 @@ struct roc_vlan_hdr {
uint16_t eth_proto; /**< Ethernet type of encapsulated frame. */
} __plt_packed;
-PLT_STD_C11
struct roc_npc_flow_item_vlan {
union {
struct {
@@ -43,7 +43,6 @@
#define PLT_ASSERT RTE_ASSERT
#define PLT_VERIFY RTE_VERIFY
#define PLT_MEMZONE_NAMESIZE RTE_MEMZONE_NAMESIZE
-#define PLT_STD_C11 RTE_STD_C11
#define PLT_PTR_ADD RTE_PTR_ADD
#define PLT_PTR_SUB RTE_PTR_SUB
#define PLT_PTR_DIFF RTE_PTR_DIFF