The file rte_config.h is automatically generated and included.
No need to #include it.
The example performance-thread needs a makefile fix to avoid
overwriting the default cflags.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
#include <getopt.h>
#include <rte_eal.h>
-#include <rte_config.h>
#include <rte_common.h>
#include <rte_debug.h>
#include <rte_ethdev.h>
#include "test.h"
#include <rte_power.h>
-#include <rte_config.h>
#define TEST_POWER_VM_LCORE_ID 0U
#define TEST_POWER_VM_LCORE_OUT_OF_BOUNDS (RTE_MAX_LCORE+1)
*/
#include <rte_common.h>
-#include <rte_config.h>
#include <rte_hexdump.h>
#include <rte_cryptodev.h>
#include <rte_cryptodev_pmd.h>
#ifdef PEDANTIC
#pragma GCC diagnostic ignored "-pedantic"
#endif
-#include <rte_config.h>
#include <rte_ether.h>
#include <rte_ethdev.h>
#include <rte_dev.h>
#include <signal.h>
#include <rte_eal.h>
-#include <rte_config.h>
#include <rte_cycles.h>
#include <rte_eal_memconfig.h>
#include <rte_debug.h>
#include <sys/time.h>
#include <sys/mman.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <ctx.h>
#include <sys/mman.h>
#include <errno.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_common.h>
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_common.h>
#include <sys/time.h>
#include <sys/mman.h>
-#include <rte_config.h>
#include <rte_per_lcore.h>
#include <rte_log.h>
#include <rte_spinlock.h>
#include <sys/mman.h>
#include <sched.h>
-#include <rte_config.h>
#include <rte_prefetch.h>
#include <rte_per_lcore.h>
#include <rte_atomic.h>
#include <execinfo.h>
#include <sched.h>
-#include <rte_config.h>
#include <rte_malloc.h>
#include <rte_log.h>
#include <rte_ring.h>
INCLUDES := -I$(RTE_SDK)/$(RTE_TARGET)/include -I$(SRCDIR)
include $(RTE_SDK)/examples/performance-thread/common/common.mk
-CFLAGS= -g -O3 $(USER_FLAGS) $(INCLUDES)
+CFLAGS += -g -O3 $(USER_FLAGS) $(INCLUDES)
CFLAGS += $(WERROR_FLAGS)
LDFLAGS += -lpthread
#include <sched.h>
#include <pthread.h>
-#include <rte_config.h>
#include <rte_common.h>
#include <rte_lcore.h>
#include <rte_per_lcore.h>
#include <sched.h>
#include <dlfcn.h>
-#include <rte_config.h>
#include <rte_log.h>
#include "lthread_api.h"
#include <sys/socket.h>
#include <sys/select.h>
-#include <rte_config.h>
#include <rte_malloc.h>
#include <rte_memory.h>
#include <rte_mempool.h>
#include <sys/epoll.h>
#include <sys/queue.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_memory.h>
#include <rte_malloc.h>
#include <rte_lcore.h>
#include <rte_power.h>
#include <rte_debug.h>
-#include <rte_config.h>
#include "vm_power_cli_guest.h"
#include <cmdline_parse_num.h>
#include <cmdline_socket.h>
#include <cmdline.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_lcore.h>
#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_debug.h>
-#include <rte_config.h>
#include "channel_manager.h"
#include "channel_monitor.h"
#include <sys/types.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_power.h>
#include <rte_spinlock.h>
#include <cmdline_parse_num.h>
#include <cmdline_socket.h>
#include <cmdline.h>
-#include <rte_config.h>
#include "vm_power_cli.h"
#include "channel_manager.h"
#include <exec-env/rte_kni_common.h>
#include "kni_dev.h"
-#include <rte_config.h>
MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Intel Corporation");
#include <linux/kthread.h>
#include <linux/delay.h>
-#include <rte_config.h>
#include <exec-env/rte_kni_common.h>
#include <kni_fifo.h>
#include "kni_dev.h"
#include <xen/xen-ops.h>
#include <xen/interface/memory.h>
-#include <rte_config.h>
#include <exec-env/rte_dom0_common.h>
#include "compat.h"
#include <rte_log.h>
-#include <rte_config.h>
#include "guest_channel.h"
#include "channel_commands.h"
#include <string.h>
#include <rte_log.h>
-#include <rte_config.h>
#include "guest_channel.h"
#include "channel_commands.h"