[PATCH 28/32] net/avp: remove use of RTE STD C11 macro
Tyler Retzlaff
roretzla at linux.microsoft.com
Sat Aug 12 00:22:43 CEST 2023
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 at linux.microsoft.com>
---
drivers/net/avp/rte_avp_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/avp/rte_avp_common.h b/drivers/net/avp/rte_avp_common.h
index 4e82ec0..908b31b 100644
--- a/drivers/net/avp/rte_avp_common.h
+++ b/drivers/net/avp/rte_avp_common.h
@@ -8,7 +8,6 @@
#ifdef __KERNEL__
#include <linux/if.h>
-#define RTE_STD_C11
#else
#include <stdint.h>
#include <rte_common.h>
@@ -76,7 +75,6 @@ struct rte_avp_device_config {
*/
struct rte_avp_request {
uint32_t req_id; /**< Request id */
- RTE_STD_C11
union {
uint32_t new_mtu; /**< New MTU */
uint8_t if_up; /**< 1: interface up, 0: interface down */
--
1.8.3.1
More information about the dev
mailing list