[23/32] net/sfc: remove use of RTE STD C11 macro
Checks
Commit Message
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/net/sfc/sfc_flow.h | 2 --
drivers/net/sfc/sfc_mae.h | 1 -
drivers/net/sfc/sfc_stats.h | 1 -
3 files changed, 4 deletions(-)
@@ -109,7 +109,6 @@ struct sfc_flow_spec {
/* Flow specification type (engine-based) */
enum sfc_flow_spec_type type;
- RTE_STD_C11
union {
/* Filter-based (VNIC level flows) specification */
struct sfc_flow_spec_filter filter;
@@ -149,7 +148,6 @@ enum sfc_flow_parse_ctx_type {
struct sfc_flow_parse_ctx {
enum sfc_flow_parse_ctx_type type;
- RTE_STD_C11
union {
/* Context pointer valid for filter-based (VNIC) flows */
efx_filter_spec_t *filter;
@@ -25,7 +25,6 @@
/** FW-allocatable resource context */
struct sfc_mae_fw_rsrc {
unsigned int refcnt;
- RTE_STD_C11
union {
efx_counter_t counter_id;
efx_mae_aset_id_t aset_id;
@@ -26,7 +26,6 @@
* required.
*/
union sfc_pkts_bytes {
- RTE_STD_C11
struct {
uint64_t pkts;
uint64_t bytes;